A078051 Expansion of (1-x)/(1+x+2*x^2+x^3).
1, -2, 0, 3, -1, -5, 4, 7, -10, -8, 21, 5, -39, 8, 65, -42, -96, 115, 119, -253, -100, 487, -34, -840, 421, 1293, -1295, -1712, 3009, 1710, -6016, -413, 10735, -3893, -17164, 14215, 24006, -35272, -26955, 73493, 15689, -135720, 30849, 224902, -150880, -329773, 406631, 403795, -887284, -326937
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (-1,-2,-1).
Crossrefs
First differences of A077979.
Programs
-
Mathematica
LinearRecurrence[{-1,-2,-1},{1,-2,0},50] (* Harvey P. Dale, Aug 18 2014 *)
-
PARI
Vec((1-x)/(1+x+2*x^2+x^3) + O(x^50)) \\ Jinyuan Wang, Apr 07 2020