OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 9 followed by k-2 occurrences of the digit 2 followed by the digits 19 is prime (see Example section).
a(26) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 92w19.
EXAMPLE
4 is in this sequence because (83*10^4 - 29) / 9 = 92219 is prime.
Initial terms and associated primes:
a(1) = 1, 89;
a(2) = 2, 919;
a(3) = 4, 92219;
a(4) = 10, 92222222219;
a(5) = 28, 92222222222222222222222222219; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(83*10^# - 29) / 9] &]
PROG
(PARI) isok(n) = isprime((83*10^n - 29)/9); \\ Michel Marcus, Nov 21 2016
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 21 2016
STATUS
approved