### Current browse context:

math.CO

### Change to browse by:

### References & Citations

# Mathematics > Combinatorics

# Title: Automated Counting and Statistical Analysis of Labeled Trees with Degree Restrictions

(Submitted on 18 Jan 2022 (v1), last revised 20 Feb 2022 (this version, v2))

Abstract: Arthur Cayley famously proved that there are n to the power n-2 labeled trees on n vertices. Here we go much further and show how to enumerate, fully automatically, labeled trees such that every vertex has a number of neighbors that belongs to a specified finite set, and also count trees where the number of neighbors is not allowed to be in a given finite set. We also give detailed statistical analysis, and show that in the sample space of labeled trees with n vertices, the random variable "number of vertices with d neighbors" is asymptotically normal, and for any different degrees, are jointly asymptotically normal, but of course, not independently so (except for the pair (1,3), i.e. the number of leaves and the number of degree-3 vertices, where there are asymptotically independent). We also give new proofs to Amram Meir and John Noon's expressions for the limiting expectation and variance for these, and derive an explicit expression for the covariance.

## Submission history

From: Doron Zeilberger [view email]**[v1]**Tue, 18 Jan 2022 21:49:09 GMT (4kb)

**[v2]**Sun, 20 Feb 2022 19:58:28 GMT (5kb)

Link back to: arXiv, form interface, contact.