OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
P. De Geest, World!Of Palindromic Primes
MATHEMATICA
f[n_]:=FromDigits[RealDigits[n, 7][[1]]]==FromDigits[Reverse[RealDigits[n, 7][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 10 2009 *)
pb7Q[n_]:=Module[{idn7=IntegerDigits[n, 7]}, idn7==Reverse[idn7]]; Select[ Prime[ Range[1600]], pb7Q] (* Harvey P. Dale, Nov 21 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved