OFFSET
0,4
EXAMPLE
G.f.: A(x) = 1 + x + x^2 + 2*x^3 + 5*x^4 + 14*x^5 + 43*x^6 + 140*x^7 +...
where
A(x) = 1 + x*A(x)/(1+x*A(x)) + x^2*A(x)^3/((1+x*A(x))*(1+x*A(x)^2)) + x^3*A(x)^6/((1+x*A(x))*(1+x*A(x)^2)*(1+x*A(x)^3)) + x^4*A(x)^10/((1+x*A(x))*(1+x*A(x)^2)*(1+x*A(x)^3)*(1+x*A(x)^4)) +...
PROG
(PARI) {a(n)=local(A=1+x); for(i=1, n, A=sum(m=0, n, x^m*A^(m*(m+1)/2)/prod(k=1, m, 1+x*subst(A, x, x+x*O(x^n))^k))); polcoeff(A, n)}; \\ corrected by Georg Fischer, Jun 20 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jan 20 2013
STATUS
approved