OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 7 followed by k-2 occurrences of the digit 6 followed by the digits 19 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 76w19.
EXAMPLE
2 is in this sequence because (23*10^2 - 143) / 3 = 719 is prime.
Initial terms and associated primes:
a(1) = 1, 29;
a(2) = 2, 719;
a(3) = 6, 7666619;
a(4) = 7, 76666619;
a(5) = 14, 766666666666619; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(23*10^# - 143) / 3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jan 16 2017
EXTENSIONS
a(25)-a(26) from Robert Price, Dec 04 2019
STATUS
approved