OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 4 followed by k-2 occurrences of the digit 5 followed by the digits 97 is prime (see Example section).
a(26) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 45w97.
EXAMPLE
5 is in this sequence because (41*10^5 + 373)/9 = 455597 is prime.
Initial terms and associated primes:
a(1) = 3, 4597;
a(2) = 5, 455597;
a(3) = 6, 4555597;
a(4) = 9, 4555555597;
a(5) = 11, 455555555597; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(41*10^# + 373)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Apr 17 2017
STATUS
approved