OFFSET
1,2
COMMENTS
For k > 0, numbers k such that the digits 93 followed by k-1 occurrences of the digit 9 followed by the digit 7 is prime (see Example section).
a(29) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 939w7.
EXAMPLE
3 is in this sequence because 94*10^n - 3 = 93997 is prime.
Initial terms and associated primes:
a(1) = 1, 937;
a(2) = 2, 9397;
a(3) = 3, 93997;
a(4) = 4, 939997;
a(5) = 8, 9399999997, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[94*10^# - 3] &]
PROG
(PARI) is(n)=ispseudoprime(94*10^n - 3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Nov 16 2016
EXTENSIONS
a(27)-a(28) from Robert Price, May 03 2020
STATUS
approved