OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digits 60 followed by k-1 occurrences of the digit 6 followed by the digit 7 is prime (see Example section).
a(29) > 3*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 606w7.
EXAMPLE
2 is in this sequence because (182*10^2 + 1)/3 = 6067 is prime.
Initial terms and associated primes:
a(1) = 0, 61;
a(2) = 1, 607;
a(3) = 2, 6067;
a(4) = 6, 60666667;
a(5) = 8, 6066666667; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(182*10^# + 1)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Feb 13 2017
EXTENSIONS
a(26)-a(27) from Robert Price, Feb 27 2020
a(28) from Robert Price, Oct 25 2023
STATUS
approved