OFFSET
1,1
COMMENTS
For k > 2, numbers k such that k-3 occurrences of the digit 9 followed by the digits 199 is prime (see Example section).
a(35) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 9w199.
EXAMPLE
6 is in this sequence because 10^6-801 = 999199 is prime.
Initial terms and associated primes:
a(1) = 3, 199;
a(2) = 4, 9199;
a(3) = 6, 999199;
a(4) = 14, 99999999999199;
a(5) = 15, 999999999999199, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[10^#-801] &]
PROG
(PARI) is(n)=ispseudoprime(10^n-801) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Apr 11 2016
EXTENSIONS
a(34) from Robert Price, Feb 14 2018
STATUS
approved