What is the chance that an infinite series of random numbers will, at some point, repeat all previously generated numbers in that order? The main reason of this post is to provide a writeup of what I think is a correct solution to this problem from the r/math subreddit. I'll quote the poster to phrase the problem:

What is the chance that an infinite series of random numbers will, at some point, repeat all previously generated numbers in that order?

While there was some confusion in the comments, I believe what the poster means is something like the sequences below:
$$7,7,...$$
$$3,2,3,2,...$$
$$7,8,6,7,8,6,...$$
Where the dots afterward are arbitrary as the condition has already been fulfilled. If we start writing out a sequence of digits in this way, where the probability of selecting any digit is equal, what is the probability that something like this will happen?
I'll post my solution below. Feel free to comment or correct me.

EDIT: This answer is incorrect, but I'll leave it up as it was my original approach.
First, some definitions. Let the digits of the sequence be defined as the list $a_0,a_1,a_2,...$ Let the blocks of $2^n$ digits be defined as $b_1,b_2,...$ What I mean by this is more easily illustrated by looking at the decimal expansion of $e$:
$$ \underbrace{2.7}_{b_0}\underbrace{18}_{b_1}\underbrace{2818}_{b_2}\underbrace{28459045}_{b_3}\underbrace{2353602874713526}_{b_4}...$$
$b_n$ is the $n$th block of $2^n$ numbers, save for the first one. I will also define $c_n$ as the $n$th partial sequence - eg for $\pi$,
$$c_5=3,1,4,1,5$$
With that out of the way, the solution is rather simple. Let the probability of such a sequence occurring be $p$. Then we can write
$$p=\Pr(a_1=a_0)+\Pr(b_1=c_2)\Pr(a_1\neq a_0)+\Pr(b_2=c_4)\Pr(b_1\neq c_2)+\Pr(b_3=c_8)\Pr(b_2\neq c_4)+...$$
$$p=0.1+0.01\cdot0.9+\sum_{n=2}^\infty \Pr(b_n=c_{2^n})\Pr(b_{n-1}\neq c_{2^{n-1}})$$
$$p=0.109+\sum_{n=2}^\infty \left(\frac{1}{10}\right)^{2^n}\left(\frac{9}{10}\right)^{2^{n-1}}$$
$$p\approx 0.1090810065610000431...$$
Perhaps someone can find a closed form for the above sum.
