OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 3 followed by the digits 51 is prime (see Example section).
a(26) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 23w51.
EXAMPLE
2 is in this sequence because (7*10^2 + 53)/3 = 251 is prime.
Initial terms and associated primes:
a(1) = 1, 41;
a(2) = 2, 251;
a(3) = 3, 2351;
a(4) = 7, 23333351;
a(5) = 20, 233333333333333333351; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(7*10^# + 53)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 14 2017
EXTENSIONS
a(24)-a(25) from Robert Price, May 20 2018
STATUS
approved