OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 6 followed by k-2 occurrences of the digit 9 followed by the digits 11 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 69w11.
EXAMPLE
4 is in this sequence because 7*10^4 - 89 = 69911 is prime.
Initial terms and associated primes:
a(1) = 3, 6911;
a(2) = 4, 69911;
a(3) = 6, 6999911;
a(4) = 7, 69999911;
a(5) = 12, 6999999999911; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[7*10^# - 89] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jan 31 2017
STATUS
approved