Will a Random Number Generator Eventually Repeat Its Numbers?

Click For Summary

Discussion Overview

The discussion revolves around the behavior of random number generators (RNGs), particularly whether they will eventually repeat numbers and the implications of this repetition. Participants explore various types of RNGs, including pseudo-random and true random generators, and the mathematical and physical principles underlying their operation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that random number generators will eventually repeat numbers due to the finite nature of their output space.
  • Others question the definition of "true" random number generators, suggesting that a generator that never repeats would not be truly random.
  • A participant mentions that pseudo-random generators are deterministic and will eventually repeat their sequences, while true random generators could theoretically avoid repetition but are constrained by practical limitations.
  • There is a discussion about the implications of the range of numbers generated, with examples like dice rolls and lottery numbers illustrating how repetition can be expected over time.
  • Some participants highlight the difference between physical sources of randomness and computational methods, noting that true randomness can be derived from physical phenomena.
  • Concerns are raised about the practicality of discussing infinite sequences in the context of RNGs, with calls for a focus on realistic scenarios.

Areas of Agreement / Disagreement

Participants generally agree that random number generators will repeat numbers, but there is significant disagreement regarding the definitions and implications of "true" versus "pseudo" randomness, as well as the practical limitations of RNGs in computational contexts.

Contextual Notes

The discussion touches on various assumptions about the nature of randomness, the definitions of true and pseudo-random generators, and the mathematical probabilities involved in repetition, which remain unresolved.

Who May Find This Useful

Readers interested in the mathematical foundations of randomness, programming, and the practical applications of random number generation in computing and cryptography may find this discussion relevant.

  • #121
ramsey2879 said:
Ok here is what I have for a normal distribution "being normal means that any finite string of digits occurs as often as expected, that is, 1234 makes up 1/10000 of the four-digit strings, etc". Is that what you mean 'normal' in a statistical sense? What would a "uniform distribution" be? If it is one with a equal number of each digit? In that case a "uniform" distribution would just be a particular requirement of a "normal" distribution. I don't see the logic of why a uniform random infinite sequence that would be a "uniform" distribution would not also be a "normal" distribution.

The rational 123456789/9999999999 has exactly (in an asymptotic sense) 1/10 of its digits as 0, 1, ..., 9, but it's not normal because 11 doesn't appear in its decimal expansion.
 
Physics news on Phys.org
  • #122
CRGreathouse said:
The rational 123456789/9999999999 has exactly (in an asymptotic sense) 1/10 of its digits as 0, 1, ..., 9, but it's not normal because 11 doesn't appear in its decimal expansion.
I agree that all uniform distributions are not necessarily normal but I am saying that if one holds that a infinite random sequence would be a uniform sequence then by the same logic that the number 9 is 1/10 of the random sequence then 11 would be 1/100 of the random sequence since the logic would not depend upon what number base you are working with in that case.
 
  • #123
ramsey2879 said:
I agree that all uniform distributions are not necessarily normal but I am saying that if one holds that a infinite random sequence would be a uniform sequence then by the same logic that the number 9 is 1/10 of the random sequence then 11 would be 1/100 of the random sequence since the logic would not depend upon what number base you are working with in that case.

There is apparently more than one usage of 'normal distribution' here. In statistics the term refers to the Gaussian probability distribution. In a uniform probability distribution each outcome has the same probability. This is not the case in a Gaussian distribution.
 
Last edited:
  • #124
SW VandeCarr said:
There is apparently more than one usage of 'normal distribution' here. In statistics the term refers to the Gaussian probability distribution. In a uniform probability distribution each outcome has the same probability. This is not the case in a Gaussian distribution.
Doesn't "11" have the "same probability" that any other two digit number? Doesn't the number "123456789" have the same probability as any other 9 digit number? Then what is the difference between saying that 9 occurs 1/10 of the time in an infinite random sequence because each digit has an equal probability from saying that "1234" occurs 1/10000 th of the time because each 4 digit number has the same probability?
 
  • #125
SW VandeCarr said:
There is apparently more than one usage of 'normal distribution' here. In statistics the term refers to the Gaussian probability distribution. In a uniform probability distribution each outcome has the same probability. This is not the case in a Gaussian distribution.

Normal *number*, not normal *distribution*. No one here is talking about the distribution produced by the Central Limit Theorem.
 
  • #126
CRGreathouse said:
Normal *number*, not normal *distribution*. No one here is talking about the distribution produced by the Central Limit Theorem.
Thanks, I studied the information re central central limit therom and agree that my terminology was wrong. The central limit therom applies when there are a large number of finite samples of "normal" numbers (each having the same probability of occurring within the applicable range) is taken and the mean of each sample is taken. Then the distribution of the means will approach a normal distribution.
But getting back to my understanding of a uniform distribution, if each digit has an equal probability has a 1/10th probility, then each 2 digit number has a 1/100th probability etc., and by the same argument that a infinite random sequence of one digit numbers will have a uniform distribution then the same sequence cam be considered as an infinite sequence of n-digit numbers, the distribution of which will be a uniform distribution.
 
  • #127
The relevant answer would be that a number generated from the suitable uniform distribution of digits is normal with probability 1.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
25
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 21 ·
Replies
21
Views
9K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 88 ·
3
Replies
88
Views
10K