We define an integer to be a cyclic prime if all its cyclic permutations are also prime numbers. Find the smallest cyclic prime number whose cyclic permutations are all larger than 500.
As an explicit example, 199933 is a cyclic prime because 199933, 999331, 993319, 933199, 331999, 319993 are all prime numbers.
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.
Since prime numbers do not end in an even digit of 5, the number must be made of 1, 3, 7, and 9 only. Also, all digits should be different (unless it is all ones and the number of digits is prime, as in 11111).
I consulted a table of prime numbers under 10,000.
The possible 3-digit candidates are 779 and 799. They didn't work.
For 4-digit candidates, I started at 1117 (but 1711 isn't prime); then tried 1 1 9 3 , which worked out, since 1193, 1931, 3119, and 9311 are all prime.