OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digit 5 followed by k-2 occurrences of the digit 3 followed by the digits 59 is prime (see Example section).
a(28) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 53w59.
EXAMPLE
4 is in this sequence because (16*10^4 + 77)/3 = 53359 is prime.
Initial terms and associated primes:
a(1) = 0, 31;
a(2) = 1, 79;
a(3) = 4, 53359;
a(4) = 11, 533333333359;
a(5) = 12, 5333333333359; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(16*10^# + 77)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Apr 23 2017
EXTENSIONS
a(24)-a(27) from Robert Price, Mar 10 2019
STATUS
approved