A069207 Numbers n such that n^2 + (reversal of n)^2 is prime. Ignore leading 0's.
1, 10, 14, 23, 25, 32, 41, 52, 58, 85, 104, 116, 124, 164, 170, 190, 194, 205, 227, 233, 283, 310, 320, 328, 332, 380, 382, 398, 401, 409, 419, 421, 425, 461, 491, 499, 502, 508, 518, 524, 598, 611, 689, 710, 722, 728, 758, 778, 805, 815, 823, 827, 857, 877
Offset: 1
Examples
14^2 + 41^2 = 1877, a prime, so 14 belongs to the sequence.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[Range[10^3], PrimeQ[ #^2 + FromDigits[Reverse[IntegerDigits[ # ]]]^2] &]