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.

A232183 Primes p such that p-R(p) is a square, where R = reversal of digits = A004086.

Original entry on oeis.org

2, 3, 5, 7, 11, 43, 73, 101, 131, 151, 181, 191, 313, 353, 373, 383, 727, 757, 787, 797, 919, 929, 2141, 2251, 4253, 4363, 4583, 6701, 7211, 7321, 7541, 8147, 8923, 9103, 9323, 9433, 10301, 10501, 10601, 11311, 11411, 12421, 12721, 12821, 13331, 13831, 13931, 14341, 14741
Offset: 1

Views

Author

M. F. Hasler, Nov 20 2013

Keywords

Comments

This sequence includes the palindromic primes for which p-R(p)=0. See A080177 = (43,73,2141,2251,4253,4363,...) for the variant not including palindromes.

Programs

  • PARI
    forprime(p=1,19999,issquare(p-A004086(p))&&print1(p","))