A291247 p-INVERT of (0,1,0,1,0,1,...), where p(S) = 1 - S - S^2 - S^3 + S^4.
1, 2, 5, 10, 24, 49, 112, 238, 526, 1142, 2491, 5442, 11842, 25873, 56344, 122975, 268042, 584633, 1274820, 2779895, 6062306, 13219186, 28827703, 62861754, 137082358, 298927682, 651861824, 1421488867, 3099781932, 6759580078, 14740333285, 32143687954
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, -9, 2, 5, -1, -1)
Programs
Formula
G.f.: (1 + x - 2 x^2 - 3 x^3 + 2 x^4 + x^5 - x^6)/(1 - x - 5 x^2 + 2 x^3 + 9 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) - 9*a(n-4) + 2*a(n-5) + 5*a(n-6) - a(n-7) - a(n-8) for n >= 9.
Comments