OFFSET
1,3
COMMENTS
A(A(A(A(A(x))))) is the 5th self-composition of the g.f. A(x).
EXAMPLE
G.f.: A(x) = x + x^2 + 20*x^3 + 1070*x^4 + 82620*x^5 +...
A(A(x)) = x + 2*x^2 + 42*x^3 + 2241*x^4 + 172960*x^5 +...
A(A(A(x))) = x + 3*x^2 + 66*x^3 + 3519*x^4 + 271550*x^5 +...
A(A(A(A(x)))) = x + 4*x^2 + 92*x^3 + 4910*x^4 + 378944*x^5 +...
A(A(A(A(A(x))))) = x + 5*x^2 + 120*x^3 + 6420*x^4 + 495720*x^5 +...
so that 6*A(x) = A(A(A(A(A(x))))) + 5*x + x^2.
PROG
(PARI) {a(n)=local(A=x+x^2, G); if(n<1, 0, for(i=3, n+1, G=x; for(j=1, 5, G=subst(A, x, G+x*O(x^i))); A=A+polcoeff(G, i)*x^i); polcoeff(A, n))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Apr 03 2008
STATUS
approved