The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143943 The Wiener index of a chain of n squares joined at vertices (i.e., joined like <><><>...<>; here <> is a square!). 2
8, 40, 114, 248, 460, 768, 1190, 1744, 2448, 3320, 4378, 5640, 7124, 8848, 10830, 13088, 15640, 18504, 21698, 25240, 29148, 33440, 38134, 43248, 48800, 54808, 61290, 68264, 75748, 83760, 92318, 101440, 111144, 121448, 132370, 143928 (list; graph; refs; listen; history; text; internal format)
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.
LINKS
T. Mansour and M. Schork, Wiener, hyper-Wiener, detour and hyper-detour indices of bridge and chain graphs, J. Math. Chemistry, 47, 2010, 72-98 (see Example 5.6).
FORMULA
a(n) = n*(2 + 3*n + 3*n^2).
G.f.: 2*z*(2 + z)^2/(1 - z)^4.
a(n) = Sum_{k=1..2*n} k*A143942(n,k).
EXAMPLE
a(1)=8 because in the graph <> with vertices a,b,c,d we have 4 distances equal to 1 (the edges) and 2 distances equal to 2 (ac and bd); 4*1 + 2*2 = 8.
MAPLE
seq(n*(2+3*n+3*n^2), n=1..40);
CROSSREFS
Cf. A143942.
Sequence in context: A014642 A211631 A279273 * A135796 A105374 A162668
KEYWORD
nonn
AUTHOR
Emeric Deutsch, Sep 06 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 05:34 EDT 2024. Contains 372728 sequences. (Running on oeis4.)