A291243 p-INVERT of (0,1,0,1,0,1,...), where p(S) = 1 - 3 S + S^2.
3, 8, 24, 71, 210, 621, 1836, 5428, 16047, 47440, 140247, 414612, 1225716, 3623579, 10712370, 31668929, 93622704, 276776352, 818232603, 2418937120, 7151092203, 21140739568, 62498266944, 184763326671, 546214936050, 1614772594421, 4773744472356, 14112597876668
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (3,1,-3,-1)
Programs
Formula
G.f.: (3 - x - 3*x^2)/(1 - 3*x - x^2 + 3*x^3 + x^4).
a(n) = 3*a(n-1) + a(n-2) - 3*a(n-3) - a(n-4) for n >= 5.
Comments