OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..600
Eric Weisstein's World of Mathematics, Palindromic Prime.
Eric Weisstein's World of Mathematics, Prime Power.
EXAMPLE
MATHEMATICA
Join[{1}, Select[Range[16370], Reverse[x = IntegerDigits[#]] == x && PrimePowerQ[#] &]] (* Jayanta Basu, Jun 24 2013 *)
Join[{1}, Select[Range[17000], PalindromeQ[#]&&PrimePowerQ[#]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 07 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 11 2003
EXTENSIONS
Corrected and extended by T. D. Noe, Oct 25 2006
STATUS
approved