OFFSET
1,2
COMMENTS
Numbers k such that the digits 83 followed by k occurrences of the digit 7 is prime (see Example section).
a(28) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 837w.
EXAMPLE
2 is in this sequence because (754*10^2 - 7)/9 = 8377 is prime.
Initial terms and associated primes:
a(1) = 0, 83;
a(2) = 2, 8377;
a(3) = 3, 83777;
a(4) = 4, 8377777;
a(5) = 6, 83777777777; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(754*10^# - 7)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 05 2017
EXTENSIONS
a(27) from Robert Price, May 02 2020
STATUS
approved