How to generate random number each time?

Infinite machines, infinite values, infinite time, same number?

  • Let's pretend I have an infinite number of machines that will completely randomly generate any value between -∞ and ∞. If I set them each to generate a new number every, say, second, and had them do this forever, would it ever be the case that all the machines had chosen, at random, the same number at the same time? Let's also pretend that the universe will last forever and that I somehow have the ability to run and check infinite machines every second.

  • Answer:

    There is a chance. It's a 0% chance, but it's still there (I know that seems weird, but we're dealing with infinite options here, so it's going to be weird). There's no telling when it will happen, because any upper bound on the time and the chance drops to 0% (this time 0-in-whatever for real, as in no chance at all). EDIT: Note that this is the sort of thing many string theorists propose. Right now, given what we actually "know" about string theory and given the mathematics behind string theory, there are about 10^500 possible versions of string theory available to test and no place to begin each one (to put it in perspective, there are "only" about 10^80 particles of matter in the universe, so testing string theory as it currently is would be beyond impossible for us). Basically, this means that string theory is not much of a science and it irks other physicists off when they lose out on research funding to a string theorist's idea because their research isn't considered as cool as string theory research.

collin at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

There is a chance. It's a 0% chance, but it's still there (I know that seems weird, but we're dealing with infinite options here, so it's going to be weird). There's no telling when it will happen, because any upper bound on the time and the chance drops to 0% (this time 0-in-whatever for real, as in no chance at all). EDIT: Note that this is the sort of thing many string theorists propose. Right now, given what we actually "know" about string theory and given the mathematics behind string theory, there are about 10^500 possible versions of string theory available to test and no place to begin each one (to put it in perspective, there are "only" about 10^80 particles of matter in the universe, so testing string theory as it currently is would be beyond impossible for us). Basically, this means that string theory is not much of a science and it irks other physicists off when they lose out on research funding to a string theorist's idea because their research isn't considered as cool as string theory research.

Captain Matticus, LandPiratesInc

Actually, the answer will depend on "how many" machines we have. Suppose we can label each machine with a unique natural number (1, 2, 3, and so on...), then the probability of them choosing the same real number in the first second is 0. Also, the probability of them ever choosing the same real number at any given second is 0. Suppose we can label each machine with a subset of the real numbers, so that for every subset, there's some machine with that label, then the probability of them choosing the same real number in the first second is 1. Therefore the chance of it occurring will be somewhere between almost surely not happening, to almost surely happening, depending on "how many" machines we have. It's also interesting to note letting the process go on forever, checking it each second, has no effect whatsoever on the likelihood. --------- By the way, if you know about cardinality, the above is easy to see, but you might wonder why I ignored the cardinality of the continuum. Well, in short, it's because I don't know the answer to that question... I'm not even sure if there is an answer.

Awms A

Actually, the answer will depend on "how many" machines we have. Suppose we can label each machine with a unique natural number (1, 2, 3, and so on...), then the probability of them choosing the same real number in the first second is 0. Also, the probability of them ever choosing the same real number at any given second is 0. Suppose we can label each machine with a subset of the real numbers, so that for every subset, there's some machine with that label, then the probability of them choosing the same real number in the first second is 1. Therefore the chance of it occurring will be somewhere between almost surely not happening, to almost surely happening, depending on "how many" machines we have. It's also interesting to note letting the process go on forever, checking it each second, has no effect whatsoever on the likelihood. --------- By the way, if you know about cardinality, the above is easy to see, but you might wonder why I ignored the cardinality of the continuum. Well, in short, it's because I don't know the answer to that question... I'm not even sure if there is an answer.

Awms A

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.