Let be the primes which are having its first digit equal to the last digit. Find the largest prime for .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We can simply work our way down from 1 0 0 0 to see what the largest possible value of p is:
9 9 9 : divisible by 3 ;
9 8 9 : divisible by 2 3 ;
9 7 9 : divisible by 1 1 ;
9 6 9 : divisible by 3 ;
9 5 9 : divisible by 7 ;
9 4 9 : divisible by 1 3 ;
9 3 9 : divisible by 3 ;
9 2 9 : prime!
Therefore the answer is 9 2 9 .