Abstract
The demand for random numbers in scientific applications is increasing. However, the most widely used multiplicative, congruential random-number generators with modulus 231 - 1 have a cycle length of about 2.1 × 109. Moreover, developing portable and efficient generators with a larger modulus such as 261 - 1 is more difficult than those with modulus 231 - 1. This article presents the development of multiplicative, congruential generators with modulus m = 2p - 1 and four forms of multipliers: 2k1 - 2k2, 2k1 + 2k2, m - 2k1 + 2k2, and m - 2k1 - 2k2, k1 > k2. The multipliers for modulus 231 - 1 and 261 - 1 are measured by spectral tests, and the best ones are presented. The generators with these multipliers are portable and vary fast. They have also passed several empirical tests, including the frequency test, the run test, and the maximum-of-t test.
- ANDERSON, S.L. 1990. Random number generations generators on Vector supercomputers and other advanced architectures. SIAM Rev. 32, 2 (June), 221-251. Google Scholar
- FISHMAN, G. A. AND MOORE, L.R. 1986. An exhaustive analysis of multiplicative congruential random number generators with modulus 231-1. SIAM J. Sci. Stat. Comput. 7, 1, 24-45. Google Scholar
- KIRKPATRICK, S. AND STOLE, E. 1981. A very fast shift-register sequence random number generator. J. Comput. Phys. 40, 517-526.Google Scholar
- KNUTH, D.E. 1981. The Art of Computer Programming. Vol. 2, Seminumerical Algorithms. Addison-Wesley, Reading, Mass. Google Scholar
- PARK, S. K. AND MILLER, K.W. 1988. Random number generators: Good ones are hard to find. Commun. ACM 31, 10 (Oct.), 1192-1201. Google Scholar
- PAYNE, W. g., RABUNG, J. R., AND BOGYO, T.P. 1969. Coding the Lehmer pseudo-random number generator. Commun. ACM 12, 2, 85-86. Google Scholar
- SCHRAGE, L. 1979. A more portable Fortran random number generator. ACM Trans. Math. Softw. 5, 2, 132-138. Google Scholar
- SELKE, W. 1993. Cluster-flipping Monte Carlo algorithm and correlations in "good" random number generators. JETP Lett. 58, 8, 665-668.Google Scholar
Index Terms
- Multiplicative, congruential random-number generators with multiplier ± 2k1 ± 2k2 and modulus 2p - 1
Recommendations
Combination of multiplicative congruential random-number generators with safe prime modulus
WSC '95: Proceedings of the 27th conference on Winter simulationTwo or more multiplicative congruential random-number generators with prime modulus combined by means of a method proposed by Wichmann and Hill (1982) yield a random-number generator equivalent to a multiplicative congruential random-number generator ...
An Exhaustive Analysis of Multiplicative Congruential Random Number Generators with Modulus $2^{31} - 1$
This paper presents the results of an exhaustive search to find optimal full period multipliers for the multiplicative congruential random number generator with prime modulus $2^{31} - 1$. Here a multiplier is said to be optimal if the distance between ...
Bad subsequences of well-known linear congruential pseudorandom number generators
Special issue on uniform random number generationWe present a spectral test analysis of full-period subsequences with small step sizes generated by well-known linear congruential pseudorandom number generators. Subsequences may occur in certain simulation problems or as a method to get parallel ...
Comments