A permutable prime is a prime number which can have its digits' positions switched through any permutation and still be a prime number.
For eg, is permutable prime as it contains only one digit. is a permutable prime as both and are prime. Note that each permutation of a permutable prime is considered as a unique solution. So and are considered as two different solutions.
How many permutable primes exist below in base ?
P.S. Both Number Theory and Computer Science solution exists for this problem.
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.