r/AskComputerScience • u/Forsaken-Job-7126 • Jul 01 '26
Since computer can only generate pseudo random numbers
can't you do really cool trick with the fact that if you were to roll a dice 5 times and all the previous rolls were the number 3 normally with true random ness the 6th roll only gets a 1/6 chance of rolling any number. Is that still true with pseudo randomness ? and if so can you prove it
0
Upvotes
View all comments
Show parent comment
1
u/SignificantFidgets Jul 01 '26
Yes, that's true for small numbers like 5 and 6. However, even for a good PRNG, the 200th roll will not be independent of the preceding 199. It's just a matter of how much you can observe and the computational power you have available to analyze it...
More technically, for a random seed, I would imagine that any decent PRNG is 6-wise independent. It is not going to be 200-wise independent, however.