A291036 p-INVERT of (1,0,0,1,0,0,1,0,0,...), where p(S) = 1 - 2 S - 2 S^2.
2, 6, 16, 46, 132, 376, 1074, 3066, 8752, 24986, 71328, 203624, 581298, 1659462, 4737360, 13524006, 38607732, 110215648, 314638754, 898216794, 2564189568, 7320134930, 20897197344, 59656394448, 170304435554, 486177568038, 1387918211824, 3962167507006
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, 2, -2, 0, -1)
Programs
Formula
G.f.: -((2 (-1 - x + x^3))/(1 - 2 x - 2 x^2 - 2 x^3 + 2 x^4 + x^6)).
a(n) = 2*a(n-1) + 2*a(n-2) + 2*a(n-3) - 2*a(n-4) - a(n-6) for n >= 7.
Comments