OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (-2,-2,2).
FORMULA
G.f.: (1-x)/(1+2*x+2*x^2-2*x^3).
a(n) = -2*a(n-1) - 2*a(n-2) + 2*a(n-3). - Wesley Ivan Hurt, Nov 17 2022
MATHEMATICA
CoefficientList[Series[(1-x)/(1+2x+2x^2-2x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[{-2, -2, 2}, {1, -3, 4}, 40] (* Harvey P. Dale, May 03 2018 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved