OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 3 followed by k-2 occurrences of the digit 9 followed by the digits 11 is prime (see Example section).
a(32) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 39w11.
EXAMPLE
3 is in this sequence because 4*10^3 - 89 = 3911 is prime.
Initial terms and associated primes:
a(1) = 2, 311;
a(2) = 3, 3911;
a(3) = 5, 399911;
a(4) = 9; 3999999911;
a(5) = 11, 399999999911; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[4*10^# - 89] &]
PROG
(PARI) lista(nn) = for(n=2, nn, if(ispseudoprime(4*10^n - 89), print1(n, ", "))); \\ Altug Alkan, Aug 03 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Aug 03 2017
EXTENSIONS
a(29)-a(31) from Robert Price, Nov 28 2018
Duplicate a(22) removed by Georg Fischer, Mar 18 2022
STATUS
approved