LehmerLCGs
Lehmer Linear Congruential Generators, often abbreviated as Lehmer LCGs, are a specific type of pseudorandom number generator. They are characterized by a particular choice of parameters in the standard linear congruential generator formula: X_{n+1} = (a X_n + c) mod m. The key feature of Lehmer LCGs is that the modulus m is a prime number, and the multiplier a is a primitive root modulo m.
This specific parameterization leads to generators with the maximum possible period length, which is m-1. The
The name "Lehmer" comes from Derrick Henry Lehmer, who was instrumental in their development and analysis. While