Will a Random Number Generator Eventually Repeat Its Numbers?

Click For Summary
SUMMARY

A random number generator (RNG) will eventually repeat its outputs due to the finite number of possible states it can produce. Pseudo-random number generators (PRNGs), commonly used in digital computing, are deterministic and will cycle through a limited set of numbers, leading to repetition. True random number generators, which draw from physical phenomena, can theoretically avoid repetition but are impractical for infinite outputs. The discussion highlights the mathematical implications of randomness, particularly in relation to the work of Nassim Nicholas Taleb, author of "Fooled by Randomness."

PREREQUISITES
  • Understanding of random number generation concepts
  • Familiarity with pseudo-random number generators (PRNGs)
  • Basic knowledge of probability theory
  • Awareness of Nassim Nicholas Taleb's work on randomness and uncertainty
NEXT STEPS
  • Research the differences between pseudo-random and true random number generators
  • Explore the mathematical foundations of randomness and probability distributions
  • Study Nassim Nicholas Taleb's "Fooled by Randomness" for insights on randomness and decision-making
  • Investigate physical sources of randomness for cryptographic applications
USEFUL FOR

Mathematicians, computer scientists, software developers, and anyone interested in the principles of randomness and its implications in computing and decision-making.

  • #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
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 88 ·
3
Replies
88
Views
10K