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