OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..250
EXAMPLE
541 is prime and 145 is the 10th pentagonal number.
MATHEMATICA
Select[Prime[Range[22000]], IntegerQ[(1+Sqrt[1+24*IntegerReverse[#]])/6]&] (* Harvey P. Dale, Jan 25 2026 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Jan 31 2006
STATUS
approved
