OFFSET
1,2
COMMENTS
Numbers of this form divide 10^(3k)-8.
a(7) > 3000. - Jon E. Schoenfield, Jan 02 2018
a(8) > 50000. - Robert Price, Apr 11 2018
EXAMPLE
31, 2551, 250501, and 250000000000000500000000000001 are prime, while 25005001=7*79*103*439, 2500050001=19*2269*57991, etc.
MAPLE
select(k->isprime((10^(2*k)+2*(10^k)+4)/4), [$1..1000]); # Muniru A Asiru, Apr 11 2018
MATHEMATICA
Select[Range[10^3], PrimeQ[(10^(2 #) + 2 (10^#) + 4)/4] &] (* Michael De Vlieger, Dec 30 2017 *)
PROG
(PARI) isok(k) = isprime((10^(2*k)+2*(10^k)+4)/4); \\ Michel Marcus, Dec 30 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Patrick A. Thomas, Dec 30 2017
EXTENSIONS
a(5)-a(6) from Michel Marcus, Dec 30 2017
a(7) from Robert Price, Apr 11 2018
STATUS
approved