all the numbers have already occured. the visual display is just proof that they occured in a particular sequence.
mathematical true randomness can never be reached, as you would need an infinitely large set (number of dice throws.)
in real life a dice can actually land on edge, and also any number of factors can introduce a bias. a program/script to generate dice throws or such, is a limited model.
if this is indeed some kind of dice throwing pretend problem, it should clearly define the limits/assumptions. as the required output for this excercise can change quite a bit depending on these assumptions.
the hardest line to type correctly is: stty erase ^H