OFFSET
3,3
FORMULA
G.f.: (-1 + Product_{k>=1} (1 + x^(2*k - 1)))^3.
a(n) ~ A107635(n). - Vaclav Kotesovec, Feb 20 2021
MAPLE
g:= proc(n) option remember; `if`(n=0, 1, add(add([0, d, -d, d]
[1+irem(d, 4)], d=numtheory[divisors](j))*g(n-j), j=1..n)/n)
end:
b:= proc(n, k) option remember; `if`(k<2, `if`(n=0, 1-k, g(n)),
(q-> add(b(j, q)*b(n-j, k-q), j=0..n))(iquo(k, 2)))
end:
a:= n-> b(n, 3):
seq(a(n), n=3..52); # Alois P. Heinz, Feb 07 2021
MATHEMATICA
nmax = 52; CoefficientList[Series[(-1 + Product[1/(1 + (-x)^k), {k, 1, nmax}])^3, {x, 0, nmax}], x] // Drop[#, 3] &
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 07 2021
STATUS
approved