A291234 p-INVERT of (0,1,0,1,0,1,...), where p(S) = 1 - S - S^2 - S^3 - S^4.
1, 2, 5, 12, 28, 67, 156, 370, 866, 2044, 4799, 11304, 26574, 62547, 147108, 346149, 814270, 1915795, 4506952, 10603417, 24945414, 58687660, 138068915, 324824928, 764187814, 1797846170, 4229645000, 9950753025, 23410332344, 55075627972, 129572006209
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (1, 5, -2, -7, 2, 5, -1, -1)
Programs
Formula
G.f.: (1 + x - 2 x^2 - x^3 + 2 x^4 + x^5 - x^6)/(1 - x - 5 x^2 + 2 x^3 + 7 x^4 - 2 x^5 - 5 x^6 + x^7 + x^8).
a(n) = a(n-1) + 5*a(n-2) - 2*a(n-3) - 7*a(n-4) + 2*a(n-5) + 5*a(n-6) - a(n-7) - a(n-8) for n >= 9.
Comments