OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 4 followed by k-2 occurrences of the digit 3 followed by the digits 97 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 43w97.
EXAMPLE
3 is in this sequence because (13*10^3 + 191)/3 = 4397 is prime.
Initial terms and associated primes:
a(1) = 1, 107;
a(2) = 3, 4397;
a(3) = 4, 43397;
a(4) = 18; 4333333333333333397;
a(5) = 28, 43333333333333333333333333397; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(13*10^# + 191)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Aug 14 2017
EXTENSIONS
a(26) from Robert Price, Nov 28 2018
STATUS
approved