OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digits 88 followed by k-1 occurrences of the digit 3 followed by the digit 7 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 883w7.
EXAMPLE
3 is in this sequence because (265*10^3 + 11)/3 = 88337 is prime.
Initial terms and associated primes:
a(1) = 1, 887;
a(2) = 2, 8837;
a(3) = 3, 88337;
a(4) = 5, 8833337;
a(5) = 14, 8833333333333337; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(265*10^# + 11)/3] &]
PROG
(PARI) isok(n) = isprime((265*10^n + 11)/3); \\ Indranil Ghosh, Mar 09 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Mar 07 2017
STATUS
approved