Live data from Hacker News

Numbers API - An API for interesting facts about numbers

numbersapi.com

11–20 of 32 posts

Re: Numbers API - An API for interesting facts about numbers

#11
post #10
post #2

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!

Minor bug with your ticker and negative numbers: http://cl.ly/3S1x1H3t1t1D22122A0z

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

#12

We will finally be able to answer humanity's most pressing question: what is the smallest uninteresting positive integer?

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

#13

We will finally be able to answer humanity's most pressing question: what is the smallest uninteresting positive integer?

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

#14

We will finally be able to answer humanity's most pressing question: what is the smallest uninteresting positive integer?

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

#19
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

#20

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."

perhaps it is a pun on Hardy, who thought it was an uninteresting number?
Post reply on HN