OFFSET
1,2
EXAMPLE
G.f.: Let A(x) = x + 6*x^2 + 6*x^3 + 3*x^4 + 4*x^5 + 4*x^6 + ...
then A(x) = B(B(B(B(B(B(x)))))) where B(x) = x + x^2 - 4*x^3 + 28*x^4 - 236*x^5 + 2159*x^6 + ... is the g.f. of A112113.
PROG
(PARI) {a(n, m=6)=local(F=x+x^2+x*O(x^n), G); if(n<1, 0, for(k=3, n, G=F+x*O(x^k); for(i=1, m-1, G=subst(F, x, G)); F=F-((polcoeff(G, k)-1)\m)*x^k); G=F+x*O(x^n); for(i=1, m-1, G=subst(F, x, G)); return(polcoeff(G, n, x)))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Aug 27 2005
STATUS
approved