login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A369494
a(n) = [x^(n*(n+1)/2)] Product_{k=1..n} (x^(k*(k+1)/2) + 1/x^(k*(k+1)/2)).
0
1, 1, 0, 0, 0, 2, 0, 3, 3, 5, 0, 14, 23, 39, 0, 101, 161, 315, 0, 971, 1595, 2872, 0, 9697, 17431, 31736, 0, 103608, 190242, 356883, 0, 1218049, 2235343, 4165201, 0, 14602056, 27304610, 51182196, 0, 179995388, 339041695, 640927871, 0, 2288387318, 4326722468, 8201714149
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