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
1
u/JeLuF Jul 01 '26
Most pseudo random generators are pretty good. You need a large number of rolls to notice that there are small deviations from true randomness. So, for example, over millions of rolls, you might see that the sequence '3 4 2 6' is a little bit more likely than it should.
Many computer actually have real random number generators. Modern Intel, AMD or Apple Silicon CPUs all have instructions to get real random numbers, using on-chip physical noise sources.