login
A077892
Expansion of (1-x)^(-1)/(1+2*x^2-x^3).
3
1, 1, -1, 0, 4, 0, -7, 5, 15, -16, -24, 48, 33, -119, -17, 272, -84, -560, 441, 1037, -1441, -1632, 3920, 1824, -9471, 273, 20767, -10016, -41260, 40800, 72505, -122859, -104209, 318224, 85560, -740656, 147105, 1566873, -1034865, -2986640, 3636604, 4938416, -10259847, -6240227
OFFSET
0,5
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
Sequence in context: A336029 A272876 A133930 * A117543 A242970 A070433
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved