OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digit 8 followed by k-2 occurrences of the digit 2 followed by the digits 37 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 82w37.
EXAMPLE
3 is in this sequence because (74*10^3 + 133)/9 = 8237 is prime.
Initial terms and associated primes:
a(1) = 0, 23;
a(2) = 1, 97;
a(3) = 3, 8237;
a(4) = 4, 82237;
a(5) = 7, 82222237; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(74*10^# + 133)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Oct 04 2017
EXTENSIONS
a(25)-a(26) from Robert Price, Jun 21 2019
STATUS
approved