OFFSET
1,3
EXAMPLE
G.f.: A(x) = x + x^2 + 2*x^3 + 13*x^4 + 184*x^5 + 4725*x^6 +...
where
A(A(x)) = x*(1+x) + x^2*(1+x)^4 + 2*x^3*(1+x)^9 + 13*x^4*(1+x)^16 + 184*x^5*(1+x)^25 + 4725*x^6*(1+x)^36 +...+ a(n)*x^n*(1+x)^(n^2) +...
Explicitly,
A(A(x)) = x + 2*x^2 + 6*x^3 + 37*x^4 + 468*x^5 + 11054*x^6 + 421428*x^7 +...
PROG
(PARI) {a(n)=local(A=[1], F=x, G=x); for(i=1, n, A=concat(A, 0); F=x*Ser(A);
G=sum(m=1, #A-1, A[m]*x^m*(1+x+x*O(x^#A))^(m^2));
A[#A]=Vec(G)[#A]-Vec(subst(F, x, F))[#A]); if(n<1, 0, A[n])}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jul 19 2011
STATUS
approved