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

A055558
Primes of the form 1999...999.
12
19, 199, 1999, 199999, 19999999, 199999999999999999999999999, 1999999999999999999999999999, 199999999999999999999999999999999999999999999999999999
OFFSET
1,1
FORMULA
Primes of the form 2*10^n - 1.
EXAMPLE
2*10^n - 1 is prime for {1,2,3,5,7,26,27,53,147,236,248,386,401}; in each of these numbers, the digit '9' appears n times.
PROG
(PARI) for(n=1, 99, if(ispseudoprime(t=2*10^n-1), print1(t", "))) \\ Charles R Greathouse IV, Dec 10 2013
CROSSREFS
Subsequence of A090149.
Sequence in context: A067272 A065582 A241021 * A160452 A113596 A155670
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Jul 10 2000
STATUS
approved