OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digit 5 followed by k-2 occurrences of the digit 3 followed by the digits 47 is prime (see Example section).
a(28) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 53w47.
EXAMPLE
2 is in this sequence because (16*10^2 + 41)/3 = 547 is prime.
Initial terms and associated primes:
a(1) = 0, 19;
a(2) = 1, 67;
a(3) = 2, 547;
a(4) = 3, 5347;
a(5) = 6, 5333347; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(16*10^# + 41)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 29 2017
EXTENSIONS
a(26)-a(27) from Robert Price, Mar 13 2019
STATUS
approved