OFFSET
0,3
COMMENTS
a(n) is the coefficient of x^(n^2 * (n+1)/2) in Product_{k=0..n} (1 + x^k + x^(2*k))^n.
LINKS
Robert Israel, Table of n, a(n) for n = 0..44
MAPLE
f:= n -> coeff(mul(x^k+1+1/x^k, k=1..n)^n, x, 0):
map(f, [$0..12]); # Robert Israel, Jan 15 2023
MATHEMATICA
a[n_] := Coefficient[Series[Product[(x^k + 1 + 1/x^k)^n, {k, 1, n}], {x, 0, 0}], x, 0]; Array[a, 11, 0] (* Amiram Eldar, Dec 24 2021 *)
PROG
(PARI) a(n) = polcoef(prod(k=1, n, x^k+1+1/x^k)^n, 0);
(PARI) a(n) = polcoef(prod(k=1, n, 1+x^k+x^(2*k))^n, n^2*(n+1)/2);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Dec 23 2021
STATUS
approved