A291414 p-INVERT of (1,1,0,0,0,0,...), where p(S) = 1 - 2 S + S^3.
2, 6, 15, 37, 89, 212, 500, 1173, 2741, 6388, 14860, 34524, 80138, 185904, 431075, 999280, 2315960, 5366755, 12435075, 28810731, 66748062, 154635086, 358234115, 829886167, 1922494024, 4453566092, 10316878400, 23899399028, 55363614076, 128251081293
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (2, 2, -1, -3, -3, -1)
Programs
Formula
G.f.: -(((1 + x) (-2 + x^2 + 2 x^3 + x^4))/((-1 + x + x^2) (-1 + x + 2 x^2 + 2 x^3 + x^4))).
a(n) = 2*a(n-1) + 2*a(n-2) - a(n-3) - 3*a(n-4) - 3*a(n-5) - a(n-6) for n >= 7.
Comments