OFFSET
1,2
FORMULA
a(n) = Sum_{j=1..n} (n+1)^(j-2)*(n-j+2)*j*(2*n-j-1)!/(n-j)!/n! - Paul D. Hanna and Max Alekseyev.
EXAMPLE
Successive self-compositions of F(x), the g.f. of A120009, begin:
F(x) = x + x^2 + x^3 - 6x^5 - 33x^6 - 143x^7 - 572x^8 - 2210x^9 +...
F(F(x)) = (1)x + 2x^2 + 4x^3 + 6x^4 - 4x^5 - 100x^6 - 664x^7 +...
F(F(F(x))) = x + (3)x^2 + 9x^3 + 24x^4 + 42x^5 - 87x^6 - 1575x^7 +...
F(F(F(F(x)))) = x + 4x^2 + (16)x^3 + 60x^4 + 192x^5 + 360x^6 +...
F(F(F(F(F(x))))) = x + 5x^2 + 25x^3 + (120)x^4 + 530x^5 +1955x^6 +...
F(F(F(F(F(F(x)))))) = x + 6x^2 + 36x^3 +210x^4 + (1164)x^5 +5892x^6+...
PROG
(PARI) {a(n)=sum(j=1, n, (n+1)^(j-2)*(n-j+2)*j*(2*n-j-1)!/(n-j)!/n!)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 12 2006
STATUS
approved