Doug Sundseth
First Post
Pinotage said:Good on average, yes. But take a look at the last few lines and see how often 7, 7 comes up. It comes up far too frequently to make a truly random generator. Good RNGs just don't do that. Instances of 3 numbers in a row seem very common as well, when really, they shouldn't be. The last ten lines has 8,8,8, 10,10,10 and even a very improbably 4,4,4,4. A quick scan through the numbers revealed four in a row of the same number on at least 3 occasions, which is too likely.
Pinotage
You can almost always tell the difference between numbers generated randomly and numbers chosen to appear random by the fact that truly random numbers will have more and longer runs of the same number. Good random-number generators definitely "do that".
Note that this is true regardless of the technique used to generate random or pseudo-random numbers. FWIW, the best available electronic random-number generators use atmospheric static for either the numbers or for the seeds to get those numbers.
A further point: RNGs use algorithms that are chaotic; that is, the output depends strongly, and unpredictably, on the precise details of the input. Non-random changes to the input have effectively random changes on the output. For example, incrementing the LSB of the time will not have a predictable effect on the generator's output. (Also, the time-based seed has a granularity much finer than "seconds".)
Finally, dice have no memory. While the probability of rolling (for example) at least one "1" in 50 rolls of a d6 is much greater than rolling at least one "1" in a single roll of a d6, if you have already observed 49 consecutive rolls without a "1", the probability that the 50th roll will be a "1" (using an honest die) is still 1 in 6.