OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, 0, -1, 1).
FORMULA
a(n)=2*a(n-1)-a(n-3)+a(n-4); 4 initial terms required.
G.f.: (x^3+2x^2-3x)/(x^4-x^3+2x-1). - _Harvey P. Dale, Apr 26 2011
MATHEMATICA
LinearRecurrence[{2, 0, -1, 1}, {0, 3, 4, 7}, 40] (* or *) CoefficientList[ Series[(x^3+2x^2-3x)/(x^4-x^3+2x-1), {x, 0, 50}], x] (* Harvey P. Dale, Apr 26 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved