A prime number is a permutable prime if for all permutations of the digits of is also prime.
How many 2-digit permutable primes are there?
Details and Assumptions :
For example 113, 131 and 311 are all prime and this consists of all the permutations of 113, so they are all permutable primes.
Assume that we are only looking at numbers within a base 10 representation.
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.
Relevant wiki: Prime Numbers
The only permutations of a two digit number a b is itself and b a . So we are looking for all the 2 digit primes such that when we reverse the digits the new number is also prime.
Now any number of this form cannot have a 2 , 4 , 6 , 8 , 5 in it since any number ending in these digits cannot be prime.
Then just going through an exhaustive count of all these primes and checking them we see that
1 1 , 1 3 , 1 7 , 3 1 , 3 7 , 7 1 , 7 3 , 7 9 , 9 7
are the only two digit permutable primes in base 10.
Here's a few fun observations :
It's worth pointing out that it's still a mystery whether there are infinitely many permutable primes in any base system (as far as I know).
Also, in Base 2 all the permutable primes must be of the form 1 1 1 . . . 1 1 since if they have a 0 digit, some permutation can put this as the last digit of a number and that would be divisible by 2! All of these numbers therefore must be of the form 2 n − 1 and must be mersenne primes! It's still not known if there exist an infinite number of these (again, as far as I know)!
The only permutable primes (in base 10) less that 1 0 0 , 0 0 0 are
2 , 3 , 5 , 7 , 1 1 , 1 3 , 1 7 , 3 1 , 3 7 , 7 1 , 7 3 , 7 9 , 9 7 , 1 1 3 , 1 3 1 , 1 9 9 , 3 1 1 , 3 3 7 , 3 7 3 , 7 3 3 , 9 1 9 , 9 9 1