OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digits 11 followed by k-1 occurrences of the digit 9 followed by the digit 3 is prime (see Example section).
a(26) > 3*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 119w3.
EXAMPLE
2 is in this sequence because 12*10^2 - 7 = 1193 is prime.
Initial terms and associated primes:
a(1) = 0, 5;
a(2) = 1, 113;
a(3) = 2, 1193;
a(4) = 4, 119993;
a(5) = 5, 1199993; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[12*10^# - 7 ] &]
PROG
(PARI) isok(k) = isprime(12*10^k - 7); \\ Michel Marcus, Nov 13 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 12 2017
STATUS
approved