OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 7 followed by k-2 occurrences of the digit 5 followed by the digits 09 is prime (see Example section).
a(23) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 75w09.
EXAMPLE
2 is in this sequence because (68*10^2 - 419)/9 = 709 is prime.
Initial terms and associated primes:
a(1) = 1, 29;
a(2) = 2, 709;
a(3) = 5, 755509;
a(4) = 8, 755555509;
a(5) = 11, 755555555509; etc.
MATHEMATICA
Select[Range[1, 100000], PrimeQ[(68*10^# - 419)/9] &]
PROG
(PARI) isok(k) = isprime((68*10^k - 419)/9); \\ Michel Marcus, Oct 30 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 29 2017
EXTENSIONS
a(22) from Robert Price, Jul 27 2019
STATUS
approved