Reversible primes
Prime Search
A reversible prime is a prime p whose decimal digit reversal is a different prime (leading zeroes are dropped after reversal). Among reversible primes strictly greater than 1000, what is the 80th smallest?
Solve using mathematics, algorithms, or your own code offline. Submit only the final integer here—no program, expression, graph, or written proof.
Check your answer without signing in. Sign in to save your progress.
How to approach this problem
Test primality of both the number and its digit reversal. Reject palindromes even when they are prime. Keep the original numbers in ascending order and count qualifying originals, not pairs.
Worked example with different values
13 and 31 are distinct primes, so both qualify; 11 does not qualify because reversing it changes nothing.
Apply the same reasoning to the challenge. This example is a separate practice problem.
Learn the technique: Prime numbers and reversible primes