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”).

A072386
Primes which can be represented as the sum of a triangular number and its reverse.
1
2, 11, 281, 21701, 42923, 72227, 73037, 78887, 79697, 100109, 119891, 122321, 128981, 138683, 178697, 1360631, 1394831, 1591841, 1598951, 1607051, 1958591, 1982891, 2188811, 2401031, 2490941, 2793071, 3382733, 3555443, 3586853
OFFSET
1,1
EXAMPLE
11 is a term because it is prime and it is the sum of triangular number 10 and its reverse 01.
MATHEMATICA
Take[Select[Union[#+IntegerReverse[#]&/@Accumulate[Range[ 5000]]], PrimeQ], 30] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 29 2016 *)
CROSSREFS
Sequence in context: A132571 A102031 A248865 * A185122 A350932 A369947
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Jul 20 2002
STATUS
approved