OFFSET
1,1
LINKS
P. De Geest, World!Of Palindromic Primes
EXAMPLE
757_10 = 1001001_3. - Jon E. Schoenfield, Apr 10 2021
MATHEMATICA
f[n_, b_]:=FromDigits[RealDigits[n, b][[1]]]==FromDigits[Reverse[RealDigits[n, b][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p, 3]&&f[p, 10], AppendTo[lst, p]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 25 2009 *)
Select[Prime[Range[65*10^5]], PalindromeQ[#]&&IntegerDigits[#, 3]==Reverse[ IntegerDigits[ #, 3]]&] (* Harvey P. Dale, Jul 20 2024 *)
CROSSREFS
KEYWORD
nonn,hard,base
AUTHOR
Patrick De Geest, Aug 15 1998
STATUS
approved