OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 5 followed by k-2 occurrences of the digit 0 followed by the digits 41 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 50w41.
EXAMPLE
2 is in this sequence because 5*10^2 + 41 = 541 is prime.
Initial terms and associated primes:
a(1) = 2, 541;
a(2) = 5, 500041;
a(3) = 8, 500000041;
a(4) = 24, 5000000000000000000000041;
a(5) = 35, 500000000000000000000000000000000041; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[5*10^# + 41] &]
PROG
(PARI) isok(k) = ispseudoprime(5*10^k + 41); \\ Altug Alkan, Aug 27 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Aug 27 2017
EXTENSIONS
a(24)-a(26) from Robert Price, Mar 07 2019
STATUS
approved