On Wed, 2006-06-21 at 13:02 +0100, JMcCarthy at mortgagelink.ie wrote:
> The best way to generate a random number without using a computer
>> Anyone else got any other ideas?
Here's yet another.
The value of PI (sorry, symbol mapped out) in __nearly__ 22/7, but has
been calculated out to over 200 decimal places. The numbers are pseudo
Lay out 200 digits. If you have parameters for your size of random
number, apply them (e.g. 7 digits). Take the first 2 digits (14), skip
14 digits, and begin your number there. Take the next 2 as the skip,
followed by the random. When you get to 200, wrap around so digit 201 --
The early numbers (like the first) won't be random, but as long as you
don't restart in the same place, they'll be as random as you need. You'd
need a computer to determine whether they were random or pseudo random
and you don't have the use of that, do you ;-).
With Best Regards,
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!