OFFSET
1,3
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 6 followed by the digits 89 is prime (see Example section).
a(25) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 6w89.
EXAMPLE
4 is in this sequence because (2*10^4 + 67)/3 = 6689 is prime.
Initial terms and associated primes:
a(1) = 0, 23;
a(2) = 1, 29;
a(3) = 2, 89;
a(4) = 4, 6689;
a(5) = 7, 6666689; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(2*10^# + 67)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Apr 29 2017
STATUS
approved