Congruential methods

Calculator on this site is for learning

Mixed method

Mixed congruential generators generate a sequence of pseudo-random numbers in which the next pseudo-random number is determined from the last generated number, that is, the pseudo-random number Xn + 1 is derived from the pseudo-random number Xn.

The recurrence ratio for the generator congruential mixed is Xn + 1 = (a Xn + c) mod m, where:

Calculator