OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 7 followed by k-2 occurrences of the digit 3 followed by the digits 21 is prime (see Example section).
a(26) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 73w21.
EXAMPLE
3 is in this sequence because (22*10^3 - 37)/3 = 7321 is prime.
Initial terms and associated primes:
a(1) = 1, 61;
a(2) = 3, 7321;
a(3) = 5, 733321;
a(4) = 6, 7333321;
a(5) = 11, 733333333321; etc.
MATHEMATICA
Select[Range[1, 100000], PrimeQ[(22*10^# - 37)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, May 09 2017
EXTENSIONS
a(25) from Robert Price, Apr 15 2019
STATUS
approved