TOPICS
Search

Linear Congruence Method


A method for generating random (pseudorandom) numbers using the linear recurrence relation

 X_(n+1)=aX_n+c (mod m),

where a and c must assume certain fixed values, m is some chosen modulus, and X_0 is an initial number known as the seed.


See also

Pseudorandom Number, Random Number, Seed

Explore with Wolfram|Alpha

References

Brunner, D. and Uhl, A. "Optimal Multipliers for Linear Congruential Pseudo Random Number Generators with Prime Moduli: Parallel Computation and Properties." BIT. Numer. Math. 39, 193-209, 1999.Pickover, C. A. "Computers, Randomness, Mind, and Infinity." Ch. 31 in Keys to Infinity. New York: W. H. Freeman, pp. 233-247, 1995.

Referenced on Wolfram|Alpha

Linear Congruence Method

Cite this as:

Weisstein, Eric W. "Linear Congruence Method." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/LinearCongruenceMethod.html

Subject classifications