I need to calculate the number of unlabelled trees with bounded maximal out-degree. I interested in both exact solution and asymptotic estimate. Can you suggest some papers about this topic or any other related materials?
2026-04-02 01:04:00.1775091840
Counting trees with bounded degree
349 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in COMBINATORICS
- Using only the digits 2,3,9, how many six-digit numbers can be formed which are divisible by 6?
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Hard combinatorial identity: $\sum_{l=0}^p(-1)^l\binom{2l}{l}\binom{k}{p-l}\binom{2k+2l-2p}{k+l-p}^{-1}=4^p\binom{k-1}{p}\binom{2k}{k}^{-1}$
- Algebraic step including finite sum and binomial coefficient
- nth letter of lexicographically ordered substrings
- Count of possible money splits
- Covering vector space over finite field by subspaces
- A certain partition of 28
- Counting argument proof or inductive proof of $F_1 {n \choose1}+...+F_n {n \choose n} = F_{2n}$ where $F_i$ are Fibonacci
Related Questions in REFERENCE-REQUEST
- Best book to study Lie group theory
- Alternative definition for characteristic foliation of a surface
- Transition from theory of PDEs to applied analysis and industrial problems and models with PDEs
- Random variables in integrals, how to analyze?
- Abstract Algebra Preparation
- Definition of matrix valued smooth function
- CLT for Martingales
- Almost locality of cubic spline interpolation
- Identify sequences from OEIS or the literature, or find examples of odd integers $n\geq 1$ satisfying these equations related to odd perfect numbers
- property of Lebesgue measure involving small intervals
Related Questions in TREES
- Explanation for the static degree sort algorithm of Deo et al.
- Finding height of a $k$-ary tree
- Clique-width of a tree
- count "informative" paths in tree
- If the weight of edge E $e$ of an MST is decreased by $\delta$. Could total weight of MST decrease by more than $\delta$.
- Probability of two randomly selected leaves of a tree to be connected only at the root
- Proof in graph theory: maximum degree and number of leaves.
- Graph Theory: Number of vertices in a tree.
- The number of, and an enumeration for, the set of full subtrees of the full complete binary tree
- Is the maximum link length function convex?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
I suggest to compute some of these numbers and consult the OEIS for more information. (See below for links containing a considerable number of references.) Since the bound is on outdegree, call it $k$, these unlabeled trees are rooted. We thus have from first principles and using the Polya Enumeration Theorem the species equation
$$\mathcal{T} = \mathcal{Z} + \mathcal{Z} \sum_{q=1}^k \mathfrak{M}_{=q}(\mathcal{T}) = \mathcal{Z} + \mathcal{Z} \mathfrak{M}_{\le k}(\mathcal{T}).$$
We thus obtain the functional equation
$$T(z) = z + z \sum_{q=1}^k Z(S_q)(T(z))$$
where $Z(S_q)$ is the cycle index of the symmetric group which may be computed from the recurrence
$$Z(S_q) = \frac{1}{q} \sum_{l=1}^q a_l Z(S_{q-l}) \quad\text{where}\quad Z(S_0) = 1.$$
The cycle indices are evaluated with the usual substitution $a_l = T(z^l).$ Extracting coefficients then yields
$$T_n = [[n=1]] + [z^{n-1}] \sum_{q=1}^k Z(S_q)(T(z)).$$
This is sufficient to compute these. We present a Maple program (which the reader is free to optimize) that gave the following results.
The Maple code was as follows (another version may be implemented which is faster at the expense of more memory).
pet_cycleind_symm := proc(n) option remember; if n=0 then return 1; fi; expand(1/n*add(a[l]*pet_cycleind_symm(n-l), l=1..n)); end; pet_flatten_term := proc(varp) local terml, d, cf, v; terml := []; cf := varp; for v in indets(varp) do d := degree(varp, v); terml := [op(terml), seq(v, k=1..d)]; cf := cf/v^d; od; [cf, terml]; end; T := proc(n, k) option remember; local q, idx, recurse, contrib, term, flat, res, sols, sol; if n = 1 then return 1 fi; recurse := proc(l, m, sofar, pos) local fact, mult; fact := op(1, l[pos]); if pos = nops(l) then if m mod fact = 0 then contrib := contrib + sofar * T(m/fact, k); fi; return; fi; for mult to floor(m/fact) do if m-mult*fact > 0 then recurse(l, m-mult*fact, sofar * T(mult, k), pos + 1); fi; od; end; res := T(n-1, k); for q from 2 to k do idx := pet_cycleind_symm(q); for term in idx do flat := pet_flatten_term(term); contrib := 0; recurse(flat[2], n-1, 1, 1); res := res + flat[1]*contrib; od; od; res; end;Addendum. An alternative species to use which has the feature that it includes leaves that do not contribute to the count of nodes in the tree is
$$\mathcal{T} = \epsilon + \mathcal{Z} \mathfrak{M}_{= k}(\mathcal{T}).$$
and gives the functional equation
$$T(z) = 1 + z Z(S_k)(T(z)).$$
While this version may perhaps be considered a more elegant encapsulation of the givens of this problem it must be pointed out that experiments indicate a poorer complexity by a considerable indeed quite significant factor compared to the first version. What we gain from the reduction in the number of recursive terms is more than offset by the contribution from the constant in $T(z^l)$, requiring value zero entries in the partitions of the exponents (which sum to $n-1$ and are computed in the routine recurse).
The modified Maple routine goes as follows.
T := proc(n, k) option remember; local q, idx, recurse, contrib, term, flat, res, sols, sol; if n = 0 then return 1 fi; if k = 1 then return 1 fi; recurse := proc(l, m, sofar, pos) local fact, mult; fact := op(1, l[pos]); if pos = nops(l) then if m mod fact = 0 then contrib := contrib + sofar * T(m/fact, k); fi; return; fi; for mult from 0 to floor(m/fact) do recurse(l, m-mult*fact, sofar * T(mult, k), pos + 1); od; end; idx := pet_cycleind_symm(k); res := 0; for term in idx do flat := pet_flatten_term(term); contrib := 0; recurse(flat[2], n-1, 1, 1); res := res + flat[1]*contrib; od; res; end;A remarkable optimization. The following simple concept combined with memoization and the second functional equation makes for an algorithm that produces instant results including for very large $n.$ This concept is that we do not compute the cycle indices separately but extract the coefficients from the recurrence given above. The Maple code here is quite straightforward and is included below.
recurse := proc(n, q, k) option remember; local res, l, m; if q = 0 then if n = 0 then return 1 else return 0; fi; fi; if q = 1 then return T(n, k) fi; res := 0; for l to q do for m from 0 to floor(n/l) do res := res + 1/q*T(m, k)* recurse(n-m*l, q-l, k); od; od; res; end; T := proc(n, k) option remember; if n <= 1 then return 1 fi; if k = 1 then return 1 fi; recurse(n-1, k, k); end;With this code we can answer questions like, what is the number of unlabeled rooted trees with maximum outdegree $20$ on $100$ nodes? The answer is
$$51384326061583754822835604490295332437941545.$$