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