OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digits 47 followed by k occurrences of the digit 1 is prime (see Example section).
a(23) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 471w.
EXAMPLE
3 is in this sequence because (424*10^3 - 1)/9 = 47111 is prime.
Initial terms and associated primes:
a(1) = 0, 47;
a(2) = 3, 47111;
a(3) = 11, 4711111111111;
a(4) = 33, 47111111111111111111111111111111111; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(424*10^# - 11)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 24 2017
STATUS
approved