|
Convert a Keno Game Number into Something Usable
The Keno Game Number can be used to seed a pseudo-random number generator, or used as a basis to calculate a random number of any size of your liking (assuming that size is smaller than roughly 123 bits).
Many stock random number generators will only kick out around a 50 bit random number.
This site doesn't create enough unique numbers per minute to be used for a Monte Carlo simulation or any serious application, but it could be used to seed another RNG, or even as a basis for two cryptographers to get a public key to seed an encryption algorithm (as in use the first number generated after 8:00pm on Tuesday for our next message).
As an example to take a Keno game number from this site and convert it to picking a random number from 100 to 1,000, you would do the following:
1) Start with the game number, a recent game that ended was game #5,877,811,525,022,984,391,011,317,876,406,846,421
2) Divide that number by 8,601,077,741,927,290,708,534,393,031,884,800,000
3) Multiply the result by 901 (which is 1000-100+1)
4) Add 100 (which is the lowest possible number
5) Take the integer of the result from step 4 (chop off everything to the right of the decimal)
Note that if the language of your choosing doesn't handle numbers as large as the denominator in step 2, you won't get an accurate result.
|