login
A029977
Primes that are palindromic in base 9.
7
2, 3, 5, 7, 109, 127, 173, 191, 227, 337, 373, 419, 601, 619, 683, 701, 719, 6967, 7129, 7867, 8443, 9181, 9343, 10333, 10657, 11071, 11971, 12547, 13033, 13367, 13691, 14843, 15581, 16319, 16481, 17957, 18119, 18371, 19433, 27067, 27967
OFFSET
1,1
MATHEMATICA
f[n_]:=FromDigits[RealDigits[n, 9][[1]]]==FromDigits[Reverse[RealDigits[n, 9][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 10 2009 *)
CROSSREFS
Sequence in context: A050784 A030150 A343675 * A052019 A205529 A006341
KEYWORD
nonn,base
STATUS
approved