login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082438 Palindromic primes with middle digit 2. 1
2, 727, 929, 30203, 36263, 37273, 39293, 70207, 72227, 73237, 93239, 96269, 1022201, 1062601, 1082801, 1092901, 1212121, 1242421, 1262621, 1362631, 1412141, 1422241, 1452541, 1532351, 1542451, 1572751, 1712171, 1802081 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
pp2Q[n_]:=Module[{idn=IntegerDigits[n], len}, len=Length[idn]; OddQ[len] && idn==Reverse[idn]&&idn[[Ceiling[len/2]]]==2]; Select[Prime[Range[ 140000]], pp2Q] (* Harvey P. Dale, Sep 29 2013 *)
PROG
(Magma) [ p: p in PrimesUpTo(200000000) | IsOdd(d) and D[(d+1) div 2] eq 2 and D eq Reverse(D) where d is #D where D is Intseq(p) ]; // Vincenzo Librandi, Apr 12 2011
CROSSREFS
Cf. A002385.
Sequence in context: A167440 A156008 A103169 * A062066 A174368 A082621
KEYWORD
nonn,base
AUTHOR
Lekraj Beedassy, Apr 25 2003
EXTENSIONS
Corrected by David Wasserman, Sep 09 2004
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 28 05:00 EDT 2024. Contains 372020 sequences. (Running on oeis4.)