The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080177 Non-palindromic primes which on subtracting their reversal give perfect squares. 3
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A232183 for the variant including palindromic primes for which p-R(p) = 0 = 0^2.
LINKS
EXAMPLE
a(2)=73 because 73-37=36 which is a perfect square.
MATHEMATICA
Select[Prime[Range[13000]], !PalindromeQ[#]&&IntegerQ[Sqrt[#-IntegerReverse[ #]]]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 03 2018 *)
PROG
(PARI) forprime(p=1, 19999, issquare(p-A004086(p))&&p-A004086(p)&&print1(p", ")) \\ - M. F. Hasler, Nov 20 2013
CROSSREFS
Sequence in context: A139932 A290635 A176925 * A238248 A121957 A118075
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Mar 16 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 13:17 EDT 2024. Contains 372552 sequences. (Running on oeis4.)