A291035 p-INVERT of (1,0,0,1,0,0,1,0,0,...), where p(S) = 1 - S - 2 S^2.
1, 3, 5, 12, 27, 58, 130, 285, 629, 1389, 3060, 6753, 14892, 32844, 72445, 159775, 352401, 777244, 1714259, 3780930, 8339090, 18392449, 40565829, 89470733, 197333940, 435233685, 959938112, 2117210180, 4669654005, 10299246171, 22715702489, 50101058976
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (1,2,2,-1,0,-1).
Programs
Formula
G.f.: -(1 + x)*(-1 - x + x^2)/((-1 - x + x^3)*(-1 + 2*x + x^3)).
a(n) = a(n-1) + 2*a(n-2) + 2*a(n-3) - a(n-4) - a(n-6) for n >= 7.
Comments