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