OFFSET
2,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 2..10000
A. A. Dobrynin, I. Gutman, S. Klavzar, P. Zigert, Wiener Index of Hexagonal Systems, Acta Applicandae Mathematicae 72 (2002), pp. 247-294.
I. Gutman, S. Klavzar, M. Petkovsek, and P. Zigert, On Hosoya polynomials of benzenoid graphs, Comm. Math. Comp. Chem. (MATCH), 43, 2001, 49-66.
Index entries for linear recurrences with constant coefficients, signature (4,-5,0,5,-4,1).
FORMULA
a(n) = (8*n^4 + 24*n^3 + 28*n^2 + 213*n + 33*(-1)^n - 246)/3.
G.f.: x^2*(215 - 224*x + 88*x^2 + 114*x^3 - 63*x^4 - 2*x^5)/((1+x)*(1-x)^5). - Bruno Berselli, Jul 27 2011
MAPLE
a := proc (n) options operator, arrow: (8/3)*n^4+8*n^3+(28/3)*n^2+71*n+11*(-1)^n-82 end proc: seq(a(n), n = 2 .. 35);
PROG
(Magma) [(8*n^4 + 24*n^3 + 28*n^2 + 213*n + 33*(-1)^n - 246)/3: n in [2..40]]; // Vincenzo Librandi, Jul 26 2011
(PARI) a(n)=(8*n^4+24*n^3+28*n^2+213*n+33*(-1)^n-246)/3 \\ Charles R Greathouse IV, Jul 28 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Emeric Deutsch, Jul 25 2011
STATUS
approved