Today I was doing more fooling around with random numbers in the calculator that were small. Using all prime numbers for the seed, multiplier, and modulus, I got a pretty decent looking set — but it repeated itself in what seemed like no time. Small modulus!
This article in Wikipedia explains things well. Recommended! And you can find lists of prime numbers online, too. For a sample of size N, I should think that we'd want a modulus a good bit larger than N, about twice as many digits.
Tuesday, May 5, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment