cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A069207 Numbers n such that n^2 + (reversal of n)^2 is prime. Ignore leading 0's.

Original entry on oeis.org

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

Views

Author

Joseph L. Pe, Apr 10 2002

Keywords

Examples

			14^2 + 41^2 = 1877, a prime, so 14 belongs to the sequence.
		

Programs

  • Mathematica
    Select[Range[10^3], PrimeQ[ #^2 + FromDigits[Reverse[IntegerDigits[ # ]]]^2] &]