74 points · by divad12 · 14y ago · 29 comments
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."
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.
> 1729 is the smallest number representable in two different ways as a sum of two positive cubes, as Ramanujan stated on the spot.
We welcome any feedback and are willing to answer any questions. Thanks!
Doesn't discovering that unique number instantly make it interesting? :)
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)EDIT: 219 is definitely smaller than 223.
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."
That may be a stretch, but it qualifies as something interesting.
Feel free to send entry suggestions to numbersapi at google mail. We may add a feature for this soon.