OFFSET
0,7
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..1000
MATHEMATICA
f[p_, e_] := If[EvenQ[e], p^e, 1]; a[0] = a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[Binomial[n, Floor[n/2]]]; Array[a, 100, 0]
PROG
(PARI) a(n) = {my(f = factor(binomial(n, n\2))); prod(i = 1, #f~, if(f[i, 2]%2, 1, f[i, 1]^f[i, 2])); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Sep 28 2024
STATUS
approved