808. Reversible prime squares

Both 169 and 961 are the square of a prime. 169 is the reverse of 961.

We call a number a reversible prime square if:

  1. It is not a palindrome, and
  2. It is the square of a prime, and
  3. Its reverse is also the square of a prime.

169 and 961 are not palindromes, so both are reversible prime squares.

Find the sum of the first 50 reversible prime squares.

808. 可翻转质数平方

169、961 均是某质数的平方。169 也是 961 十进制表示翻转后的结果。

我们称满足如下条件的数为 可翻转质数平方

  1. 不是回文数。
  2. 是某质数的平方。
  3. 其十进制表示翻转后的结果亦为某质数的平方。

169 和 961 都不是回文数,所以它们都是可翻转质数平方。

求前 50 个可翻转质数平方之和。


这个链接 回到源站。

这个链接 回到详细版题目目录。