Never prime
If a two digit number has its digits reversed and the smaller of the two numbers is subtracted from the larger, prove the difference can never be prime.
Problem
Take any two digit number, reverse its digits, and subtract the smaller number from the larger. For example
Can you prove that you will never end up with a prime?
What happens when I do the same with a three digit number?
What about a four digit number?
What about a five, six, seven, ... $n$ digit number?
Can you justify your findings?
Student Solutions
Good solutions here came from Sam, Dave, Richard and Joe, Matthew and Ross, all at Madras College, St Andrews. Other people tested special cases but did not prove the general results.
If a 2 digit number has its digits reversed and the smaller of the two numbers is subtracted from the larger we prove that this difference can never be prime.
Let the 2 digit number be $a$ where $a> b$. Then
As $9(a - b)$ is a multiple of $9$, it is not prime.
Now let the 3 digit number be $abc$
The 4 digit number can be taken as $abcd$.
Similarly for 5 digit numbers:
This number is a multiple of 99 so it will never be prime.