OFFSET
9,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 9..10000
FORMULA
G.f.: (-1 + Product_{k>=1} (1 + x^(2*k - 1)))^9.
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, 9):
seq(a(n), n=9..44); # Alois P. Heinz, Feb 07 2021
MATHEMATICA
nmax = 44; CoefficientList[Series[(-1 + Product[1/(1 + (-x)^k), {k, 1, nmax}])^9, {x, 0, nmax}], x] // Drop[#, 9] &
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 07 2021
STATUS
approved