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

A295970
Numbers k such that (5*10^k + 211)/9 is prime.
0
1, 2, 5, 8, 32, 37, 38, 53, 104, 128, 241, 866, 872, 943, 1058, 4351, 16471, 16925, 23933, 43511, 73079, 105811
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 5 followed by the digits 79 is prime (see Example section).
a(23) > 2*10^5.
EXAMPLE
2 is in this sequence because (5*10^2 + 211)/9 = 79 is prime.
Initial terms and associated primes:
a(1) = 1, 29;
a(2) = 2, 79;
a(3) = 5, 55579;
a(4) = 8, 55555579;
a(5) = 32, 55555555555555555555555555555579; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(5*10^# + 211)/9] &]
PROG
(PARI) isok(k) = isprime((5*10^k + 211)/9); \\ Michel Marcus, Dec 01 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 30 2017
EXTENSIONS
a(22) from Robert Price, Feb 14 2018
STATUS
approved