A code consists of a sequence of 10 digits with repetitions allowed, for example, 0034768927. Determine the probability that the sequence 01234 will occur consecutively in a randomly generated code, for example, as it does in 8470123462 but does not in 8201236499.
Apparently the answer is 5.99999x10^-5 and not 6x10^-5. How is this possible?