OFFSET
1,1
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 6 followed by the digits 47 is prime (see Example section).
a(25) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 6w47.
EXAMPLE
3 is in this sequence because (2*10^3 - 59)/3 = 647 is prime.
Initial terms and associated primes:
a(1) = 2, 47;
a(2) = 3, 647;
a(3) = 6, 666647;
a(4) = 9, 666666647;
a(5) = 10, 6666666647; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(2*10^# - 59)/3] &]
PROG
(PARI) isok(k) = isprime((2*10^k-59)/3); \\ Michel Marcus, Mar 06 2018
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, May 09 2017
STATUS
approved