OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 4 followed by k-2 occurrences of the digit 0 followed by the digits 91 is prime (see Example section).
a(31) > 3*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 40w91.
EXAMPLE
2 is in this sequence because 4*10^2 + 91 = 491 is prime.
Initial terms and associated primes:
a(1) = 1, 131;
a(2) = 2, 491;
a(3) = 3, 4091;
a(4) = 8, 400000091;
a(5) = 10, 40000000091; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[4*10^# + 91] &]
PROG
(PARI) isok(k) = isprime(4*10^k + 91); \\ Michel Marcus, Nov 13 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 12 2017
EXTENSIONS
a(26)-a(29) from Robert Price, Aug 18 2018
a(30) from Robert Price, Jun 01 2023
STATUS
approved