OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1,0,4,-2).
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1+2x+2x^2-2x^3), {x, 0, 40}], x] (* Harvey P. Dale, Jan 20 2019 *)
(* Alternative: *)
LinearRecurrence[{-1, 0, 4, -2}, {1, -1, 1, 3}, 40] (* Harvey P. Dale, Jan 20 2019 *)
CROSSREFS
KEYWORD
sign,easy,changed
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved
