OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 4 followed by k-2 occurrences of the digit 8 followed by the digits 43 is prime (see Example section).
a(24) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 48w43.
EXAMPLE
2 is in this sequence because (44*10^2 - 413)/9 = 443 is prime.
Initial terms and associated primes:
a(1) = 1, 3;
a(2) = 2, 443;
a(3) = 8, 488888843;
a(4) = 9, 4888888843;
a(5) = 12, 4888888888843; etc.
MATHEMATICA
Select[Range[1, 100000], PrimeQ[(44*10^# - 413)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 29 2017
EXTENSIONS
a(23) from Robert Price, Mar 03 2019
STATUS
approved