cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A122681 Sum of the Wiener indices of all trees having n vertices.

Original entry on oeis.org

0, 1, 4, 19, 54, 180, 508, 1533, 4332, 13041, 37492, 111367, 326636, 968802, 2858460, 8483290, 25113618, 74512947, 220885446, 655274837, 1943117294, 5763235194, 17089323366, 50673594159, 150232437482, 445359235627, 1320070201468
Offset: 1

Views

Author

N. J. A. Sloane, Sep 23 2006

Keywords

Comments

C program, see the first Bomfim link, around the function Gen() of Gang Li & Frank Ruskey. - Washington Bomfim, Feb 23 2011

Examples

			a(4)=19; indeed, there are 2 trees on 4 vertices: the path abcd with Wiener index 1+1+1+2+2+3=10 and the star tree on 4 vertices with Wiener index 1+1+1+2+2+2 = 9. - _Emeric Deutsch_, Feb 20 2016
		

Crossrefs

Cf. A000055.

Extensions

a(11)-a(27) from Washington Bomfim, Feb 23 2011
Name edited by Emeric Deutsch, Feb 20 2016