A291233 p-INVERT of (0,1,0,1,0,1,...), where p(S) = 1 - S - S^2 - S^3.
1, 2, 5, 11, 26, 58, 134, 303, 693, 1576, 3593, 8184, 18645, 42480, 96773, 220481, 502290, 1144350, 2607062, 5939501, 13531493, 30827806, 70232669, 160005808, 364529269, 830479602, 1892019493, 4310445875, 9820165646, 22372546322, 50969693930, 116120429167
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (1, 4, -1, -4, 1, 1)
Programs
Formula
G.f.: (-1 - x + x^2 + x^3 - x^4)/(-1 + x + 4 x^2 - x^3 - 4 x^4 + x^5 + x^6).
a(n) = a(n-1) + 4*a(n-2) - a(n-3) - 4*a(n-4) + a(n-5) + a(n-6) for n >= 7.
Comments