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

A123372
Numbers k such that 10*(11*10^k - 1) + 1 is prime.
0
0, 1, 29, 71, 95, 173, 298, 4937, 4982, 15755, 16639, 17621
OFFSET
1,3
COMMENTS
a(13) > 50000. - Michael S. Branicky, Nov 10 2024
EXAMPLE
a(1) = 0; 101 is prime.
a(2) = 1; 1091 is prime.
a(3) = 29; 10999999999999999999999999999991 is prime.
MATHEMATICA
Select[Range[0, 1000], PrimeQ[10*(11*10^#-1)+1]&]
PROG
(PARI) g(n, m=1) = for(x=1, n, y=10*(11*10^x-1)+m; if(ispseudoprime(y), print1(x", ")))
CROSSREFS
Sequence in context: A226892 A183194 A374613 * A031343 A155483 A141891
KEYWORD
hard,more,nonn
AUTHOR
Cino Hilliard, Oct 12 2006
EXTENSIONS
0 inserted and a(10)-a(12) from Ryan Hitchman, Sep 13 2017
STATUS
approved