A077888 Expansion of (1-x)^(-1)/(1+x^2-x^3).
1, 1, 0, 1, 2, 0, 0, 3, 1, -2, 3, 4, -4, 0, 9, -3, -8, 13, 6, -20, 8, 27, -27, -18, 55, -8, -72, 64, 65, -135, 0, 201, -134, -200, 336, 67, -535, 270, 603, -804, -332, 1408, -471, -1739, 1880, 1269, -3618, 612, 4888, -4229, -4275, 9118, 47, -13392, 9072, 13440, -22463, -4367, 35904, -18095, -40270
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (1,-1,2,-1).
Programs
-
Mathematica
CoefficientList[Series[(1-x)^(-1)/(1+x^2-x^3),{x,0,60}],x] (* or *) LinearRecurrence[ {1,-1,2,-1},{1,1,0,1},70] (* Harvey P. Dale, Sep 01 2022 *)