OFFSET
0,3
COMMENTS
Weigh transform of A001147.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..404
N. J. A. Sloane, Transforms
Eric Weisstein's World of Mathematics, Double Factorial
FORMULA
G.f.: Product_{k>=1} (1 + x^k)^A001147(k).
MAPLE
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0, add(
binomial(doublefactorial(2*i-1), j)*b(n-i*j, i-1), j=0..n/i)))
end:
a:= n-> b(n$2):
seq(a(n), n=0..23); # Alois P. Heinz, Jun 13 2018
MATHEMATICA
nmax = 21; CoefficientList[Series[Product[(1 + x^k)^(2 k - 1)!!, {k, 1, nmax}], {x, 0, nmax}], x]
a[n_] := a[n] = If[n == 0, 1, Sum[Sum[(-1)^(k/d + 1) d (2 d - 1)!!, {d, Divisors[k]}] a[n - k], {k, 1, n}]/n]; Table[a[n], {n, 0, 21}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jun 12 2018
STATUS
approved