OFFSET
1,2
EXAMPLE
The coefficients of x^k, k>=1, in the n-th iterations of x+x^2 begin:
n=1: [(1), 1];
n=2: [1, 2, (2), 1];
n=3: [1, 3, 6, 9, (10), 8, 4, 1];
n=4: [1, 4, 12, 30, 64, 118, (188), 258, 302, 298, 244,162,84,32,8,1];
n=5: [1, 5, 20, 70, 220, 630, 1656, 4014, (8994), 18654, 35832,...];
n=6: [1, 6, 30, 135, 560, 2170, 7916, 27326, 89582, 279622, (832680), ...]; ...
coefficients in parenthesis form the initial terms of this sequence.
PROG
(PARI) {a(n)=local(A=x, G=x+x^2); for(i=1, n, A=subst(G, x, A+x*O(x^(2*n)))); polcoeff(A, 2*n-1)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Sep 06 2011
STATUS
approved