OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 6 followed by k-2 occurrences of the digit 5 followed by the digits 47 is prime (see Example section).
a(22) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 15w41.
EXAMPLE
4 is in this sequence because (14*10^4 - 131)/9 = 15541 is prime.
Initial terms and associated primes:
a(1) = 4, 15541;
a(2) = 7, 15555541;
a(3) = 10, 15555555541;
a(4) = 27, 1555555555555555555555555541;
a(5) = 40, 15555555555555555555555555555555555555541; etc.
MATHEMATICA
Select[Range[1, 100000], PrimeQ[(14*10^# - 131)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 10 2017
STATUS
approved