OFFSET
1,1
COMMENTS
For k > 0, numbers k such that the digits 66 followed by k-1 occurrences of the digit 3 followed by the digit 7 is prime (see Example section).
a(23) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 663w7.
EXAMPLE
3 is in this sequence because (199*10^3 + 11)/3 = 66337 is prime.
Initial terms and associated primes:
a(1) = 2, 6637;
a(2) = 3, 66337;
a(3) = 8, 6633333337;
a(4) = 10, 663333333337;
a(5) = 13, 663333333333337; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(199*10^# + 11)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, May 01 2017
STATUS
approved