One topic in mathematics and computer science that always confused me were random numbers. I tried searching for the exact meaning but it feels kind of abstract and incomplete.
Mathematically random numbers are defined as
Random numbers are numbers that occur in a sequence such that two conditions are met: (1) the values are uniformly distributed over a defined interval or set, and (2) it is impossible to predict future values based on past or present ones.
I have no problem with 2nd point but 1st feels kind of abstract because we can't specify the defined interval or set. Not just that but if all the values are to be equally distributed it kind of isn't truly random any more.
Supposing true random number generator(generating numbers between 1-9) generates 100 numbers with no 9s. In this case we can say that the probability of 9 appearing is high in the next 10 numbers. But if the probability is high how are the numbers truly random ?
Also supposing a true random number generator(generating numbers between 1-9) generates 1million consecutive 3s. Is this random ? Most people will say probably not, but what if that same generator generated over 100 million numbers and found uniform distribution among numbers between 1 and 9. This comic illustrates this point.
For me the first point is pointless as we can't define an interval or set. This basically means that for truly random numbers the probability of 1 million consecutive 3 is as equally likely as an equal distribution of numbers.
I guess in the real world you would define numbers as random only as long you can't find a sequence to tell what the next number will be. Many articles say the digits inside irrational(√2, pi) numbers can be treated as random. In my opinion they are only treated as random as long as we don't know the right sequence. That essentially means no numbers are truly random, we just don't know their sequence.
TLDR How does the mathematical world define random numbers ?
First: Do you agree that the definition you gave, is a good one? I'm not asking if you would be able to recognize one, but do you agree that those two conditions determine a random number generator? Example: We have the interval 1,...,9 and each number has equal chance of being shown/produced (this is condition one). And then condition two. That would be random, right?
– Ryan Apr 11 '15 at 09:20Look also at http://en.wikipedia.org/wiki/Randomness_tests
– Ryan Apr 11 '15 at 09:20Lets say you have a mysterious machine that gives numbers, and you found a sequence that can predict the next number. Well, how would you know that your sequence really does predict all next numbers? Maybe you were correct for the first 2 million, but does that mean you would be correct for the next number? We only gathered evidence that our sequence might be right for all numbers.
– Ryan Apr 11 '15 at 09:23