OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 3 followed by k-2 occurrences of the digit 6 followed by the digits 07 is prime (see Example section).
a(28) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 36w07.
EXAMPLE
4 is in this sequence because (11*10^4 - 179) / 3 = 36607 is prime.
Initial terms and associated primes:
a(1) = 2, 307;
a(2) = 3, 3607;
a(3) = 4, 36607;
a(4) = 5, 366607;
a(5) = 7, 36666607; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(11*10^# - 179) / 3] &]
PROG
(Magma) [n: n in [2..400] | IsPrime((11*10^n-179) div 3)]; // Vincenzo Librandi, Nov 23 2016
(PARI) is(n)=ispseudoprime((11*10^n - 179)/3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 22 2016
EXTENSIONS
a(26)-a(27) from Robert Price, Sep 22 2018
STATUS
approved