The set consisting of random numbers with random lengths

In summary, the conversation discusses the possibility of generating all possible integers using a set of random integers with random lengths. BvU points out that the probability of any particular integer escaping being produced is zero, and the probability of any integer escaping while all lower integers are produced is also zero. The conversation also touches on the idea of picking an integer at random, with the conclusion that it is not possible to do so with a uniform probability distribution. The use of the term "at random" is clarified to mean "uniform probabilities." The conversation concludes with the idea that allowing for numbers to be generated twice would only make it more difficult to produce all possible integers.
  • #1
serp777
117
6
Does the set of random integers with random lengths (the number of digits), which hypothetically would generate random numbers with random lengths for eternity, produce all possible integers? It seems to me that this is a natural conclusion but I've never seen a proof of this. A more incredible statement would be that there are integers which could not be produced via this process.
 
Mathematics news on Phys.org
  • #2
I don't see how you can construct an integer that can escape being produced. All integers have the same probability of being produced (namely zero) in a finite time.
I'm not sure how things change if e.g. you first pick a random length (infinitely many possibilities) and subsequently pick a random integer of that length (a finite number of choices).
 
  • #3
serp777 said:
Does the set of random integers with random lengths (the number of digits), which hypothetically would generate random numbers with random lengths for eternity, produce all possible integers? It seems to me that this is a natural conclusion but I've never seen a proof of this. A more incredible statement would be that there are integers which could not be produced via this process.
First tell me how you would create that random number generator. If you want to create a random number in a finite time, you will only get random numbers in a finite range...
 
  • #4
I am not sure that this stands up to rigorous scrutiny but...

As BvU points out, the probability that any particular integer escapes being produced is zero. The probability that any particular integer escapes being produced while all lesser integers are produced is also zero. The case that at least one integer escapes being produced is the infinite union of the cases where some integer escapes being produced while all lower integers are produced. Those component cases are disjoint by construction. By countable additivity, the probability of the union is the sum of the probabilities of all of the component cases. That sum is zero.
 
  • #5
I like phinds' almost standard referral to the Hilbert Hotel for a nice confrontation with infinities
 
  • #6
How do you even pick an integer at random? There is no way!
 
  • #7
micromass said:
How do you even pick an integer at random? There is no way!
It is not possible to pick an integer at random such that all integers are possible and the probability distribution is uniform.

My reading of the problem in #1 is that the requirement that the distribution be uniform has been relaxed but the requirement that the distribution have a non-zero probability for each and every integer has been retained. A procedure such as "flip a coin and count the number of tails prior to the first heads" is almost certain to work for this.
 
  • #8
jbriggs444 said:
It is not possible to pick an integer at random such that all integers are possible and the probability distribution is uniform.

My reading of the problem in #1 is that the requirement that the distribution be uniform has been relaxed but the requirement that the distribution have a non-zero probability for each and every integer has been retained. A procedure such as "flip a coin and count the number of tails prior to the first heads" is almost certain to work for this.

Sure. But many people not familiar with probability seem to use the word "at random" to mean "uniform probabilities". If the OP doesn't say this, he needs to specify exactly how he does this random number selection.
 
  • Like
Likes jbriggs444
  • #9
Does the randomness allow for numbers to be generated twice? If not, it should be exactly the same as trying to enumerate the set of integers, which is infinite. If it does, on the other hand, it just makes things worse as the probability of a particular integer to be generated is even smaller.
 

1. What is a set consisting of random numbers with random lengths?

A set consisting of random numbers with random lengths is a collection of numbers that are randomly generated and have varying lengths. These numbers can range from whole numbers to decimals and can have any number of digits.

2. How are the numbers in this set generated?

The numbers in this set are generated using a random number generator. This is a computer program that uses an algorithm to produce a sequence of numbers that have no pattern or predictability.

3. What is the purpose of studying a set consisting of random numbers with random lengths?

The purpose of studying a set consisting of random numbers with random lengths is to understand and analyze the properties and behavior of random numbers. This can be useful in many fields such as statistics, finance, and computer science.

4. Can this set be used in real-world applications?

Yes, this set can be used in real-world applications. Random numbers with random lengths are commonly used in simulations, cryptography, and game design. They are also used for generating secure passwords and in statistical analyses.

5. Are there any limitations to this set?

Yes, there are limitations to this set. Since the numbers are randomly generated, there is no guarantee of their accuracy or reliability. Additionally, some algorithms used for generating random numbers may have biases or patterns, which can affect the randomness of the numbers in the set.

Similar threads

Replies
66
Views
4K
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Programming and Computer Science
Replies
21
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
925
Replies
35
Views
3K
Replies
2
Views
843
Replies
4
Views
423
  • Quantum Physics
Replies
23
Views
1K
Replies
1
Views
1K
Back
Top