login
A077928
Expansion of (1-x)^(-1)/(1+2*x+x^2-2*x^3).
0
1, -1, 2, 0, -3, 11, -18, 20, 1, -57, 154, -248, 229, 99, -922, 2204, -3287, 2527, 2642, -14384, 31181, -42693, 25438, 54180, -219183, 435063, -542582, 211736, 989237, -3275373, 5984982, -6716116, 896505, 16893071, -48114878, 81129696, -80358371, -16642709, 275903182, -695880396
OFFSET
0,3
FORMULA
a(0)=1, a(1)=-1, a(2)=2, a(3)=0, a(n) = -a(n-1)+a(n-2)+3*a(n-3)-2*a(n-4). [Harvey P. Dale, May 09 2012]
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1+2 x+x^2-2 x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[{-1, 1, 3, -2}, {1, -1, 2, 0}, 40] (* Harvey P. Dale, May 09 2012 *)
CROSSREFS
Sequence in context: A327244 A325816 A121065 * A105418 A368584 A368583
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved