OFFSET
1,1
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 6 followed by the digits 07 is prime (see Example section).
a(21) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 6w07.
EXAMPLE
3 is in this sequence because (2*10^3 - 179)/3 = 607 is prime.
Initial terms and associated primes:
a(1) = 2, 7;
a(2) = 3, 607;
a(3) = 4, 6607;
a(4) = 6, 666607;
a(5) = 9, 666666607; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(2*10^# - 179)/3] &]
PROG
(PARI) isok(k) = isprime((2*10^k - 179)/3); \\ Michel Marcus, Nov 22 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 21 2017
STATUS
approved