OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 3 followed by k-2 occurrences of the digit 0 followed by the digits 89 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 30w89.
EXAMPLE
3 is in this sequence because 3*10^3 + 89 = 3089 is prime.
Initial terms and associated primes:
a(1) = 2, 389;
a(2) = 3, 3089;
a(3) = 4, 30089;
a(4) = 5, 300089;
a(5) = 6, 3000089; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[3*10^# + 89] &]
PROG
(PARI) isok(k) = ispseudoprime(3*10^k + 89); \\ Altug Alkan, Mar 30 2018
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Mar 23 2017
EXTENSIONS
a(26) from Robert Price, Oct 22 2018
STATUS
approved