OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 6 followed by the digits 39 is prime (see Example section).
a(22) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 26w39.
EXAMPLE
2 is in this sequence because (8*10^2 - 83)/3 = 239 is prime.
Initial terms and associated primes:
a(1) = 2: 239;
a(2) = 12: 2666666666639;
a(3) = 18: 2666666666666666639;
a(4) = 24: 2666666666666666666666639;
a(5) = 42: 2666666666666666666666666666666666666666639; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(8*10^# - 83)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 17 2017
STATUS
approved