|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|