OFFSET
0,3
FORMULA
a(n) = [x^n] {1 + H(x)}, where H(x) is the (n+2)-th self-composition of G(x) and G(x) = x + x*G(G(x)) is the g.f. of A030266.
PROG
(PARI) {a(n)=local(A=1+x, B); for(i=0, n, A=1+x*A*subst(A, x, x*A+x*O(x^n))); B=A; for(i=1, n, B=subst(B, x, x*A+x*O(x^n))); polcoeff(B, n)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Mar 11 2007
STATUS
approved