Linear congruential generator

From SklogWiki
Revision as of 18:28, 20 February 2007 by Carl McBride (talk | contribs)
Jump to navigation Jump to search

The Lehmer algorithm can be written as

where the user chooses , , Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle m} , and a seed value to initiate the algorithm, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y_0} .

See the prime modulus multiplicative linear congruential generator page.

References

  1. [ranLehmer51_photocopy]