Keep factoring and concatenating,starting from $2$ until we get a prime.
$$2=2$$ $$22=2*11$$$$22211=7*19*167$$ $$22211719167=?$$ ...and so on (the prime factors are arranged from smaller to larger and their multiplicities are also written).
How far we can go with these? (because factorization is very hard)
If you have Sage available somewhere, you can run this simple code (
nis the initial value,bis the base):The results I managed to get:
Needed to say, the sequence either gets constant when you hit a prime, or grows so fast that the probability that there is a prime in $\geq k$th step is moreorless equal to the probability that the $a_k$ is a prime, which is $\frac{\ln a_k}{a_k}$. Good luck.