OFFSET
2,1
COMMENTS
The Wiener index of a connected graph is the sum of distances between all unordered pairs of vertices in the graph.
LINKS
I. Gutman, S.-L. Lee, C.-H. Chu, and Y.-L. Luo, Chemical applications of the Laplacian spectrum of molecular graphs: Studies of the Wiener number, Indian J. Chem., 33A(07) (1994), 603-608.
I. Gutman, W. Linert, I. Lukovits, and Z. Tomović, On the multiplicative Wiener index and its possible chemical applications, Monatshefte für Chemie, 131 (2000), 421-427 (see the equation between (10) and (11); replace n with n+2).
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = (2 + 9*n + 18*n^2 + 3*n^3)/2.
a(n) = Sum_{k >= 0} k*A180570(n,k).
G.f.: z^2*(58 - 96*z + 63*z^2 - 16*z^3)/(1 - z)^4.
MAPLE
seq((2+9*n+18*n^2+3*n^3)*1/2, n = 2 .. 40);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Emeric Deutsch, Sep 16 2010
STATUS
approved