OFFSET
1,1
COMMENTS
For k > 2, numbers k such that k-3 occurrences of the digit 9 followed by the digits 299 is prime (see Example section).
a(25) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 9w299.
EXAMPLE
7 is in this sequence because 10^7 - 701 = 9999299 is prime.
Initial terms and associated primes:
a(1) = 7, 9999299;
a(2) = 13, 9999999999299;
a(3) = 22, 9999999999999999999299;
a(4) = 28, 9999999999999999999999999299;
a(5) = 29, 99999999999999999999999999299; etc.
MATHEMATICA
Select[Range[3, 100000], PrimeQ[10^# - 701] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jun 12 2017
STATUS
approved