Linear congruential generator
The Lehmer algorithm can be written as
where the user chooses , , , and a seed value to initiate the algorithm, .
References
- [ranLehmer51_photocopy]
The Lehmer algorithm can be written as
where the user chooses ,
,
, and a seed value to initiate
the algorithm,
.