A077897 Expansion of (1-x)^(-1)/(1+x-2*x^2-x^3).
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
Links
- Index entries for linear recurrences with constant coefficients, signature (0,3,-1,-1)
Programs
-
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 *)
-
PARI
Vec((1-x)^(-1)/(1+x-2*x^2-x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012