OFFSET
1,2
COMMENTS
Numbers k such that the digits 89 followed by k occurrences of the digit 3 is prime (see Example section).
a(24) > 10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 893w.
EXAMPLE
2 is in this sequence because (268*10^2 - 1)/3 = 8933 is prime.
Initial terms and associated primes:
a(1) = 0, 89;
a(2) = 2, 8933;
a(3) = 6, 89333333;
a(4) = 7, 893333333;
a(5) = 12, 89333333333333; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(268*10^# - 1)/3] &]
PROG
(PARI) isok(k) = isprime((268*10^k - 1)/3); \\ Altug Alkan, Oct 11 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 11 2017
STATUS
approved