OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the number consisting of k-2 occurrences of the digit 6 followed by the digits 43 is prime (see Example section).
a(32) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 6w43.
EXAMPLE
5 is in this sequence because (2*10^5 - 71) / 3 = 66643 is prime.
Initial terms and associated primes:
a(1) = 2, 43;
a(2) = 3, 643;
a(3) = 5, 66643;
a(4) = 6, 666643;
a(5) = 8, 66666643; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(2*10^# - 71) / 3] &]
PROG
(PARI) is(n)=isprime((2*10^n - 71)/3) \\ Charles R Greathouse IV, Jan 03 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jan 03 2017
EXTENSIONS
a(29) - a(31) from Robert Price, Dec 31 2017
STATUS
approved