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.

A027416 Number of unlabeled (and unrooted) trees on n nodes having a centroid.

This page as a plain text file.
%I A027416 #44 Aug 11 2025 06:29:03
%S A027416 1,1,0,1,1,3,3,11,13,47,61,235,341,1301,1983,7741,12650,48629,82826,
%T A027416 317955,564225,2144505,3926353,14828074,27940136,104636890,201837109,
%U A027416 751065460,1479817181,5469566585,10975442036,40330829030,82270184950
%N A027416 Number of unlabeled (and unrooted) trees on n nodes having a centroid.
%C A027416 Also, number of rooted unlabeled trees on n nodes not having a primary branch.
%C A027416 A tree has either a center or a bicenter and either a centroid or a bicentroid. (These terms were introduced by Jordan.)
%C A027416 If the number of edges in a longest path in the tree is 2m, then the middle node in the path is the unique center, otherwise the two middle nodes in the path are the unique bicenters.
%C A027416 On the other hand, define the weight of a node P to be the greatest number of nodes in any subtree connected to P. Then either there is a unique node of minimal weight, the centroid of the tree, or there is a unique pair of minimal weight nodes, the bicentroids.
%C A027416 Let T be a tree with root node R. If R and the edges incident with it are deleted, the resulting rooted trees are called branches. A primary branch (there can be at most one) has i nodes where n/2 <= i <= n-1.
%D A027416 F. Harary, Graph Theory, Addison-Wesley, Reading, MA, 1994; pp. 35, 36.
%H A027416 N. J. A. Sloane, <a href="/A027416/b027416.txt">Table of n, a(n) for n = 0..200</a>
%H A027416 A. Cayley, <a href="http://www.jstor.org/stable/2369158">On the analytical forms called trees</a>, Amer. J. Math., 4 (1881), 266-268.
%H A027416 C. Jordan, <a href="https://gdz.sub.uni-goettingen.de/id/PPN243919689_0070">Sur les assemblages des lignes</a>, J. Reine angew. Math., 70 (1869), 185-190.
%H A027416 A. Meir and J. W. Moon, <a href="https://doi.org/10.1111/j.1749-6632.1989.tb16423.x">On the branch-sizes of rooted unlabeled trees</a>, in "Graph Theory and Its Applications", Annals New York Acad. Sci., Vol. 576, 1989, pp. 399-407.
%H A027416 E. M. Rains and N. J. A. Sloane, <a href="https://cs.uwaterloo.ca/journals/JIS/cayley.html">On Cayley's Enumeration of Alkanes (or 4-Valent Trees)</a>, J. Integer Sequences, Vol. 2 (1999), Article 99.1.1. [This articles states incorrectly that A000676 and A000677 give the numbers of trees with respectively a centroid and bicentroid.]
%H A027416 Peter Steinbach, <a href="/A000088/a000088_17.pdf">Field Guide to Simple Graphs, Volume 1</a>, Part 17 (For Volumes 1, 2, 3, 4 of this book see A000088, A008406, A000055, A000664, respectively.)
%H A027416 Peter Steinbach, <a href="/A000055/a000055_12.pdf">Field Guide to Simple Graphs, Volume 3</a>, Part 12 (For Volumes 1, 2, 3, 4 of this book see A000088, A008406, A000055, A000664, respectively.)
%H A027416 <a href="/index/Ro#rooted">Index entries for sequences related to rooted trees</a>
%F A027416 a(n) = A000055(n) - A102911(n/2) if n is even, else a(n) = A000055(n).
%F A027416 a(n) = A000081(n) - A027415(n). - _Emeric Deutsch_, Nov 21 2004
%F A027416 a(n) = [x^n] 1 + x/Product_{i=1..ceiling(n/2)-1} (1-x^i)^A000081(i).  See Cayley link above. - _Geoffrey Critzer_, Jul 30 2022
%p A027416 N := 50: Y := [ 1,1 ]: for n from 3 to N do x*mul( (1-x^i)^(-Y[ i ]), i=1..n-1); series(%,x,n+1); b := coeff(%,x,n); Y := [ op(Y),b ]; od: P:=n->sum(Y[n-i]*Y[i],i=1..floor(n/2)): seq(Y[n]-P(n),n=1..35); # _Emeric Deutsch_, Nov 21 2004
%Y A027416 Cf. A102911 (trees with a bicentroid), A027415 (trees with a primary branch), A000676 (trees with a center), A000677 (trees with a bicenter), A000055 (trees), A000081 (rooted trees).
%K A027416 nonn
%O A027416 0,6
%A A027416 _N. J. A. Sloane_
%E A027416 More terms from _Emeric Deutsch_, Nov 21 2004
%E A027416 Entry revised (with new definition) by _N. J. A. Sloane_, Feb 26 2007