Linear congruential generator

From SklogWiki
Revision as of 11:31, 27 February 2007 by Nice and Tidy (talk | contribs)
Jump to navigation Jump to search

The Lehmer algorithm can be written as

yn+1≡ayn+b(modm),

where the user chooses a, b, m, and a seed value to initiate the algorithm, y0.

See the prime modulus multiplicative linear congruential generator page.

References

  1. D. H. Lehmer, "Mathematical methods in large-scale computing units", Proceedings of the 2nd Symposium on Large-Scale Digital Calculating Machinery, vol XXVI pp. 141-146 The Annals of the Computational Laboratory of Harvard University, Harvard University Press (1951)