New answers tagged

7 votes

Why do Mersenne Twister use Mersenne prime but not regular prime numbers

A Mersenne Twister is a Linear-Feedback Shift Register with other characteristics, including period a Mersenne prime¹. In essence, the question asks why that is desirable. A LFSR with $n$-bit state ...
fgrieu's user avatar
  • 137k

Top 50 recent answers are included