OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1,-1,2).
FORMULA
Recurrence: a(n) = 2a(n-3) - a(n-2) - a(n-1), starting 1,-2,1. - Ralf Stephan, Aug 18 2013
MATHEMATICA
CoefficientList[Series[(1-x)/(1+x+x^2-2*x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[{-1, -1, 2}, {1, -2, 1}, 50] (* Harvey P. Dale, Jun 12 2016 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved