Abstract

One of the most popular methods of generating numbers for use in a computer program employs a Lehmer random number generator. If constructed properly, these generators will yield streams of numbers that will appear random but can also be easily replicated. However, Marsaglia (1968) discovered a potential flaw in these random number generators, namely, if consecutive n-tuples of the generated numbers are plotted in n-dimensional space, the points may fall into a small number of hyperplanes. In this paper, we compare the theoretical distribution of the distances to the actual distances produced by a specific random number generator in order to devise a statistical test of randomness for the validity of the random number generator.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.