← RoseCode

ROSECODE 111

Mirror primes 2

sinan · Math ·

Mirror(Palindromic) prime is a prime number when reversed is the same prime.
Assume all one digit primes are mirror primes.

Find the sum of all mirror primes with all prime digits not exceeding 10^20.

Answer format: count,sum

Example: 8,2227 for all mirror primes with all prime digits not exceeding 10^3
(2, 3, 5, 7, 353, 373, 727, 757)