OFFSET
0,2
COMMENTS
Old Name was: Bisection of A028289.
REFERENCES
B. N. Cyvin et al., Enumeration of conjugated hydrocarbons..., Structural Chem., 6 (1995), 85-88, equation (8).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,-1,2,-4,2,-1,2,-1).
FORMULA
G.f.: (x^3+2*x+1) / ((x-1)^4*(x^2+x+1)^2). - Colin Barker, Aug 30 2013
From Wesley Ivan Hurt, May 07 2016: (Start)
a(n) = 2*a(n-1)-a(n-2)+2*a(n-3)-4*a(n-4)+2*a(n-5)-a(n-6)+2*a(n-7)-a(n-8).
a(n) = Sum_{i=1..n+1} (1+floor((n+i+1)/3)) * (1+floor((n-i+1)/3)). (End)
MATHEMATICA
CoefficientList[Series[(x^3 + 2 x + 1)/((x - 1)^4 (x^2 + x + 1)^2), {x, 0, 50}], x] (* Vincenzo Librandi, Oct 22 2013 *)
LinearRecurrence[{2, -1, 2, -4, 2, -1, 2, -1}, {1, 4, 7, 13, 23, 33, 48, 69}, 50] (* Harvey P. Dale, Sep 22 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Aug 30 2013
Name changed by Wesley Ivan Hurt, May 07 2016
STATUS
approved