login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029979 Primes that are palindromic in base 12. 3
2, 3, 5, 7, 11, 13, 157, 181, 193, 229, 241, 277, 761, 773, 797, 809, 821, 857, 1039, 1051, 1063, 1087, 1123, 1607, 1619, 1667, 21169, 21313, 21601, 22621, 23053, 23197, 23629, 23773, 23917, 24061, 24793, 25657, 25801, 26821, 27109, 27253 (list; graph; refs; listen; history; text; internal format)
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, 12][[1]]]==FromDigits[Reverse[RealDigits[n, 12][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 10 2009 *)

pal12Q[n_]:=Module[{idn=IntegerDigits[n, 12]}, idn==Reverse[idn]]; Select[ Prime[ Range[3000]], pal12Q] (* Harvey P. Dale, Sep 23 2016 *)

CROSSREFS

Sequence in context: A238851 A037949 A110600 * A029981 A029982 A260904

Adjacent sequences:  A029976 A029977 A029978 * A029980 A029981 A029982

KEYWORD

nonn,base

AUTHOR

Patrick De Geest

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified June 24 16:32 EDT 2017. Contains 288707 sequences.