OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
145 is the 10th pentagonal number and 541 is prime.
MATHEMATICA
Select[Table[n (3n-1)/2, {n, 400}], PrimeQ[FromDigits[Reverse[ IntegerDigits[ #]]]]&] (* Harvey P. Dale, Feb 23 2011 *)
Select[PolygonalNumber[5, Range[300]], PrimeQ[IntegerReverse[#]]&] (* Harvey P. Dale, Mar 27 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Jan 31 2006
STATUS
approved