Jump to content

Random number

From Wikipedia, the free encyclopedia

Template:Short description Template:Use mdy dates Template:Use American English

File:Two red dice 01.svg
Dice are an example of a mechanical hardware random number generator. When a cubical die is rolled, a random number from 1 to 6 is obtained.

A random number is generated by a random (stochastic) process such as throwing dice. Individual numbers cannot be predicted, but the likely result of generating a large quantity of numbers can be predicted by specific mathematical series and statistics. Digits of the random binary numbers are random bits or coins.

Algorithms and implementations

Random numbers are frequently used in algorithms such as Knuth's 1964-developed algorithm[1] for shuffling lists. (popularly known as the Knuth shuffle or the Fisher–Yates shuffle, based on work they did in 1938).

In 1999, a new feature was added to the Pentium III: a hardware-based random number generator.[2][3] It has been described as "several oscillators combine their outputs and that odd waveform is sampled asynchronously."[4] These numbers, however, were only 32 bit, at a time when export controls were on 56 bits and higher, so they were not state of the art.[5]

Common understanding

In common understanding, "1 2 3 4 5" is not as random as "3 5 2 1 4" and certainly not as random as "47 88 1 32 41" but "we can't say authoritavely that the first sequence is not random ... it could have been generated by chance."[6]

When a police officer claims to have done a "random .. door-to-door" search, there is a certain expectation that members of a jury will have.[7][8]Template:Examples

Real world consequences

Flaws in randomness have real-world consequences.[9][10]

A 99.8% randomness was shown by researchers to negatively affect an estimated 27,000 customers of a large service[9] and that the problem was not limited to just that situation.Template:Clarify

See also

References

Template:Reflist

Template:Authority control

  1. ↑ Template:Cite journal
  2. ↑ Template:Cite magazine
  3. ↑ Template:Cite magazine
  4. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  5. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  6. ↑ Template:Cite magazine
  7. ↑ Template:Cite news
  8. ↑ A pre-compiled list of apartment numbers would be a violation thereof.
  9. ↑ 9.0 9.1 Template:Cite news
  10. ↑ Template:Cite news