Skip to main content

Issues on Computer Search for Large Order Multiple Recursive Generators

  • Conference paper
Monte Carlo and Quasi-Monte Carlo Methods 2006

Summary

Multiple Recursive Generators (MRGs) have become the most popular random number generators recently. They compute the next value iteratively from the previous k values using a k-th order recurrence equation which, in turn, corresponds to a k-th degree primitive polynomial under a prime modulus p. In general, when k and p are large, checking if a k-th degree polynomial is primitive under a prime modulus p is known to be a hard problem. A common approach is to check the conditions given in Alanen and Knuth [1964] and Knuth [1998]. However, as mentioned in Deng [2004], this approach has two obvious problems: (a) it requires the complete factorization of p k - 1, which can be difficult; (b) it does not provide any early exit strategy for non-primitive polynomials. To avoid (a), one can consider a prime order k and prime modulus p such that (p k - 1)/(p - 1) is also a prime number as considered in L’Ecuyer [1999] and Deng [2004]. To avoid (b), one can use a more efficient iterative irreducibility test proposed in Deng [2004].

In this paper, we survey several leading probabilistic and deterministic methods for the problems of primality testing and irreducibility testing. To test primality of a large number, it is known that probabilistic methods are much faster than deterministic methods. On the other hand, a probabilistic algorithm in fact has a very tiny probability of, say, 10-200 to commit a false positive error in the test result. Moreover, even when such an unlikely event had happened, for a speci.c choice of k and p, it can be argued that such an error has a negligible e.ect on the successful search of a primitive polynomial. We perform a computer search for large-order DX generators proposed in Deng and Xu [2003] and present many such generators in the paper for ready implementation. An extensive empirical study shows that these large-order DX generators have passed the stringent Crush battery of the TestU01 package.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. J. D. Alanen and D. E. Knuth. Tables of finite fields. Sankhyā, 26:305–328, 1964.

    MATH  MathSciNet  Google Scholar 

  2. M. Agrawal, N. Kayal, and N. Saxena. PRIMES is in P. Annals of Mathematics, 160(2):781–793, 2004.

    Article  MATH  MathSciNet  Google Scholar 

  3. R. Crandall and C. Pomerance. Prime Numbers - A Computational Perspective. Springer-Verlag, New York, N.Y., 2000.

    Google Scholar 

  4. L. Y. Deng. Generalized mersenne prime number and its application to random number generation. In H. Niederreiter, editor, Monte Carlo and Quasi-Monte Carlo Methods 2002, pages 167–180. Springer-Verlag, 2004.

    Google Scholar 

  5. L. Y. Deng. Efficient and portable multiple recursive generators of large order. ACM Transactions on Modeling and Computer Simulation, 15(1): 1–13, 2005.

    Article  Google Scholar 

  6. L. Y. Deng and D. K. J. Lin. Random number generation for the new century. American Statistician, pages 145–150, 2000.

    Google Scholar 

  7. I. Damgrard, P. Landrock, and C. Pomerance. Average case error estimates for the strong probable prime test. Mathematics of Computation, 61:177–194, 1993.

    Article  MathSciNet  Google Scholar 

  8. L. Y. Deng and H. Xu. A system of high-dimensional, efficient, long-cycle and portable uniform random number generators. ACM Transactions on Modeling and Computer Simulation, 13(4):299–309, 2003.

    Article  Google Scholar 

  9. J. Gathen and V. Shoup. Computing frobenius maps and factoring polynomials. Computational Complexity, 2:187–224, 1992.

    Article  MATH  MathSciNet  Google Scholar 

  10. D. E. Knuth. The Art of Computer Programming, volume 2: Seminumerical Algorithms. Addison-Wesley, Reading, MA., third edition, 1998.

    Google Scholar 

  11. P. L'Ecuyer and F. Blouin. Linear congruential generators of order k > 1. In 1988 Winter Simulation Conference Proceedings, pages 432–439, 1988.

    Google Scholar 

  12. P. L'Ecuyer, F. Blouin, and R. Couture. A search for good multiple recursive linear random number generators. ACM Transactions on Modeling and Computer Simulation, 3:87–98, 1993.

    Article  MATH  Google Scholar 

  13. P. L'Ecuyer. Good parameter sets for combined multiple recursive random number generators. Operations Research, 47:159–164, 1999.

    Article  MATH  Google Scholar 

  14. D. H. Lehmer. Mathematical methods in large-scale computing units. In Proceedings of the Second Symposium on Large Scale Digital Computing Machinery, pages 141–146, Cambridge, MA., 1951. Harvard University Press.

    Google Scholar 

  15. R. Lidl and H. Niederreiter. Introduction to Finite Fields and Their Applications. Cambridge University Press, Cambridge, MA., revised edition, 1994.

    MATH  Google Scholar 

  16. P. L'Ecuyer and R. Simard. Testu01: A C library for empirical testing of random number generators. ACM Transactions on Mathematical Software, 2006. (to appear).

    Google Scholar 

  17. G. Marsaglia. The Marsaglia random number CDROM including the DIEHARD battery of tests of randomness. http://stat.fsu.edu/pub/diehard, 1996.

  18. V. Shoup. Fast construction of irreducible polynomials over finite fields. Journal of Symbolic Computation, 17:371–391, 1994.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Deng, LY. (2008). Issues on Computer Search for Large Order Multiple Recursive Generators. In: Keller, A., Heinrich, S., Niederreiter, H. (eds) Monte Carlo and Quasi-Monte Carlo Methods 2006. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-74496-2_14

Download citation

Publish with us

Policies and ethics