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 17 is prime (see Example section).
a(24) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 69w17.
EXAMPLE
3 is in this sequence because 7*10^3 - 83 = 6917 is prime.
Initial terms and associated primes:
a(1) = 2, 617;
a(2) = 3, 6917;
a(3) = 11, 699999999917;
a(4) = 15, 6999999999999917;
a(5) = 23, 699999999999999999999917; etc.
MATHEMATICA
Select[Range[1, 100000], PrimeQ[7*10^# - 83] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Sep 28 2017
STATUS
approved