OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 1 followed by the digits 93 is prime (see Example section).
a(25) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 21w93.
EXAMPLE
2 is in this sequence because (19*10^2 + 737)/9 = 293 is prime.
Initial terms and associated primes:
a(1) = 1, 103;
a(2) = 2, 293;
a(3) = 4, 21193;
a(4) = 5, 211193;
a(5) = 8, 211111193; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(19*10^# + 737)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 11 2017
EXTENSIONS
a(23)-a(24) from Robert Price, Jul 13 2018
STATUS
approved