Humans are not good at generating random numbers, but the author wanted a simple method to quickly generate “random enough” numbers. They found an old usenet post by George Marsaglia suggesting a method using a 2-digit number called the “seed” and multiplying the 10’s digit by 6 times the units digit to form a new number. The author explores the properties of this method and explains it using the programming language Raku. They also discuss other multipliers that can be used and their respective periods. The author concludes that a multiplier of 6 is a good choice due to its simplicity and the generated sequence’s relatively low period of 58 numbers.
https://www.hillelwayne.com/post/randomness/