OFFSET
1,3
COMMENTS
A generator is a leaf or a node with just one child.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..200
N. J. A. Sloane, Transforms
FORMULA
G.f. satisfies (2-x)*A(x) = x - 1 + WEIGH(A(x)).
PROG
(PARI) WeighT(v)={Vec(exp(x*Ser(dirmul(v, vector(#v, n, (-1)^(n-1)/n))))-1, -#v)}
seq(n)={my(v=[1]); for(n=2, n, v=concat(v, v[#v] + WeighT(concat(v, [0]))[n])); v} \\ Andrew Howroyd, Aug 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Christian G. Bower, Jun 07 2005
STATUS
approved