login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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