Advertisement

Mathematical Geology

, Volume 23, Issue 4, pp 541–548 | Cite as

Generating random numbers in the field

  • Carter Bays
  • W. E. Sharp
Articles

Abstract

A pseudo-random number generator which is easy to remember and uses the very simple sequences 321 and 123 can be readily implemented on any available hand calculator. The generator is given by the recursive relation: Ri=321 × Ri−1+123, and is initiated using any 5-digit number for Ri−1and saving the rightmost 5 digits of Rifor the next Ri−1;the two leftmost digits of Rithen yield an acceptable random number between 00 and 99. Alternately, a much better generator is given which can be jotted down in a notebook or taped to the back of your calculator.

Key words

random numbers hand calculator mixed congruential 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Dixon, W. J., and Massey, F. J., Jr., 1951,Introduction to Statistical Analysis: McGraw-Hill, New York, 370 p.Google Scholar
  2. Greenberger, M., 1965, Method in Randomness: Communications of the Association for Computing Machinery, v. 8, p. 177–179.Google Scholar
  3. Griffiths, J. C., 1967.Scientific Method in Analysis of Sediments: McGraw-Hill, New York, 505 p.Google Scholar
  4. Knuth, D. E., 1981.The Art of Computer Programming, Vol. 2—Seminumerical Algorithms (2nd ed.): Addison-Wesley, Reading, Massachusetts, 688 p.Google Scholar
  5. Marsal, D., 1987,Statistics for Geoscientists: Pergamon Press, Oxford, 176 p.Google Scholar
  6. Newman, T. G., and Odell, P. L., 1971,The Generation of Random Variates: Charles Griffin. London, 88 p.Google Scholar
  7. Ostle, B., 1963,Statistics in Research: Iowa State University Press, Ames, Iowa. 585 p.Google Scholar
  8. Press, W. H., Flannery, B. P., Teukolsky, S. A., and Vetterling, W. H., 1986.Nurerical Recipes: Cambridge University Press, Cambridge, 818 p.Google Scholar
  9. Rand Corporation, 1955,A Million Random Digits with 100,000 Normal Deviates: Free Press, Glencoe, Illinois, 600 p.Google Scholar

Copyright information

© International Association for Mathematical Geology 1991

Authors and Affiliations

  • Carter Bays
    • 1
  • W. E. Sharp
    • 2
  1. 1.Department of Computer ScienceUniversity of South CarolinaColumbia
  2. 2.Department of Geological SciencesUniversity of South CarolinaColumbia

Personalised recommendations