I was wondering if random numbers actually do have some predictability. For example, the digits of $ \pi$ are supposedly random. However, the frequency of some digits "lags" that of other digits. For example, if I take $1$ million digits of $\pi$, there are not $100,000$ of each of the digits $0$ thru $9$. Does that mean that possibly the lagging digits are more likely to occur to balance things out? If so, then it seems that the next "random" digit of $ \pi$ can be be predicted with greater than $10$% confidence.
It might be fun/cool if someone wrote a computer program and tried to predict the next digit of pi based on number frequency seen so far (biasing towards the lagging ones that are "due"). I wonder if after maybe $1$ million predictions if the % correct will exceed $10$% and by how much.
So my question is might this technique work to help predict "random" digits or has it been tried and it failed?
I don't know about digits of $\pi$, but if you have a truly random generator, then "lags" of certain digits will not correct themselves.
By that I mean the following:
Say you have a random generator that returns integers from $0$ to $9$, and say that in the last one million tries, the generator generated $200.000$ nines. Then the probability of the generator generating another nine in the next step is still $\frac1{10}$, meaning that the probability that there will be less nines than other numbers in the next million integers generated is exactly the same as it would be if the generator produced zero nines in the first million tries.