login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A072383
Primes which can be represented as the sum of a square and its reverse.
0
2, 101, 887, 1151, 32423, 33623, 36263, 38873, 72617, 73037, 78887, 79697, 82727, 87977, 94049, 96059, 96269, 99689, 112031, 114641, 117281, 119291, 122921, 126761, 136463, 178697, 1186811, 1239311, 1374731, 1537241, 1604951, 1615151
OFFSET
1,1
EXAMPLE
887 is a term because it is prime and it is the sum of square 196 and its reverse 691.
MATHEMATICA
With[{nn=40}, Take[Union[Select[Table[n^2+FromDigits[Reverse[ IntegerDigits[ n^2]]], {n, 100nn}], PrimeQ]], nn]] (* Harvey P. Dale, Mar 01 2015 *)
CROSSREFS
Sequence in context: A088272 A125819 A179998 * A037053 A300102 A222449
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Jul 20 2002
STATUS
approved