News for hackers. Stuff that matters.
Re:Numbers API - An API for interesting facts about numbers by adharmad on Monday March 05, 2012 @04:37PM (#3668463)
http://numbersapi.com/1729/math "1729 is a plain old number."

Can't recognize Hardy-Ramanujan number?

Also the smallest perfect number: http://numbersapi.com/6/math "6 is the smallest number of distinct isosceles right triangles that will tile an isosceles right triangle."

Re:Numbers API - An API for interesting facts about numbers by divad12 on Monday March 05, 2012 @04:57PM (#3668538)
Ha, good catch. http://numbersapi.com/1729 (the trivia version) gives the Ramanujan fact, while we have multiple math facts for 6 (refresh a few times to get "smallest perfect number").

We're still working to build our database of facts. Feel free to send suggestions to numbersapi at google mail, and we may add a feature for user-submitted facts.

Re:Numbers API - An API for interesting facts about numbers by spicyj on Monday March 05, 2012 @04:55PM (#3668526)
See http://numbersapi.com/1729:

> 1729 is the smallest number representable in two different ways as a sum of two positive cubes, as Ramanujan stated on the spot.

Re:Numbers API - An API for interesting facts about numbers by Scriptor on Monday March 05, 2012 @10:29PM (#3669517)
It looks like they've fixed the one for 1729.
Re:Numbers API - An API for interesting facts about numbers by theFco on Monday March 05, 2012 @04:51PM (#3668504)
perhaps it is a pun on Hardy, who thought it was an uninteresting number?
Re:Numbers API - An API for interesting facts about numbers by divad12 on Monday March 05, 2012 @01:03PM (#3667494)
Hi, I'm the co-creator of this service. Blog post with more info: http://david-hu.com/2012/03/05/announcing-numbers-api.html

We welcome any feedback and are willing to answer any questions. Thanks!

Re:Numbers API - An API for interesting facts about numbers by yahelc on Monday March 05, 2012 @02:29PM (#3667928)
Minor bug with your ticker and negative numbers: http://cl.ly/3S1x1H3t1t1D22122A0z
Re:Numbers API - An API for interesting facts about numbers by divad12 on Monday March 05, 2012 @02:39PM (#3667996)
Thanks for pointing that out. The ticker came from some work I did while interning at Khan Academy, and was not originally meant for negative numbers. If I get some time, I may make it into a jQuery plugin and make it work for more cases and be configurable.
Re:Numbers API - An API for interesting facts about numbers by saraid216 on Monday March 05, 2012 @02:11PM (#3667847)
Is there a way to suggest entries?
Re:Numbers API - An API for interesting facts about numbers by divad12 on Monday March 05, 2012 @02:17PM (#3667871)
Not right now, but we're looking to possibly add this feature. For now, feel free to send any suggestions to numbersapi at google mail.
Re:Numbers API - An API for interesting facts about numbers by divad12 on Monday March 19, 2012 @02:30AM (#3722648)
There is now: click the "+ Add a trivia fact..." on http://numbersapi.com/
Re:Numbers API - An API for interesting facts about numbers by michaelochurch on Monday March 05, 2012 @01:53PM (#3667762)
We will finally be able to answer humanity's most pressing question: what is the smallest uninteresting positive integer?
Re:Numbers API - An API for interesting facts about numbers by ewoutkleinsmann on Monday March 05, 2012 @06:18PM (#3668901)
Re:Numbers API - An API for interesting facts about numbers by vyrotek on Monday March 05, 2012 @02:50PM (#3668046)
what is the smallest uninteresting positive integer?

Doesn't discovering that unique number instantly make it interesting? :)

Re:Numbers API - An API for interesting facts about numbers by rflrob on Monday March 05, 2012 @02:45PM (#3668020)
It's an API, so I have this code running now:

    for i in xrange(10000):
        print i
        trivia = requests.get('http://numbersapi.com/%d' % i).text
        math = requests.get('http://numbersapi.com/%d/math' % i).text
        if 'boring' in math and ('plain' in trivia or 'boring' in trivia):
            print math, trivia    
            break
        time.sleep(2)
Re:Numbers API - An API for interesting facts about numbers by drostie on Monday March 05, 2012 @02:49PM (#3668042)
http://numbersapi.com/1321/trivia has given me both "1321 is a most unremarkable number" and "1321 is an uninteresting number", to give an upper bound. ;-)
Re:Numbers API - An API for interesting facts about numbers by yahelc on Monday March 05, 2012 @02:26PM (#3667917)
223.

EDIT: 219 is definitely smaller than 223.

Re:Numbers API - An API for interesting facts about numbers by burgerbrain on Monday March 05, 2012 @02:28PM (#3667923)
219

Edit: on the other hand, in the math category "219 is the smallest number that can be represented as a sum of four positive cubes in two different ways."

Re:Numbers API - An API for interesting facts about numbers by michaelochurch on Monday March 05, 2012 @09:31PM (#3669407)
223 is a US date-prime. 2 and 23 is prime, and so is 223.

That may be a stretch, but it qualifies as something interesting.

Re:Numbers API - An API for interesting facts about numbers by alexchamberlain on Monday March 05, 2012 @02:15PM (#3667865)
I hope you know the answer to this?
Re:Numbers API - An API for interesting facts about numbers by searke on Monday March 05, 2012 @05:47PM (#3668761)
You can get a lot of number facts using Wolfram|Alpha and its API

http://www.wolframalpha.com/input/?i=1729

Re:Numbers API - An API for interesting facts about numbers by divad12 on Monday March 05, 2012 @09:35PM (#3669414)
Wolfram Alpha is great for mathematical properties of numbers, while we have trivia facts and are looking to gather more (eg. from world records, numbers in nature, statistics, almanacs, news).
Re:Numbers API - An API for interesting facts about numbers by adrianp on Wednesday March 07, 2012 @04:26PM (#3677325)
Re:Numbers API - An API for interesting facts about numbers by petercooper on Monday March 05, 2012 @03:04PM (#3668113)
Similar - The On-Line Encyclopedia of Integer Sequences: https://oeis.org/
Re:Numbers API - An API for interesting facts about numbers by freditup on Monday March 05, 2012 @10:51PM (#3669572)
Don't forget a crossdomain.xml file!
Re:Numbers API - An API for interesting facts about numbers by gmaster1440 on Monday March 05, 2012 @03:06PM (#3668125)
Re:Numbers API - An API for interesting facts about numbers by divad12 on Monday March 05, 2012 @03:22PM (#3668183)
Oops, terrible oversight. Fixed now - http://numbersapi.com/#1337 :)

Feel free to send entry suggestions to numbersapi at google mail. We may add a feature for this soon.

Re:Numbers API - An API for interesting facts about numbers by jastanton on Monday March 05, 2012 @03:48PM (#3668277)
420, 666, and 777
Re:Numbers API - An API for interesting facts about numbers by gburt on Monday March 05, 2012 @08:40PM (#3669279)
Why?