Given a prime number. Any time a single digit other than 9 is appended to the number (i.e written at the end of it). Prove that the number will eventually become composite.
Quite obviously appending an even digit or digit 5 turns the number immediately into a composite.
Adding 1 or 7 will make it $+1 \mod 3$, while adding a 3 doesn't change the residue mod 3. Therefore after at most two appends of either 1 or 7 the number becomes a multiple of 3.
The problem raises when digit 3 keeps being appended all the time. So far I can see the following:
For any prime number $p \gt 3$ there are numbers $a$ whose residue mod p stays after appending 3, i.e.$$ 10a + 3 \equiv a \mod p \tag{1} $$
This comes from the observation that the difference between new and old numbers is $$ (10a+3)-a = 9a+3 = 3(3a+1) $$
The equation $3r+1 \equiv 0\mod p$ has a solution, as 3 and $p$ are co-prime, so $\{3r\}_{r=1}^{p-1}$ gives a complete set of residues modulo $p$ and will be $p-1$ for certain value $r_0$. Then any $a \equiv r_0 \mod p$ satisfies $(1)$.
This makes the problem a bit tough, since a certain prime number cannot be expected to give a clue to the solution.
Suppose your starting prime is $x_0 \ne 2, 3, 5$, so the sequence of numbers obtained by appending digit $3$ is $x_n = 10^n x_0 + (10^n - 1)/3$. This is divisible by $x_0$ if $10^n \equiv 1 \mod x_0$. Now use Fermat's "little" theorem.