OFFSET
1,1
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 7 followed by the digits 29 is prime (see Example section).
a(24) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 7w29.
EXAMPLE
2 is in this sequence because (7*10^2 - 439)/9 = 29 is prime.
Initial terms and associated primes:
a(1) = 2, 29;
a(2) = 20, 77777777777777777729;
a(3) = 34, 7777777777777777777777777777777729;
a(4) = 35, 77777777777777777777777777777777729;
a(5) = 65, 77777777777777777777777777777777777777777777777777777777777777729; etc.
MATHEMATICA
Select[Range[1, 100000], PrimeQ[(4*10^# + 137)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Sep 28 2017
EXTENSIONS
a(23) from Robert Price, Feb 14 2018
STATUS
approved