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?
[ Parent
| on HN ]
Re:Numbers API - An API for interesting facts about numbers
by ewoutkleinsmann on Monday March 05, 2012 @06:18PM
(#3668901)
Some will argue that such a number doesn't exist (http://en.wikipedia.org/wiki/Interesting_number_paradox). Others say it is 11630 (http://www.nathanieljohnston.com/2009/06/11630-is-the-first-...)
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?