Random number generation

  • Authors:
  • George Marsaglia

  • Affiliations:
  • -

  • Venue:
  • Encyclopedia of Computer Science
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

A random number generator is a computer procedure that scrambles the bits of a current number or set of numbers to produce a new number, in such a way that the result appears to be randomly distributed among the set of possible numbers and independent of the previously generated numbers. As experiments over the years have shown, this appears surprisingly easy to do. A wide variety of scrambling methods have been proposed. Random number generators are provided for most computer systems or software packages, and they work remarkably well-at least for limited use when only a few hundreds or thousands of numbers are required. But experience with very fast computers doing Monte Carlo problems requiring samples of hundreds of millions or billions of numbers has shown that the random number generator must be carefully chosen.