OFFSET
0,3
FORMULA
Given g.f. A(x), then series reversion of B(x)=x*A(x^3) is -B(-x).
Given g.f. A(x), then y=x*A(x^3) satisfies y=x+(xy)^2/(1-(xy)^6).
PROG
(PARI) {a(n)=local(A); if(n<0, 0, A=x+O(x^4); for(k=1, n, A=x+subst(x^2/(1-x^6), x, x*A)); polcoeff(A, 3*n+1))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Sep 20 2005
STATUS
approved