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

A295399
Numbers k such that (8*10^k - 611)/9 is prime.
0
3, 4, 7, 9, 48, 52, 105, 153, 1783, 1999, 2787, 4276, 13693, 14067, 19143, 20431, 25933, 26206, 29062, 40462, 40791, 58738, 81709
OFFSET
1,1
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 8 followed by the digits 21 is prime (see Example section).
a(24) > 2*10^5.
EXAMPLE
3 is in this sequence because (8*10^3 - 611)/9 = 821 is prime.
Initial terms and associated primes:
a(1) = 3, 821;
a(2) = 4, 8821;
a(3) = 7, 8888821;
a(4) = 9, 888888821; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(8*10^# - 611)/9] &]
PROG
(PARI) isok(k) = isprime((8*10^k - 611)/9); \\ Michel Marcus, Nov 22 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 21 2017
EXTENSIONS
Incorrect a(1)=2 removed by Georg Fischer, Jun 26 2020
STATUS
approved