A061534 Expansion of (1-x^2)/(1-3*x-x^2+x^3).
1, 3, 9, 29, 93, 299, 961, 3089, 9929, 31915, 102585, 329741, 1059893, 3406835, 10950657, 35198913, 113140561, 363669939, 1168951465, 3757383773, 12077432845, 38820730843, 124782241601, 401090022801, 1289231579161, 4144002518683, 13320149112409
Offset: 0
Links
- INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 1056
- Index entries for linear recurrences with constant coefficients, signature (3,1,-1).
Crossrefs
Cf. A033505.
Programs
-
PARI
Vec(-(x-1)*(x+1)/(x^3-x^2-3*x+1) + O(x^100)) \\ Colin Barker, Sep 13 2014
Formula
a(n) = 3*a(n-1)+a(n-2)-a(n-3) for n>3. - Colin Barker, Sep 13 2014
G.f.: -(x-1)*(x+1) / (x^3-x^2-3*x+1). - Colin Barker, Sep 13 2014
Comments