OFFSET
1,2
COMMENTS
For k > 1, numbers k such that k-2 occurrences of the digit 4 followed by the digits 61 is prime (see Example section).
a(32) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 4w61.
EXAMPLE
3 is in this sequence because (4*10^3 + 149)/9 = 461 is prime.
Initial terms and associated primes:
a(1) = 0, 17;
a(2) = 2, 61;
a(3) = 3, 461;
a(4) = 6, 444461;
a(5) = 12, 444444444461; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(4*10^# + 149)/9] &]
PROG
(PARI) isok(k) = ispseudoprime((4*10^k + 149)/9); \\ Altug Alkan, Apr 12 2018
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Mar 30 2017
EXTENSIONS
a(28)-a(31) from Robert Price, Apr 12 2018
STATUS
approved