OFFSET
0,6
MAPLE
b:= proc(n, i) option remember; (m-> `if`(n>m, 0,
`if`(n=m, 1, b(abs(n-i*(i+1)/2), i-1)+
b(n+i*(i+1)/2, i-1))))((2+(3+i)*i)*i/6)
end:
a:= n-> `if`(irem(n, 4)=2, 0, b(n*(n+1)/2, n)):
seq(a(n), n=0..45); # Alois P. Heinz, Jan 24 2024
MATHEMATICA
Table[Coefficient[Product[x^(k (k + 1)/2) + 1/x^(k (k + 1)/2), {k, 1, n}], x, n (n + 1)/2], {n, 0, 45}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 24 2024
STATUS
approved