Will a Random Number Generator Eventually Repeat Its Numbers?

Click For Summary
Random number generators (RNGs) will eventually repeat their outputs due to the finite number of possible states they can produce. While true random number generators, based on physical phenomena, can theoretically avoid repetition, most digital RNGs are pseudo-random and will cycle through a limited set of numbers. The frequency of repeats can be estimated based on the range of numbers and the number of trials conducted. Discussions highlight that while some sequences may appear random, they are ultimately deterministic and will repeat over time. Understanding the nature of randomness and the limitations of RNGs is crucial for applications in gaming and cryptography.
  • #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 probabilty. 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 probabilty. 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 probabilty. 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 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
25
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 21 ·
Replies
21
Views
9K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K