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”).

A068103
Smallest prime starting with at least n 2s.
5
2, 2, 223, 2221, 22229, 2222203, 22222223, 22222223, 222222227, 22222222223, 22222222223, 2222222222243, 22222222222201, 22222222222229, 222222222222227, 222222222222222043, 222222222222222221
OFFSET
0,1
LINKS
PROG
(PARI) A068103(n)={n=10^n\9*2; n>2&for(d=1, 9e9, n*=10; for(t=1, 10^d-1, ispseudoprime(n+t)&return(n+t))); 2} \\ - M. F. Hasler, Oct 17 2012
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 20 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 19 2002
Corrected by Don Reble, Jan 17 2007
STATUS
approved