OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digit 9 followed by k-2 occurrences of the digit 3 followed by the digits 77 is prime (see Example section).
a(30) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 93w77.
EXAMPLE
3 is in this sequence because (28*10^3 + 131)/3 = 9377 is prime.
Initial terms and associated primes:
a(1) = 0, 53;
a(2) = 1, 137;
a(3) = 2, 977;
a(4) = 3, 9377;
a(5) = 4, 93377; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(28*10^# + 131)/3] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Feb 23 2017
STATUS
approved