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."
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.
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)
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. ;-)
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).
[+] [-] adharmad|14 years ago|reply
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."
[+] [-] divad12|14 years ago|reply
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.
[+] [-] spicyj|14 years ago|reply
> 1729 is the smallest number representable in two different ways as a sum of two positive cubes, as Ramanujan stated on the spot.
[+] [-] Scriptor|14 years ago|reply
[+] [-] theFco|14 years ago|reply
[+] [-] divad12|14 years ago|reply
We welcome any feedback and are willing to answer any questions. Thanks!
[+] [-] yahelc|14 years ago|reply
[+] [-] saraid216|14 years ago|reply
[+] [-] michaelochurch|14 years ago|reply
[+] [-] ewoutkleinsmann|14 years ago|reply
[+] [-] vyrotek|14 years ago|reply
Doesn't discovering that unique number instantly make it interesting? :)
[+] [-] rflrob|14 years ago|reply
[+] [-] drostie|14 years ago|reply
[+] [-] yahelc|14 years ago|reply
EDIT: 219 is definitely smaller than 223.
[+] [-] alexchamberlain|14 years ago|reply
[+] [-] searke|14 years ago|reply
http://www.wolframalpha.com/input/?i=1729
[+] [-] divad12|14 years ago|reply
[+] [-] unknown|14 years ago|reply
[deleted]
[+] [-] adrianp|14 years ago|reply
[+] [-] petercooper|14 years ago|reply
[+] [-] freditup|14 years ago|reply
[+] [-] gmaster1440|14 years ago|reply
[+] [-] divad12|14 years ago|reply
Feel free to send entry suggestions to numbersapi at google mail. We may add a feature for this soon.
[+] [-] jastanton|14 years ago|reply
[+] [-] gburt|14 years ago|reply
[+] [-] unknown|14 years ago|reply
[deleted]