OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
B. N. Cyvin et al., Enumeration of conjugated hydrocarbons: Hollow hexagons revisited, Structural Chem., 6 (1995), 85-88, equation (7).
Index entries for linear recurrences with constant coefficients, signature (2,-1,2,-4,2,-1,2,-1).
FORMULA
G.f.: (x^3+2*x^2+1) / ((x-1)^4*(x^2+x+1)^2). - Colin Barker, Aug 30 2013
a(n) = (2*n^2+2+floor(n/3)*(10*floor(n/3)^2-(8*n-15)*floor(n/3)+2*n^2-8*n+7))/2. - Luce ETIENNE, Sep 14 2015
MATHEMATICA
CoefficientList[Series[(x^3 + 2 x^2 + 1)/((x - 1)^4 (x^2 + x + 1)^2), {x, 0, 50}], x] (* Vincenzo Librandi, Oct 22 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Aug 30 2013
STATUS
approved