Permutable Primes

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, 2 2 is permutable prime as it contains only one digit. 13 13 is a permutable prime as both 13 13 and 31 31 are prime. Note that each permutation of a permutable prime is considered as a unique solution. So 13 13 and 31 31 are considered as two different solutions.

How many permutable primes exist below 10000000 10000000 in base 10 10 ?


P.S. Both Number Theory and Computer Science solution exists for this problem.


The answer is 22.

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.

2 solutions

Bill Bell
Apr 20, 2015

Hasmik Garyaka
Oct 7, 2017

https://oeis.org/A003459

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...