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