OFFSET
1,1
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 6 followed by the digits 01 is prime (see Example section).
a(22) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 6w01.
EXAMPLE
3 is in this sequence because (2*10^3 - 197)/3 = 601 is prime.
Initial terms and associated primes:
a(1) = 3, 601;
a(2) = 5, 66601;
a(3) = 17, 66666666666666601;
a(4) = 20, 66666666666666666601;
a(5) = 21, 666666666666666666601; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(2*10^# - 197)/3] &]
PROG
(PARI) isok(k) = isprime((2*10^k - 197)/3); \\ Michel Marcus, Nov 22 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 21 2017
STATUS
approved