The Mersenne Twister is a pseudo random number generation algorithm that is the default PRNG in most programming languages.

A bit of terminology:

  • A Mersenne prime is a prime number of the form , where is itself a prime number.