Numerical Semigroup Tree
- Numerical Semigroup Tree is a hierarchical structure that organizes numerical semigroups as nodes graded by genus, with parent–child relations defined by operations on gaps and generators.
- It leverages key invariants such as the Frobenius number, type, and gap vectors to refine semigroup classification and analyze asymptotic behaviors in enumerative studies.
- The structure underpins computational methods and algorithm designs, including breadth-first approaches, RGD, and seeds-based techniques, to efficiently traverse and analyze semigroup families.
Searching arXiv for the primary paper and closely related work on numerical semigroup trees and ordinarization/infinite-chain variants. A numerical semigroup tree is a rooted combinatorial structure that organizes numerical semigroups through elementary operations on gaps and generators. In the standard construction, a numerical semigroup is a cofinite submonoid of the nonnegative integers, the root is , and the level of a node is its genus. The tree has become a central device for structural, enumerative, and computational work on numerical semigroups: it supports breadth-first and depth-first generation by genus, fixed-parameter refinements by Frobenius number or type, asymptotic analysis of degrees and infinite chains, and several alternative rooted structures such as ordinarization trees, quasi-ordinarization forests, fixed-Frobenius irreducible trees, and arithmetic-variety trees (Chappelon et al., 20 Jul 2025).
1. Classical genus-graded tree
A numerical semigroup is a subset of such that , is closed under addition, and is finite. Its basic invariants include the genus , the Frobenius number , the multiplicity , the embedding dimension , and the Apéry set 0 (Chappelon et al., 20 Jul 2025).
The standard numerical semigroup tree has all numerical semigroups as nodes and 1 as root. If 2 has positive genus, its parent is 3, so adjoining the Frobenius number decreases the genus by 4. Conversely, if 5 is a semigroup and 6 is a minimal generator of 7 with 8, then 9 is a child of 0; the removed generator becomes the Frobenius number of the child. Thus levels are indexed by genus, and every edge increases genus by 1 (Chappelon et al., 20 Jul 2025).
In this setting the children are obtained by removing minimal generators to the right of the Frobenius number. Several papers call these effective generators or right generators. The degree, or efficacy, of a node is the number of such generators, hence the number of children. This local branching is finite, and the degree distribution itself has asymptotic content: if 2 denotes the number of genus-3 semigroups with degree 4, then for each fixed 5 one has
6
where 7 is the total number of genus-8 semigroups and 9 is the golden ratio (O'Dorney, 2024).
The classical tree is also the ambient structure for several refined notions. Right generators may be strong or weak depending on whether removing one creates a new right generator 0, and pseudo-ordinary nodes have a particularly rigid right-generator structure. These distinctions underlie fast traversal algorithms such as RGD and seeds-based methods (Bras-Amorós et al., 2019).
2. Type, pseudo-Frobenius numbers, and the type-representation
A major refinement of the tree replaces pure genus stratification by a genus-and-type stratification. For a numerical semigroup 1, the pseudo-Frobenius numbers are
2
equivalently the maximal non-elements for the order 3. The type is 4, and 5 (Chappelon et al., 20 Jul 2025).
The basic inequalities governing this representation are 6 and
7
Special families sit at the extremal low-type end: symmetric semigroups have 8, and pseudosymmetric semigroups have 9. At the opposite extreme, the condition 0 is equivalent to each of the following: 1, 2, and
3
for some integer 4; in that case 5 (Chappelon et al., 20 Jul 2025).
The type-representation of the numerical semigroup tree arranges each genus level into contiguous blocks of increasing type 6. This makes the effect of parent–child operations on type visible. If 7 has positive genus and 8 is its parent, then
9
with equality if and only if 0. Consequently 1, with equality exactly in the same extremal case, and if 2 then 3 (Chappelon et al., 20 Jul 2025).
This perspective emphasizes that the classical tree is not merely genus-graded. It is also stratified by pseudo-Frobenius structure, and near the top-type region that structure becomes rigid enough to admit explicit binary encodings and stabilization theorems.
3. Gap vectors, diagonal stabilization, and conjectural unimodality
Let 4 be the number of numerical semigroups of genus 5 and type 6, and write 7. In the high-type regime, namely when 8 or equivalently 9, the relevant gaps are confined to the interval 0. One then encodes a semigroup by a binary gap vector
1
where 2 iff 3, and defines the cotype
4
For 5, the associated set 6 is a numerical semigroup of genus 7, and
8
In particular, on the diagonal 9, stable gap vectors are precisely those with 0 (Chappelon et al., 20 Jul 2025).
This yields a stabilization theorem. If 1 denotes the set of stable gap vectors of length 2 with 3 zeros and 4 ones, then for every 5,
6
Hence the diagonal counts become constant in 7 once 8 is large enough relative to the offset 9. The first stabilized values reported are as follows (Chappelon et al., 20 Jul 2025).
| Diagonal | Stabilized count | Valid when |
|---|---|---|
| 0 | 1 | 1 |
| 2 | 3 | 3 |
| 4 | 7 | 5 |
| 6 | 15 | 7 |
| 8 | 35 | 9 |
| 0 | 78 | 1 |
| 2 | 161 | 3 |
| 4 | 367 | 5 |
| 6 | 757 | 7 |
| 8 | 1632 | 9 |
| 00 | 3436 | 01 |
The stabilization has an explicit shift mechanism. If 02, then
03
is a bijection from genus 04, type 05 semigroups to genus 06, type 07 semigroups, and in gap-vector language the vector 08 is unchanged. This is the structural source of the constant diagonal counts (Chappelon et al., 20 Jul 2025).
The same computations support several global conjectures. For every 09, the sequence
10
is unimodal, with the peak typically near 11, and the conjecture states that this should hold for all 12. A second conjecture asserts that for each fixed 13,
14
The data support this for 15, while the column 16 does not display monotone growth in the same range (Chappelon et al., 20 Jul 2025).
4. Leaves, infinite chains, and large-scale shape
A leaf in the classical tree is a numerical semigroup with no descendants, equivalently one for which no minimal generator exceeds the Frobenius number. Leaves occur in all genera, but their distribution is highly constrained. Hyperelliptic symmetric semigroups 17 form an infinite chain and are not leaves, whereas non-hyperelliptic symmetric semigroups are leaves. Non-symmetric leaves also occur; one example is
18
which has genus 19, type 20, gaps 21, and 22 (Chappelon et al., 20 Jul 2025).
For fixed genus 23, let 24 be the number of leaves of genus 25 and type 26. Computations up to 27 support the conjecture that the sequence
28
is unimodal. The same experiments suggest an upper envelope for the type of a leaf: if 29 with 30, then a leaf 31 appears to satisfy
32
The proportion of leaves also seems to rise slowly with genus: the ratio 33 increases from approximately 34 at 35 to approximately 36 at 37 (Chappelon et al., 20 Jul 2025).
A different large-scale phenomenon is the existence of infinite chains. A numerical semigroup belongs to an infinite chain if and only if it has infinitely many descendants. The decisive criterion uses the positive left elements 38: if
39
then the semigroup lies in an infinite chain exactly when 40. If 41 is composite, it lies in infinitely many infinite chains; if 42 is prime, the number of infinite chains is given by an explicit descendant count in the quotient-by-43 construction described in the literature (Rosas-Ribeiro et al., 2023).
Despite their structural necessity, infinite chains are asymptotically negligible. For each genus 44, there are more semigroups of that genus not belonging to infinite chains than semigroups belonging to them (Rosas-Ribeiro et al., 2023). More strongly, if 45 denotes the set of genus-46 semigroups, then the proportion of semigroups in 47 that belong to infinite chains tends to 48 as 49 (Bras-Amorós et al., 2024). This removes a persistent intuition that infinite chains might control the large-scale combinatorics of the tree.
The asymptotic picture is sharpened by degree statistics. If 50 denotes the limiting number of children of a randomly chosen large-genus semigroup, then
51
so the limiting degree distribution is geometric with mean 52 and variance 53 (O'Dorney, 2024). A plausible implication is that the tree’s exponential growth is carried by a broad population of low-degree nodes rather than by a sparse family of highly branching vertices.
5. Computational representations and traversal methods
The numerical semigroup tree has also been a laboratory for algorithm design. One standard strategy is breadth-first traversal from 54, generating every child by removing each minimal generator greater than the Frobenius and then computing invariants such as 55, 56, 57, and 58 by Apéry-set or pseudo-Frobenius routines. In the type-representation work, this was implemented in GAP 4.14.0 using the numericalsgps package, producing complete tables for 59 and 60 up to 61 (Chappelon et al., 20 Jul 2025).
A second line of work fixes genus and Frobenius number and decomposes 62 into equivalence classes rooted at elementary semigroups. The map
63
induces classes, each with a rooted tree structure, and in Kunz coordinates the child operation becomes a bit flip
64
subject to explicit conditions (Blanco et al., 2011).
Fromentin and Hivert introduced a representation by decomposition numbers
65
which makes membership and irreducibility tests local and supports a DFS using contiguous byte arrays and SIMD updates. This implementation produced the counts 66 up to genus 67 and confirmed Wilf’s conjecture for genus at most 68 (Fromentin et al., 2013).
Later work optimized the propagation of right generators and seeds. The RGD algorithm encodes the right generators above the Frobenius by a binary string and updates a child by a local rule whose only nontrivial test is whether 69 is primitive in the child (Bras-Amorós et al., 2019). The seeds approach instead broadens generators to order-70 seeds and updates descendants by bitstream operations on gaps and seeds. The revisited seeds algorithm combines these bitwise operations with structural results on great-grandchildren and semigroups with at most three left elements; it was used to prove that there are no Eliahou semigroups of genus 71, hence Wilf’s conjecture holds up to genus 72, and to find three Eliahou semigroups of genus 73 (Bras-Amorós, 2023).
An additional refinement is the unleaved tree, in which branches that cannot reach a target genus are pruned using the gcd of the left elements and the shrinking semigroup generated by those left elements divided by their gcd. In this encoding, if 74 and 75, the whole subtree can be cut. This method yielded
76
6. Variants of the numerical semigroup tree
The phrase “numerical semigroup tree” is not confined to the classical genus-graded tree. Several related rooted structures occur in the literature.
One important variant is the tree of irreducible numerical semigroups with fixed Frobenius number 77. Its root is the unique irreducible semigroup 78 whose minimal generators are all greater than 79, and the children are obtained by the swap
80
for minimal generators 81 satisfying explicit arithmetic conditions. In Kunz coordinates with respect to 82, this becomes a swap of bits at positions 83 and 84 in a 85–86 vector of length 87 (Blanco et al., 2011).
Another family consists of fixed-genus trees built from transforms that preserve genus. The ordinarization transform
88
organizes the semigroups of genus 89 into a rooted tree 90 with root
91
Its depth parameter is the ordinarization number, equal to the number of nonzero nongaps not exceeding 92. The maximum depth is 93, attained uniquely by 94, and recent work proves that for fixed ordinarization number 95, the counting function in genus is eventually quasipolynomial of degree 96 [(Bras-Amorós, 2012); (Cyrusian et al., 11 Jun 2025)].
The quasi-ordinarization transform replaces the multiplicity by the sub-Frobenius rather than by the Frobenius. This produces, for fixed genus 97, a forest rooted at all quasi-ordinary semigroups of genus 98 together with the ordinary one. The quasi-ordinarization number is
99
and for large depths the number of genus-00 semigroups with quasi-ordinarization number 01 is controlled by 02-closed sets over semigroups of smaller genus (Bras-Amorós et al., 2020).
A further variant arises from arithmetic varieties. If 03 is an arithmetic variety, one defines a rooted tree 04 whose vertices are the semigroups in 05, with root 06, and with an edge 07 whenever 08. This tree is not locally finite, because 09 is infinite for every non-root 10, but it becomes finite after imposing a Frobenius bound (Branco et al., 2023).
These variants show that the numerical semigroup tree is best understood as a family of related rooted organizations rather than a single object. The classical tree remains the universal ambient structure for genus growth, degree asymptotics, and descendant algorithms, but fixed-invariant and transformed trees isolate finer phenomena—type stabilization, ordinarization depth, irreducibility, doubling, or conductor-preserving flows—that are less visible in the unrefined genus-graded picture (Chappelon et al., 20 Jul 2025).