Find the largest six digit integer such that all its 6 cyclic permutations of its digits is always a prime number .
For example, 197 is a member as all the three cyclic permutations 197, 971, and 719 are primes.
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.
All p prime numbers with more than 2 digits ends in 1, 3, 7 or 9 and as such, our six digits number can only have one or more of those digits. So, if you start with 999999 which obviously is not a prime, you after some testing, will eventually end up with 999331 which is our answer.
These primes can be found here: https://oeis.org/A068652 (Cyclic permutation primes).