OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 5 followed by k-2 occurrences of the digit 2 followed by the digits 37 is prime (see Example section).
a(28) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 52w37.
EXAMPLE
4 is in this sequence because (47*10^4 + 133)/9 = 52237 is prime.
Initial terms and associated primes:
a(1) = 1, 67;
a(2) = 3, 5237;
a(3) = 4, 52237;
a(4) = 6, 5222237;
a(5) = 7, 52222237; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(47*10^# + 133)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Apr 17 2017
STATUS
approved