OFFSET
1,1
COMMENTS
The Wiener index of a connected graph is the sum of distances between all unordered pairs of vertices in the graph.
The Wiener polynomial of D(m,n) is (1/2)n(m-1)t[(m-1)(n-1)t+m].
The Wiener index of D(m,n) is (1/2)n(m-1)[(m-1)(2n-1)+1].
LINKS
Bruce E. Sagan, Yeong-Nan Yeh, and Ping Zhang, The Wiener Polynomial of a Graph, Internat. J. of Quantum Chem., Vol. 60 (1996), pp. 959-969.
Eric Weisstein's World of Mathematics, Windmill Graph.
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 5*n*(5*n-2).
G.f.: -5*x*(7*x+3)/(x-1)^3. - Colin Barker, Oct 30 2012
From Elmo R. Oliveira, Apr 03 2025: (Start)
E.g.f.: 5*exp(x)*x*(3 + 5*x).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 3. (End)
From Amiram Eldar, Dec 02 2025: (Start)
a(n) = 5 * A147874(n+1).
Sum_{n>=1} 1/a(n) = A294830 / 5. (End)
MAPLE
seq(5*n*(-2+5*n), n = 1 .. 40);
PROG
(PARI) a(n)=5*n*(5*n-2) \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Emeric Deutsch, Sep 21 2010
EXTENSIONS
More terms from Elmo R. Oliveira, Apr 03 2025
STATUS
approved
