OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 3 followed by the digits 89 is prime (see Example section).
a(24) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 23w89.
EXAMPLE
3 is in this sequence because (7*10^3 + 167)/3 = 2389 is prime.
Initial terms and associated primes:
a(1) = 1, 79;
a(2) = 3, 2389;
a(3) = 6, 2333389;
a(4) = 7, 23333389;
a(5) = 8, 233333389; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(7*10^# + 167)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 15 2017
STATUS
approved
