Title
Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator
Abstract
A new algorithm called Mersenne Twister (MT) is proposed for generating uniform pseudorandom numbers. For a particular choice of parameters, the algorithm provides a super astronomical period of 219937 −1 and 623-dimensional equidistribution up to 32-bit accuracy, while using a working area of only 624 words. This is a new variant of the previously proposed generators, TGFSR, modified so as to admit a Mersenne-prime period. The characteristic polynomial has many terms. The distribution up to v bits accuracy for 1 ≤ v ≤ 32 is also shown to be good. An algorithm is also given that checks the primitivity of the characteristic polynomial of MT with computational complexity O(p2) where p is the degree of the polynomial.We implemented this generator in portable C-code. It passed several stringent statistical tests, including diehard. Its speed is comparable to other modern generators. Its merits are due to the efficient algorithms that are unique to polynomial calculations over the two-element field.
Year
DOI
Venue
1998
10.1145/272991.272995
ACM Trans. Model. Comput. Simul.
Keywords
Field
DocType
mt19937,gfsr,incomplete array,tempering,mersenne-prime period,efficient algorithm,mersenne twister,finite fields,mersenne primes,random number generation,characteristic polynomial,<italic>m</italic>-sequences,<italic>k</italic>-distribution,bits accuracy,new algorithm,32-bit accuracy,number generator,623-dimensional equidistribution,multiple-recursive matrix method,623-dimensionally equidistributed uniform pseudo-random,super astronomical period,new variant,tgfsr,primitive polynomials,inversive-decimation method,computational complexity,primitive polynomial,pseudo random number generator,algorithm,finite field,k distribution,statistical test,theory
Characteristic polynomial,Discrete mathematics,Combinatorics,Finite field,Polynomial,Mersenne prime,Xorshift,Equidistributed sequence,Random number generation,Mathematics,Pseudorandom number generator
Journal
Volume
Issue
Citations 
8
1
1198
PageRank 
References 
Authors
121.17
14
2
Search Limit
1001000
Name
Order
Citations
PageRank
Makoto Matsumoto11231126.72
Takuji Nishimura21240126.89