|
|
A296446
|
|
Numbers k such that 10^(2k)/2 + 10^k + 1 are prime.
|
|
1
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Numbers of this form divide 10^(4k)+4.
|
|
LINKS
|
|
|
EXAMPLE
|
61, 5101, 501001, 50010001, and 50000000010000000001 are prime, while 5000100001=13*1597*240841, 500001000001=2357*212134493, etc.
|
|
MATHEMATICA
|
ParallelMap[If[PrimeQ[10^(2 #)/2 + 10^# + 1], #, Nothing] &, Range@ 4000] (* Robert G. Wilson v, Dec 13 2017 *)
|
|
PROG
|
(PARI) isok(k) = isprime(10^(2*k)/2+10^k+1); \\ Michel Marcus, Dec 13 2017
|
|
CROSSREFS
|
See A296445 for 10^(2k)/2 - 10^k + 1.
|
|
KEYWORD
|
nonn,more,changed
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|