OFFSET
0,2
REFERENCES
J. M. Borwein and P. B. Borwein, Pi and the AGM, Wiley, 1987, p. 265-266, Exercise 7.
FORMULA
G.f.: A(x) satisfies A(x) = (1 + 2*x) * A(x^2 / (1 + 2*x)^2), A(0) = 1.
a(n) = (-1)^n * Sum_{k>0} 2^(n - 2*k) * a(k) * binomial(n-2, n-2*k), n>1.
EXAMPLE
1 + 2*x + 2*x^2 - 4*x^3 + 10*x^4 - 28*x^5 + 76*x^6 - 184*x^7 + ...
PROG
(PARI) {a(n) = local(A, m); if( n<0, 0, m=1; A = 1 + O(x); while( m<=n, m*=2; A = (1 + 2*x) * subst(A, x, x^2 / (1 + 2*x)^2)); polcoeff(A, n))}
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Michael Somos, Dec 05 2002
STATUS
approved