[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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