Live data from Hacker News

How to pick a random number from 1-10

torvaney.github.io

1–10 of 183 posts

Re: How to pick a random number from 1-10

#4
Or just use digits of pi; most people have at least 10 digits memorized, some have 20+ memorized. There's also a formula you can memorize for calculating the nth digit of pi, so you have infinite random numbers without memorizing an esoteric algorithm with a bazillion corner cases.

That said, I still thought this was an interesting article and I loved the animated bar graphs.

Re: How to pick a random number from 1-10

#6
post #4

Or just use digits of pi; most people have at least 10 digits memorized, some have 20+ memorized. There's also a formula you can memorize for calculating the nth digit of pi, so you have infinite random numbers without memorizing an esoteric algorithm with a bazillion corner cases. That said, I still thought this was an interesting article and I loved the animated bar graphs.

It's still an unsolved problem whether or not the digits of pi are uniformly distributed.

Re: How to pick a random number from 1-10

#7
post #4

Or just use digits of pi; most people have at least 10 digits memorized, some have 20+ memorized. There's also a formula you can memorize for calculating the nth digit of pi, so you have infinite random numbers without memorizing an esoteric algorithm with a bazillion corner cases. That said, I still thought this was an interesting article and I loved the animated bar graphs.

Most people have at least 10 digits memorized? That is one bold claim

Re: How to pick a random number from 1-10

#8
post #6
post #4

Or just use digits of pi; most people have at least 10 digits memorized, some have 20+ memorized. There's also a formula you can memorize for calculating the nth digit of pi, so you have infinite random numbers without memorizing an esoteric algorithm with a bazillion corner cases. That said, I still thought this was an interesting article and I loved the animated bar graphs.

It's still an unsolved problem whether or not the digits of pi are uniformly distributed.

Just try it out for yourself. Analyze the distribution of the first billion digits and I think you'll find they will produce a more uniform distribution than this algorithm in the article given 1 billion human responses...

Re: How to pick a random number from 1-10

#9
post #4

Or just use digits of pi; most people have at least 10 digits memorized, some have 20+ memorized. There's also a formula you can memorize for calculating the nth digit of pi, so you have infinite random numbers without memorizing an esoteric algorithm with a bazillion corner cases. That said, I still thought this was an interesting article and I loved the animated bar graphs.

Most people have at least 10 digits memorized? That is one bold claim

I meant here on Hacker News. I would guess most of us here played with our TI-83s enough to know the first 10

Re: How to pick a random number from 1-10

#10
post #4

Or just use digits of pi; most people have at least 10 digits memorized, some have 20+ memorized. There's also a formula you can memorize for calculating the nth digit of pi, so you have infinite random numbers without memorizing an esoteric algorithm with a bazillion corner cases. That said, I still thought this was an interesting article and I loved the animated bar graphs.

I'm not sure that most people have memorized the first 10 digits of Pi. I know 3 for certain, any more than that and I can look them up.
Post reply on HN