Skip to content

Harmonic analysis of random number generators

Oliver Schnetz

physics.comp-pharXiv:physics/9610004

Abstract

The spectral test of random number generators (R.R. Coveyou and R.D. McPherson, 1967) is generalized. The sequence of random numbers is analyzed explicitly, not just via their n-tupel distributions. We find that the mixed multiplicative generator with power of two modulus does not pass the extended test with an ideal result. Best qualities has a new generator with the recursion formula X(k+1)=a*X(k)+c*int(k/2) mod 2d. We discuss the choice of the parameters a, c for very large moduli 2d and present an implementation of the suggested generator with d=256, a=2128+264+232+62181, c=(2160+1)*11463.

Create a lesson