Algorithms, Mathematics, Python, Computer Science, Programming.
values are generated using a linear congruential generator. This pseudo-random number generator produces a sequence of integers that appear to be random but are deterministic based on a set of parameters. In the algorithm, the linear congruential generator is defined by the parameters a, b, and p,