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.

Showing 1-1 of 1 results.

A080177 Non-palindromic primes which on subtracting their reversal give perfect squares.

Original entry on oeis.org

43, 73, 2141, 2251, 4253, 4363, 4583, 6701, 7211, 7321, 7541, 8147, 8923, 9103, 9323, 9433, 40093, 40193, 40493, 40693, 40993, 80897, 102101, 105401, 106501, 108401, 109001, 112111, 114311, 118411, 121021, 124021, 127321, 135131, 135431, 136531
Offset: 1

Views

Author

Shyam Sunder Gupta, Mar 16 2003

Keywords

Comments

See A232183 for the variant including palindromic primes for which p-R(p) = 0 = 0^2.

Examples

			a(2)=73 because 73-37=36 which is a perfect square.
		

Programs

  • Mathematica
    Select[Prime[Range[13000]],!PalindromeQ[#]&&IntegerQ[Sqrt[#-IntegerReverse[ #]]]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 03 2018 *)
  • PARI
    forprime(p=1, 19999, issquare(p-A004086(p))&&p-A004086(p)&&print1(p", ")) \\ - M. F. Hasler, Nov 20 2013
Showing 1-1 of 1 results.