A291239 p-INVERT of (0,1,0,1,0,1,...), where p(S) = (1 - S^2) (1 - 2 S).
2, 5, 12, 31, 74, 184, 442, 1081, 2604, 6323, 15250, 36912, 89074, 215293, 519660, 1255223, 3030106, 7317032, 17664170, 42649553, 102963276, 248587051, 600137378, 1448890464, 3497918306, 8444802101, 20387522508, 49220043535, 118827609578, 286875776920
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (2, 4, -6, -4, 2, 1)
Programs
Formula
G.f.: (-2 - x + 6 x^2 + x^3 - 2 x^4)/(-1 + 2 x + 4 x^2 - 6 x^3 - 4 x^4 + 2 x^5 + x^6).
a(n) = 2*a(n-1) + 4*a(n-2) - 6*a(n-3) - 4*a(n-4) + 2*a(n-5) + a(n-6) for n >= 7.
Comments