A290616 p-INVERT of (1,0,0,1,0,0,1,0,0,...), where p(S) = 1 - 2 S - S^2.
2, 5, 12, 31, 80, 205, 526, 1350, 3464, 8889, 22810, 58532, 150198, 385420, 989018, 2537899, 6512450, 16711463, 42882940, 110041025, 282373998, 724594076, 1859365870, 4771280299, 12243483684, 31417750230, 80620439004, 206878440932, 530866488090
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (2, 1, 2, -2, 0, -1)
Programs
Formula
G.f.: -((-2 - x + 2 x^3)/(1 - 2 x - x^2 - 2 x^3 + 2 x^4 + x^6)).
a(n) = 2*a(n-1) + a(n-2) + 2*a(n-3) - 2*a(n-4) - a(n-6) for n >= 7.
Comments