OFFSET
1,2
FORMULA
G.f. A(x) satisfies A(x^2) = -A(x) * A(-x) and 0 = f(A(x), A(x^2)) where f(u, v) = -u^2 + v + 6*u*v.
EXAMPLE
x + 3*x^2 + 6*x^3 + 9*x^4 + 12*x^5 + 18*x^6 + 27*x^7 + 27*x^8 + ...
PROG
(PARI) {a(n) = local(A, m); if( n<1, 0, A = x + O(x^2); m=1; while( m<=n, m*=2; A = subst(A, x, x^2); A = 3*A + sqrt(A + 9*A^2)); polcoeff(A, n))}
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Mar 22 2004
STATUS
approved