OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1, 4, -4, 2).
FORMULA
a(0)=1, a(1)=-1, a(2)=5, a(3)=-13, a(n)=a(n-1)+4*a(n-2)-4*a(n-3)+2*a(n-4). - Harvey P. Dale, Aug 22 2013
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1+2x-2x^2+2x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[{-1, 4, -4, 2}, {1, -1, 5, -13}, 40] (* Harvey P. Dale, Aug 22 2013 *)
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved