Abstract
If P is a nonempty finite subset of positive integers, then In this work, we prove that is a covariety; therefore, we can arrange the elements of in the form of a tree. This fact allows us to present several algorithms, including one that calculates all the elements of , another that obtains its maximal elements (with respect to the set inclusion order) and one more that computes the elements of that cannot be expressed as an intersection of two elements of that properly contain it.
MSC:
20M14; 11D07; 13H10
1. Introduction
Let be the set of integers and . A submonoid of is a subset of , which is closed for the sum and contains zero. A numerical semigroup submonoid (S) of such that is finite.
If S is a numerical semigroup, then , and (where denotes the cardinality of a set (X)) are three important invariants of S, which we shall refer to as the multiplicity, Frobenius number and genus of S, respectively.
If X is a nonempty subset of , then denotes the submonoid of generated by X, that is,
In [1] (Lemma 2.1), it is shown that is a numerical semigroup if and only if .
If M is a submonoid of and , then we say that X is a system of generators of M. Moreover, if for all , then we say that X is a minimal system of generators of M. In [1] (Corollary 2.8), it is shown that every submonoid of has a unique minimal system of generators, which is finite. denotes the minimal system of generators of M. The cardinality of is called the embedding dimension of M and is denoted by
The Frobenius problem for numerical semigroups (see [2]) consists of looking for formulas that calculate the Frobenius number and the genus from its minimal system of generators. This problem was solved in [3] for numerical semigroups of embedding dimension two. At present, the problem remains unsolved for numerical semigroups of embedding dimensions greater than or equal to three. However, this problem has been extensively dealt with in the numerical semigroup literature (see, for instance, [4,5,6,7,8,9]).
The non-habitual reader studying numerical semigroups may find the nomenclature, i.e., multiplicity, genus, embedding dimension, etc., somewhat surprising. With reference to this, we will say that in the bibliography of the topic, there is a long list of publications devoted to the study of one-dimensional, analytically irreducible local Noetherian domains via their value semigroup, which is a numerical semigroup (see, for instance, [10,11,12,13,14,15,16]). All the introduced invariants have their interpretation in this context; hence, their names.
The study of the gaps and the genus of a numerical semigroup has also been extensively discussed (see, for example, [17,18,19,20]). Much of these works is motivated by the conjecture of Bras-Amoros presented in [21], where she predicted that there are more numerical semigroups of genus than of genus g.
Let P be a nonempty, finite subset of .
If , then we say that S is a -semigroup. The main aim of this work is to study set
We begin Section 2 by seeing that is a covariety. This fact, together with the results of [22], allow us to arrange the elements of in the form of a tree. As a consequence, we obtain an algorithm that calculates all the elements of .
If X is a subset of an element from , then we say that X is an -set. In Section 3, we prove that if X is an set, then there exists the least element from containing X. This numerical semigroup is denoted by , and we say that it is the -semigroup generated by X. If and for all , then we say that X is an -minimal system of generators of S. In Section 3, we prove that every semigroup admits a unique -minimal system of generators. denotes the minimal system of generators of S. The cardinality of is called the rank of S. We finish Section 3 by showing an algorithmic process that computes all the elements of with a given -.
denotes the set of maximal elements of with respect to the set inclusion order. We start Section 4 by proposing an algorithm for calculating .
An element of is -irreducible if it cannot be written as the intersection of two elements of containing it properly. . In Section 4, we prove that , and we proposed an algorithm that computes .
A numerical semigroup is irreducible if it cannot be written as the intersection of two numerical semigroups containing it properly. If F is a positive integer, .
If S is a numerical semigroup, then . the following equivalence binary relation: if and only if Then, the quotient set expressed as is . If , then In Section 5, we show that is a partition of . As a consequence and applying the results of [23], we propose new algorithm to calculate
If A and B are numerical semigroups such that , then . In Section 6, we prove that if then where the → symbol means that every integer greater than belongs to the set. Therefore, is the union of R varieties. Finally, using the results of [24], we present a new algorithm for calculating .
This paper contains a large number of examples to illustrate how our proposed algorithms work. The computation of these examples was performed using the numericalsgps package in the GAP System (see [25,26]).
2. The Tree Associated with
A covariety is a nonempty family () of numerical semigroups that fulfills the following conditions:
- (1)
- There is a minimum of with respect to set inclusion, denoted by .
- (2)
- If , then .
- (3)
- If and , then .
The next result appears in [22] (Lemma 2.2).
Lemma 1.
Let S and T be numerical semigroups and . Then, the following conditions hold:
- 1.
- is a numerical semigroup and .
- 2.
- is a numerical semigroup if and only if
- 3.
In the rest of this section, P denotes a nonempty, finite set of
The following result has an easy proof.
Proposition 1.
is a covariety and
The next result is a consequence from [22] (Proposition 2.1).
Corollary 1.
is a set with finite cardinality.
A graph (G) is a pair , where V is a nonempty set and E is a subset of . The elements of V and E are called vertices and edges of G, respectively.
A path (of length n) connecting vertices a and b of G is a sequence of different edges of the form such that and .
A graph (G) is a tree if there exists a vertex (r, known as the root of G) such that for any other vertex (x) of G, there exists a unique path connecting x and r. If is an edge of tree G, we say that u is a child of v.
Graph is defined in the following way: is its set of vertices, and is an edge if and only if
By applying Proposition 1 and [22] (Proposition 2.3), we obtain the following result.
Proposition 2.
is a tree, and is its root.
A tree can be built recurrently by starting from the root and connecting each vertex already built with its children by means of an edge. Hence, it is very interesting to characterize the children of an arbitrary vertex of . This is our next aim. For this reason, we introduce the following concept.
We say that an integer (x) is a special gap of a numerical semigroup (S) if and is a numerical semigroup. denotes the set formed by the special gaps of S.
The above result is obtained by applying Proposition 1 and [22] (Proposition 2.4).
Proposition 3.
If , then the set formed by the children of S in tree is
As an immediate consequence of the previous proposition, we obtain the next result.
Corollary 2.
If , then the set formed by the children of S in tree is .
Our next objective is to propose an algorithm that computes using the above results.
If S is a numerical semigroup and , then the Apéry set (see [27]) is defined as .
From [1] (Lemma 2.4), we can deduce the following.
Lemma 2.
Let S be a numerical semigroup and . Then, , where is the least element of S congruent with i modulo n for all .
Remark 1.
If S is a numerical semigroup and we know that for some , then
- 1.
- The problem of membership of S is solved, since an integer (n) belongs to S if and only if , where denotes the remainder after dividing n by x.
- 2.
- Using Remark 1 from [22], we can compute .
- 3.
- Applying Remark 2 from [22], we can calculate for all .
Thus, we have all the ingredients to propose Algorithm 1, that computes
| Algorithm 1 Computation of |
| Input: A nonempty finite subset P of Output:
|
In the following example we show how the previous algorithm works.
Example 1.
Let . Our aim is to compute .
- and
- , ,
Therefore the algorithm returns
3. The Least Element of That Contains an Set
Throughout this section, P denotes a nonempty, finite set of .
Recall that a subset (X) of is an set if there is such that .
Proposition 4.
Let Then, X is an set if and only if .
Proof.
(Necessity). If X is an set, then there is such that . If and , then .
(Sufficiency). It is clear that is an element of that contains X. Therefore, X is an set. □
By applying Proposition 1 and Corollary 1, we deduce the following.
Lemma 3.
The intersection of elements belonging to is, again, an element of .
If X is an set, denotes the intersection of all elements of containing X.
By applying Lemma 3, we can easily obtain the following result.
Proposition 5.
If X is an set, then is the smallest element of (with respect to set inclusion order) containing X.
Lemma 4.
If , then is an set and .
Proof.
According to Proposition 1, is a covariety, and according to [22] (Proposition 4.2), we have the result. □
Remember that if X is an set and , then we say that X is a system of generators of S. Moreover, if for all , then X is called a minimal system of generators of S.
Lemma 5.
If X is an set, then .
Proof.
From the proof of Proposition 4, we know that . Moreover, it is clear that if and , then . By applying Proposition 5, we find that . □
Theorem 1.
If , then is the unique minimal system of generators of S.
Proof.
According to Lemma 4, we know that X is an -set and . To conclude the proof, we see that if Y is an set and , then . According to Lemma 5, . Therefore, we can easily deduce that . □
If , then denotes the unique minimal system of generators of S. Recall that the cardinality of is called the rank of S, denoted by .
The proof of the next result is easy.
Lemma 6.
If , then we have the following conditions.
- (1)
- (2)
- if and only if
It is straightforward to prove the following result.
Proposition 6.
Let . If and , then is an element of and . Moreover, every element of with an equal to r has this form.
Example 2.
Let . Using Proposition 6, we can build all the elements of with an equal to 2. Based on Proposition 6, we know that these numerical semigroups have the form of , where and . Therefore, is the unique numerical semigroup with these conditions.
4. The Maximal Elements in
Throughout this section, P denotes a nonempty, finite subset of denotes the maximal elements (with respect to inclusion order) of .
If C is a subset of , then
Observe that and . However, both sets have the same set of maximal elements, that is, S is a maximal element of if and only if S is a maximal element of . This is the content of the following result.
Proposition 7.
With the above notation, .
Proof.
It is clear that if S is an element of , then is, again, an element of . Therefore, if S is a maximal element of then
If then there is a maximal element of (T) such that As T is a maximal element of Hence, is a maximal element of □
An algorithm to compute the maximal elements of appears in [28]. Therefore, we can assert that we have an algorithm to calculate This algorithm will be Algorithm 2, Our next aim in this section is to show another algorithm to compute For this, we need to introduce some results. The following result is derived from [1] (Lemma 4.35).
Lemma 7.
Let S and T be numerical semigroups such that and Then, is also a numerical semigroup.
Theorem 2.
Let S be a numerical semigroup. Then, if and only if and
Proof.
(Necessity). If then , so If then there is such that Then, and Therefore,
(Sufficiency). If then As and Therefore, If then there is such that Let Then, according to Lemma 7, we know that As Thus, , contradicting □
| Algorithm 2 Computation of |
| Input: A nonempty finite subset (P) of Output:
|
In the following example we see how the above algorithm works.
Example 3.
Let Now, we compute by applying the previous algorithm.
As in Example 1, we have
Then,
Recall that an element of is -irreducible if it cannot be written as the intersection of two elements of containing it properly. The following proposition has an immediate proof.
Proposition 8.
With the previous notation,
Our next objective is to propose Algorithm 3, that computes For this, the following result is essential.
Theorem 3.
Let Then, S is -irreducible if and only if
Proof.
(Necessity). If then there is such that and Then, and Therefore, S is not -irreducible.
(Sufficiency). If S is not -irreducible, then there is such that and Let and . The, according to Lemma 7, we know that Moreover, it is clear that and Hence, □
| Algorithm 3 Computation of |
| Input: A nonempty finite subset P of Output:
|
Next, we illustrate the previous algorithm.
Example 4.
Following Example 3, let be the nonempty, finite set. Now, we compute by applying Algorithm 3.
- In Example 3, by using Algorithm 1 we obtainedand
- Therefore,
As a consequence of Theorems 2 and 3, we have the following.
Corollary 3.
5. A Partition of
Throughout this section, P denotes a nonempty, finite subset of
Recall that a numerical semigroup is irreducible if it cannot be expressed as the intersection of two numerical semigroups properly containing it.
If F is a positive integer,
and
The following result is deduced from [29] (Theorem 1).
Lemma 8.
If then (with respect to inclusion order).
If S is a numerical semigroup, then
Over , we define the following binary equivalence relation: if and only if If , The quotient set of , according to relation , is
The following result is deduced from [23] (Theorem 3).
Proposition 9.
If then is a partition of
If then
The next result is an immediate consequence of previous proposition.
Corollary 4.
The set expressed as is a partition of
As a consequence of Corollary 4, to build all the elements of the following is enough:
- Compute the set of
- For every compute
From [23] (Lemma 12), we deduce the following.
Lemma 9.
Let and T be a numerical semigroup. Then, if and only if
denotes the numerical semigroup () considered in Lemma 9. The following result is a consequence of it.
Lemma 10.
Let Then, if and only if
In [20], an algorithmic procedure is shown to compute Therefore, we can propose Algorithm 4, to calculate
| Algorithm 4 Computation of |
| Input: A nonempty finite subset P of Output:
|
In the following example, we obtain by using the previous algorithm.
Example 5.
Let be a nonempty, finite set.
- Then,
Our aim in this section is to present an algorithm that calculates given For this reason, we introduce the following notation.
If A and B are nonempty subsets of , we write If and If then If then
The following result appears in [23] (Proposition 14).
Lemma 11.
If and then
By applying this last lemma, we easily deduce the next result.
Proposition 10.
If then
We are now in a position to present the proposed algorithm, that is, Algorithm 5
| Algorithm 5 Computation of |
| Input: An element S of Output:
|
In the next example, we show how set can be calculated by using the previous algorithm.
Example 6.
Let obtained in Example 5. We now compute
Then,
Therefore,
As a consequence of Algorithm 5, we present Algorithm 6, that provides an alternative method to Algorithm 1 for computing
| Algorithm 6 Computation of |
| Input: A nonempty finite subset P from Output:
|
In the next example, by using Algorithms 4 and 5, we show how we can compute set in an alternative way to that provided by Algorithm 1.
Example 7.
Let be a finite, nonempty subset of
- Using Algorithm 4, we have seen in Example 5 that
- For using Algorithm 5, we have seen in Example 6 that
- The algorithm returns
6. Decomposition of into R Varieties
Throughout this section, P denotes a nonempty, finite subset of Moreover, we suppose that
If S is a numerical semigroup, then the set formed by the small elements of S is
By applying Lemma 5, we easily deduce the next result.
Proposition 11.
With the above notation, such that for some
As a consequence of this proposition, we have the following.
Corollary 5.
Let A and B be numerical semigroups such that . With this new notation, we can rewrite Corollary 5 as follows.
Corollary 6.
If S and T are numerical semigroups such that then the is called the Frobenius number of S restricted to T, denoted by
An R variety is a nonempty family () of numerical semigroups that verifies the following:
- has a maximum (with respect to inclusion order), denoted by
- If then
- If and then
From [24] (Example 2.3), the following can be deduced.
Proposition 12.
If A and B are numerical semigroups such that then is an R variety.
Given an R variety () Algorithm 4.7 from [24] allows us obtain the set of all elements of with a fixed genus. This is Algorithm 7.
The proof of the following lemma is straightforward.
Lemma 12.
If A and B are numerical semigroups and then
| Algorithm 7 Computation of |
| Input: A and B numerical semigroups such that Output:
|
Now, we illustrate how this algorithm works.
Example 8.
Let and be numerical semigroups. We now compute the R variety
- and Then,
- The algorithm returns
Finally, we will present Algorithm 8, which is an alternative to Algorithms 1 and 6 for calculating
| Algorithm 8 Computation of |
| Input: A nonempty finite subset P of Output:
|
We conclude this paper by presenting an example that illustrates how this algorithm works.
Example 9.
By using the previous algorithm, we calculate set as
- In Example 3 and using Algorithm 2, we find that
- For in Example 8 and using Algorithm 7 we compute the R variety:
- The algorithm returns
7. Conclusions
This work shows a new application of the concept of covariety to the study of numerical semigroups. Indeed, if P is a nonempty, finite subset of positive integers, we have proven that is a covariety. This fact has allowed us to do the following:
- To arrange the elements of in the form of a tree and, as a consequence, to propose an algorithm that calculates all its elements;
- To study the maximal elements from with respect to the set inclusion order; in particular, we propose an algorithm for calculating them;
- To investigate the elements of that cannot be expressed as an intersection of two elements of that properly contain it; we also propose an algorithm for this purpose.
Author Contributions
All authors contributed equally to this work. All authors have read and agreed to the published version of the manuscript.
Funding
This work was partially supported by Junta de Andalucía groups FQM-298 and FQM-343 and by ProyExcel_00868.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Acknowledgments
The authors would like to thank the reviewers for their constructive comments and suggestions that improved the quality of the manuscript.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Rosales, J.C.; García-Sánchez, P.A. Numerical Semigroups; Springer: New York, NY, USA, 2009; Volume 20. [Google Scholar]
- Ramírez Alfonsín, J.L. The Diophantine Frobenius Problem; Oxford University Press: London, UK, 2005. [Google Scholar]
- Sylvester, J.J. Mathematical question with their solutions. Educ. Times 1884, 41, 21. [Google Scholar]
- Brauer, A. On a problem of partitions. Amer. J. Math. 1942, 64, 299–312. [Google Scholar] [CrossRef]
- Curtis, F. On formulas for the Frobenius number of a numerical semigroup. Math. Scand. 1990, 67, 190–192. [Google Scholar] [CrossRef]
- Davison, J.L. On the linear Diophantine problem of Frobenius. J. Number Theory 1994, 48, 353–363. [Google Scholar] [CrossRef][Green Version]
- Djawadi, M.; Hofmeister, G. Linear Diophantine problem. Arch. Math. 1996, 66, 19–29. [Google Scholar] [CrossRef]
- Johnson, S.M. A Linear Diophantine problem. Canad. J. Math. 1960, 12, 390–398. [Google Scholar] [CrossRef]
- Selmer, E.S. On the linear diophantine problem of Frobenius. J. Reine Angew. Math. 1977, 293/294, 1–17. [Google Scholar]
- Bertin, J.; Carbonne, P. Semi-groupes d’entiers et application aux branches. J. Algebra 1977, 49, 81–95. [Google Scholar] [CrossRef]
- Barucci, V.; Dobbs, D.E.; Fontana, M. Maximality Properties in Numerical Semigroups and Applications to One-Dimensional Analitycally Irreducible Local Domains. Mem. Amer. Math. Soc. 1997, 125, 1–78. [Google Scholar]
- Castellanos, J. A relation between the sequence of multiplicities and the semigroups of values of an algebroid curve. J. Pure Appl. Algebra 1986, 43, 119–127. [Google Scholar] [CrossRef]
- Delorme, C. Sous-monoïdes d’intersection complète de . Ann. Scient. École Norm. Sup. 1976, 9, 145–154. [Google Scholar] [CrossRef]
- Fröberg, R.; Gottlieb, G.; Häggkvist, R. On numerical semigroups. Semigroup Forum 1987, 35, 63–83. [Google Scholar] [CrossRef]
- Kunz, E. The value-semigroup of a one-dimensional Gorenstein ring. Proc. Am. Math. Soc. 1970, 25, 748–751. [Google Scholar] [CrossRef]
- Watanabe, W. Some examples of one dimensional Gorenstein domains. Nagoya Math. J. 1973, 49, 101–109. [Google Scholar] [CrossRef]
- Bras-Amorós, M. Bounds on the number of numerical semigroups of a given genus. J. Pure Appl. Algebra 2009, 213, 997–1001. [Google Scholar] [CrossRef]
- Elizalde, S. Improved bounds on the number of numerical semigroups of a given genus. J. Pure Appl. Algebra 2010, 214, 1862–1873. [Google Scholar] [CrossRef][Green Version]
- Zhai, A. Fibonacci-like growth of numerical semigroups with a given genus. Semigroup Forum 2013, 86, 634–662. [Google Scholar] [CrossRef][Green Version]
- Blanco, V.; Rosales, J.C. The tree of irreducible numerical semigroup with fixed Frobenius number. Forum Math. 2013, 23, 1249–1261. [Google Scholar] [CrossRef]
- Bras-Amorós, M. Fibonacci-like behavior of the number of numerical semigroups of a given genus. Semigroup Forum 2008, 76, 379–384. [Google Scholar] [CrossRef]
- Moreno-Frías, M.A.; Rosales, J.C. The covariety of numerical semigroups with fixed Frobenius number. J. Algebra. Comb. 2024, 60, 555–568. [Google Scholar] [CrossRef]
- Blanco, V.; Rosales, J.C. On the enumeration of the set of numerical semigroups with fixed Frobenius number. Comput. Math. Appl. 2012, 63, 1204–1211. [Google Scholar] [CrossRef]
- Robles-Pérez, A.M.; Rosales, J.C. Frobenius restricted varieties in numerical semigroups. Semigroup Forum 2018, 97, 478–492. [Google Scholar] [CrossRef]
- The GAP Group. GAP—Groups, Algorithms, and Programming, Version 4.12.2. 2022. Available online: https://www.gap-system.org (accessed on 20 January 2025).
- Delgado, M.; García-Sánchez, P.A.; Morais, J. NumericalSgps, A Package for Numerical Semigroups. Version 1.3.1, 2022 (Refereed GAP Package). Available online: https://gap-packages.github.io/numericalsgps (accessed on 20 January 2025).
- Apéry, R. Sur les branches superlinéaires des courbes algébriques. C. R. Acad. Sci. Paris 1946, 222, 1198–2000. [Google Scholar]
- Rosales, J.C.; Branco, M.B. A problem of integer partitions and numerical semigroups. Proc. Roy. Soc. Edinburgh. Sect. 2019, 149, 969–978. [Google Scholar] [CrossRef]
- Rosales, J.C.; Branco, M.B. Irreducible numerical semigroups. Pac. J. Math. 2003, 209, 131–143. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).