login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A068691
Smallest n-digit prime with all even digits except the least significant digit.
4
3, 23, 223, 2003, 20021, 200003, 2000003, 20000003, 200000069, 2000000063, 20000000089, 200000000041, 2000000000003, 20000000000021, 200000000000027, 2000000000000021, 20000000000000003, 200000000000000003, 2000000000000000221, 20000000000000000401
OFFSET
1,1
LINKS
MATHEMATICA
evQ[n_]:=And@@EvenQ[Take[x=IntegerDigits[n], Length[x]-1]]; t={3}; Do[i=PrimePi[2*10^n]+1; While[!evQ[p=Prime[i]], i++]; AppendTo[t, p], {n, 13}]; t (* Jayanta Basu, May 21 2013 *)
CROSSREFS
Cf. A068690.
Sequence in context: A135423 A114017 A316085 * A093135 A305754 A202997
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Mar 03 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 17 2002
STATUS
approved