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

A096214
First prime in primes of the form 10^n + 10^(n-k) - 1.
0
109, 1009, 10009, 1000099, 1000009999, 1000000999999, 10000000999, 1000000009, 1000000000999999999, 10000000000099, 100000000000099, 100000000000009999, 10000000000000099, 100000000000000099, 1000000000000000009
OFFSET
1,1
PROG
(PARI) f(n, z) = for(x=z, n, y=10^x+10^(x-z)-1; if(ispseudoprime(y), print1(y", ")))
CROSSREFS
Sequence in context: A061699 A359144 A239720 * A173665 A059936 A262854
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jul 28 2004
STATUS
approved