OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 1 followed by k - 2 occurrences of the digit 6 followed by the digits 27 is prime (see Example section).
a(37) > 2*10^5.
LINKS
Makoto Kamada, Search for 16w27.
EXAMPLE
3 is in this sequence because (5*10^3 - 119)/3 = 1627 is prime.
Initial terms and associated primes:
a(1) = 2, 127;
a(2) = 3, 1627;
a(3) = 5, 166627;
a(4) = 6, 1666627;
a(5) = 8, 166666627, etc.
MATHEMATICA
Select[Range[10^5], PrimeQ[(5 * 10^# - 119)/3] &]
PROG
(PARI) is(n)=ispseudoprime((5*10^n-119)/3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Apr 05 2016
EXTENSIONS
a(35)-a(36) from Robert Price, Mar 29 2018
STATUS
approved