OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 1 followed by k-2 occurrences of the digit 9 followed by the digits 13 is prime (see Example section).
a(33) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 19w13.
EXAMPLE
3 is in this sequence because 2*10^3 - 87 = 1913 is prime.
Initial terms and associated primes:
a(1) = 2, 113;
a(2) = 3, 1913;
a(3) = 4, 19913;
a(4) = 9, 1999999913;
a(5) = 10, 19999999913, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[2*10^# - 87] &]
PROG
(PARI) is(n)=ispseudoprime(2*10^n - 87) \\ Charles R Greathouse IV, Jun 08 2016
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Jun 03 2016
EXTENSIONS
a(30)-a(32) from Robert Price, Apr 13 2018
STATUS
approved