OFFSET
0,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,1,-1).
FORMULA
a(n) = sum(k=1..n/2, sum(j=0..k, binomial(j,n-4*k+2*j)*(-1)^(k-j)*binomial(k,j))), n>0, a(0)=1. - Vladimir Kruchinin, Oct 21 2011
a(-3-n) = -A023434(n) for all n in Z. - Michael Somos, Sep 25 2014
EXAMPLE
G.f. = 1 + x^2 + x^3 + 2*x^5 + x^7 + 2*x^8 - x^9 + 3*x^10 + 4*x^13 + ...
MATHEMATICA
CoefficientList[ Series[1/((1 - x) (1 + x - x^3)), {x, 0, 68}], x] (* Robert G. Wilson v, Oct 29 2011 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved