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”).

A077897
Expansion of (1-x)^(-1)/(1+x-2*x^2-x^3).
1
1, 0, 3, -1, 8, -6, 22, -25, 64, -91, 195, -312, 612, -1040, 1953, -3420, 6287, -11173, 20328, -36386, 65870, -118313, 213668, -384423, 693447, -1248624, 2251096, -4054896, 7308465, -13167160, 23729195, -42755049, 77046280, -138827182, 250164694, -450772777, 812274984, -1463655843
OFFSET
0,3
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1+x-2x^2-x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[{0, 3, -1, -1}, {1, 0, 3, -1}, 40] (* Harvey P. Dale, Nov 02 2024 *)
PROG
(PARI) Vec((1-x)^(-1)/(1+x-2*x^2-x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012
CROSSREFS
Sequence in context: A286416 A340672 A005295 * A308737 A257142 A270861
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved