OFFSET
1,1
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
P. De Geest, World!Of Palindromic Primes
MATHEMATICA
f[n_]:=FromDigits[RealDigits[n, 13][[1]]]==FromDigits[Reverse[RealDigits[n, 13][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 10 2009 *)
Select[Prime[Range[5000]], IntegerDigits[#, 13]==Reverse[ IntegerDigits[ #, 13]]&] (* Harvey P. Dale, May 05 2017 *)
PROG
(PARI) isok(n) = if (isprime(n), my(d=digits(n, 13)); d == Vecrev(d)); \\ Michel Marcus, May 16 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved