A mental random number generator
19 hours ago
- #random-number-generation
- #George-Marsaglia
- #DIEHARD
- George Marsaglia was a prominent figure in random number generation.
- He developed the DIEHARD battery of tests for RNG quality.
- Marsaglia created a mental RNG method that is simple but effective.
- The method is better than humans trying to make up random numbers.
- A Python implementation of his RNG was provided, with a note on a potential correction.
- The method outputs a single digit, despite the state being a two-digit number.