scieee AI-readable full text Open interactive document viewer

Semigroups with fixed multiplicity and embedding dimension

García García, Juan Ignacio,Marín Aragón, Daniel,Moreno Frías, María Ángeles,Rosales, José Carlos,Vigneron Tenorio, Alberto

Abstract

Producción Científica

Full text

ISSN 1855-3966 (printed edn.), ISSN 1855-3974 (electronic edn.) ARS MATHEMATICA CONTEMPORANEA 17 (2019) 397–417 https://doi.org/10.26493/1855-3974.1937.5ea (Also available at http://amc-journal.eu) Semigroups with fixed multiplicity and embedding dimension∗ Juan Ignacio Garc´ ıa-Garc´ ıa † Dpto. de Matem´ aticas/INDESS (Instituto Universitario para el Desarrollo Social Sostenible). Universidad de C´ adiz, E-11510, Puerto Real (C´ adiz, Spain) Daniel Mar´ ın-Arag´ on † Dpto. de Matem´ aticas. Universidad de C´ adiz, E-11510, Puerto Real (C´ adiz, Spain) Mar´ ıa ´ Angeles Moreno-Fr´ ıas ‡ Dpto. Matem´ aticas, Universidad de C´ adiz, E-11510, Puerto Real (C´ adiz, Spain) Jos´ e Carlos Rosales § Dpto. de ´ Algebra, Universidad de Granada, E-18071, Granada (Spain) Alberto Vigneron-Tenorio ¶ Dpto. de Matem´ aticas/INDESS (Instituto Universitario para el Desarrollo Social Sostenible). Universidad de C´ adiz, E-11406 Jerez de la Frontera (C´ adiz, Spain) Received 15 February 2019, accepted 11 September 2019, published online 4 November 2019 Abstract Given m∈N, a numerical semigroup with multiplicity mis called a packed numerical semigroup if its minimal generating set is included in {m, m + 1,...,2m−1}. In this work, packed numerical semigroups are used to build the set of numerical semigroups with a given multiplicity and embedding dimension, and to create a partition of this set. Wilf’s conjecture is verified in the tree associated to some packed numerical semigroups. Furthermore, given two positive integers mand e, some algorithms for computing the minimal Frobenius number and minimal genus of the set of numerical semigroups with ∗The authors would like to thank the referee and the editor for their useful comments and suggestions to help improving this paper. †Partially supported by MTM2017-84890-P and by Junta de Andaluc´ ıa group FQM-366. ‡Partially supported by MTM2017-84890-P and by Junta de Andaluc´ ıa group FQM-298. §Partially supported by MTM2017-84890-P and by Junta de Andaluc´ ıa group FQM-343. ¶Partially supported by MTM2015-65764-C3-1-P (MINECO/FEDER, UE), by MTM2017-84890-P and by Junta de Andaluc´ ıa group FQM-366. cb This work is licensed under https://creativecommons.org/licenses/by/4.0/ 398 Ars Math. Contemp. 17 (2019) 397–417 multiplicity mand embedding dimension eare provided. We also compute the semigroups where these minimal values are achieved. Keywords: Embedding dimension, Frobenius number, genus, multiplicity, numerical semigroup. Math. Subj. Class.: 20M14, 20M05 1 Introduction Let N={0,1,2, . . .}be the set of non-negative integers. A numerical semigroup is a subset Sof Nwhich is closed under addition, such that 0∈Sand N\Sis finite. If Sis a numerical semigroup, we define the multiplicity of S, denoted by m(S), to be the least positive integer in S, the Frobenius number (F(S)) to be the greatest integer that is not in S, and the genus, g(S), to be the cardinality of N\S. Given a non-empty subset Aof Nwe denote by hAithe submonoid of (N,+) generated by A, that is, hAi={λ1a1+· · · +λnan|n∈N, a1, . . . , an∈A, λ1, . . . , λn∈N}. It is well known (for example, see Lemma 2.1 from [11]) that hAiis a numerical semigroup if and only if gcd(A)=1. If Sis a numerical semigroup and S=hAi,we say that Ais a system of generators of S. Moreover, Ais a minimal system of generators of Sif S6=hBi for every B(A. In Theorem 2.7 from [11] it is shown that every numerical semigroup has a unique minimal system of generator and this system is finite. We denote by msg(S)and e(S)the minimal system of generators of Sand its cardinality, also called the embedding dimension of S. If mand eare positive integers we use the following notation: L(m, e) = {S|Sis a numerical semigroup, m(S) = m, e(S) = e}. In this work, one of our aims is to present a procedure that allows us to recursively construct the set L(m, e). We say that a numerical semigroup Sis a packed numerical semigroup if msg(S)⊆ {m(S), m(S)+1,...,2m(S)−1}. The set of all packed numerical semigroups with multiplicity mand embedding dimension eis denoted by C(m, e). In Section 2, an equivalence relation Rin the set L(m, e)is defined. For each S∈ L(m, e)we denote by [S], the equivalence class of S. We show that if S∈ L(m, e)then [S]∩C(m, e)has cardinality 1, so {[S]|S∈ C(m, e)}is a partition of L(m, e). Hence, for computing all the elements of the set L(m, e)it is only necessary to perform the following steps: 1. Compute C(m, e). 2. For every S∈ C(m, e)compute [S]. E-mail addresses: [email protected] (Juan Ignacio Garc´ ıa-Garc´ ıa), [email protected] (Daniel Mar´ ın-Arag´ on), [email protected] (Mar´ ıa ´ Angeles Moreno-Fr´ ıas), [email protected] (Jos´ e Carlos Rosales), [email protected] (Alberto Vigneron-Tenorio) J. I. Garc´ ıa-Garc´ ıa et al.: Semigroups with fixed multiplicity and embedding dimension 399 We see that it is possible to compute C(m, e), since this problem is equivalent to computing all the subsets Aof {1,2, . . . , m −1}such that Ahas cardinality e−1and gcd(A∪ {m})=1. For computing [S], we order its elements by making a tree whose root is S, and describing the children of each of the vertices. In this way, we can recursively build the elements of [S]by adding in at each step the children of the vertices that were obtained in the previous step. This procedure is not algorithmic because [S]is infinite so we can not build it in a finite number of steps. The Frobenius number and genus have been widely studied (see [7]) and they, together with the embedding dimension, are the background of one the most important problems in this theory: Wilf’s conjecture which asserts that if Sis a numerical semigroup then e(S)g(S)≤(e(S)−1)(F(S) + 1) (see [15]). At present, it is still open. In this work, we show that if we go along through a branch of the tree associated to [S], the numerical semigroups have a greater Frobenius number and genus. These facts enable us to give an algorithm for building all the elements of L(m, e)with a fixed Frobenius number and/or genus. Finally, in order to compute the Frobenius number and the genus of the numerical semigroups of [S], we give an algorithm based on [3]. We would like to note that these new algorithms enable us to study the tree of numerical semigroups with a given multiplicity and embedding dimension and with Frobenius number and/or genus up to any given bound. In some works, there appear algorithms for the computation of the tree of numerical semigroups up to a certain genus (see for example [4]). In our work, there can also be a bound on the Frobenius number. In addition, the computation of the complete tree of numerical semigroups up to a certain genus is not a practical method to obtain the numerical semigroups with a fixed multiplicity and embedding dimension, since it performs unnecessary calculations and does not obtain as large a genus as we can get with our algorithms. We are also interested in giving algorithms for computing g(m, e) = min{g(S)|S∈ L(m, e)}, F(m, e) = min{F(S)|S∈ L(m, e)}, {S∈ L(m, e)|g(S) = g(m, e)}, and {S∈ L(m, e)|F(S) = F(m, e)}. These methods are illustrated with several examples. To accomplish this, we have used the library FrobeniusNumberAndGenus developed by the authors in Mathematica ([16]). This library is freely available online at [5]. The content of this work is organized as follows. In Section 2, a partition of the set L(m, e)is studied and we construct a map φ:L(m, e)→ C(m, e)such that [S]∩ C(m, e) is equal to {φ(S)}for every S∈ L(m, e). Theorem 3.3, in Section 3, is used to recursively compute the elements of [S]. In Section 4, we give some algorithms for computing the elements of [S]with Frobenius number and/or genus less than fixed integer bounds. In Section 5, we show how the Ap´ ery set of the elements of [S]is used to compute their Frobenius number and genus. We also check that Wilf’s conjecture is satisfied for some elements of [S]. Section 6illustrates the preceding section and Section 7contains some known results on Frobenius pseudo-varieties which allow us to construct the tree of all numerical semigroups with any given multiplicity. In Section 8and Section 9, the minimal genus and minimal Frobenius number of the set of numerical semigroups with fixed multiplicity and embedding dimension are studied, giving some algorithms for computing them and obtaining the semigroups with these minimal values. 400 Ars Math. Contemp. 17 (2019) 397–417 2 A partition of L(m, e) If Aand Bare subsets of Nwe denote by A+B={a+b|a∈Aand b∈B}. It is well known (for example see Proposition 2.10 from [11]) that if Sis a numerical semigroup then e(S)≤m(S). Note that if e(S) = 1 then S=N. Therefore, in the sequel, we assume that eand mare integers such that 2≤e≤m. Given S∈ L(m, e)we denote by φ(S)the numerical semigroup generated by {m}+ {xmod m|x∈msg(S)}. Clearly, φ(S)is a packed numerical semigroup and therefore we have the following result. Lemma 2.1. With the previous assumptions, φdefines a surjective map from L(m, e)to C(m, e). We define in L(m, e)the following equivalence relation: SRTif φ(S) = φ(T). Given S∈ L(m, e),[S]denotes the set {T∈ L(m, e)|SRT}. Therefore, the quotient set L(m, e)/R={[S]|S∈ L(m, e)}is a partition of L(m, e). Lemma 2.2. If S∈ L(m, e), then [S]∩ C(m, e) = {φ(S)}. Proof. By Lemma 2.1, we know that φ(S)∈ C(m, e). Moreover, it is clear that φ(φ(S)) = φ(S). Therefore, SRφ(S)and φ(S)∈[S]∩ C(m, e). If T∈[S]∩ C(m, e), then φ(T) = φ(S)and φ(T) = T, so T=φ(S). The following result is a consequence of the previous lemmas. Theorem 2.3. Let mand ebe integers such that 2≤e≤m. Then {[S]|S∈ C(m, e)}is a partition of L(m, e). Moreover, if {S, T}⊆C(m, e)and S6=Tthen [S]∩[T] = ∅. Therefore, as a consequence of Theorem 2.3, for computing all the elements of the set L(m, e)it is only necessary to do the following steps: 1. Compute C(m, e). 2. For every S∈ C(m, e)compute [S]. C(m, e)is easy to compute using the following result. Proposition 2.4. Let mand ebe integers such that 2≤e≤m, and let Abe a subset of {1, . . . , m −1}with cardinality e−1such that gcd(A∪ {m}) = 1. Then S=h{m}+ (A∪ {0})i∈C(m, e). Moreover, every element of C(m, e)has this form. Proof. The set Sis a numerical semigroup because gcd({m}+ (A∪ {0})) = gcd(A∪ {m})=1. It is straightforward to prove that msg(S) = {m}+ (A∪ {0}),so S∈ C(m, e). If S∈ C(m, e)then msg(S) = {m, m +r1, . . . , m +re−1}with {r1, . . . , re−1} ⊆ {1...,m−1}. Moreover, since gcd{m, m +r1, . . . , m +re−1}= 1, gcd{m, r1, . . . , re−1}= 1. J. I. Garc´ ıa-Garc´ ıa et al.: Semigroups with fixed multiplicity and embedding dimension 401 We illustrate the content of the previous proposition with an example. Example 2.5. We are going to compute the set C(6,3) formed by all the packed numerical semigroups of multiplicity 6and embedding dimension 3. For this purpose, and using Proposition 2.4, it is enough computing the subsets Aof {1,2,3,4,5}of cardinality 2such that gcd(A∪ {6})=1. This set is equal to {{1,2},{1,3},{1,4},{1,5},{2,3},{2,5},{3,4},{3,5},{4,5}}. Therefore, C(6,3) = {h6,7,8i,h6,7,9i,h6,7,10i,h6,7,11i, h6,8,9i,h6,8,11i,h6,9,10i,h6,9,11i,h6,10,11i}. Note that if mis a prime number then every subset Aof {1, . . . , m−1}with cardinality e−1verifies that gcd(A∪ {m})=1. Therefore, we have the following result. Proposition 2.6. If mis a prime number and eis an integer number such that 2≤e≤m then C(m, e)has cardinality m−1 e−1. Our next goal in this work is to show a recursive procedure to compute [S]for every S∈ C(m, e). In order to achieve it, in the next section, we set the elements of [S]in a tree. 3 The tree associated to [S] A graph Gis pair (V, E)where Vis a set (with elements called vertices) and Eis a subset of {(v, w)∈V×V|v6=w}(with elements called edges). A path which connects the vertices xand yof Gis a sequence of different edges of the form (v0, v1), (v1, v2),...,(vn−1, vn)such that v0=xand vn=y. A graph Gis a tree if there exists a vertex r(known as the root of G) such that for any other vertex xof Gthere exists a unique path connecting xand r. If (x, y)is an edge of a tree, we say that xis a child of y. Lemma 3.1. If {n1< n2<· · · < ne}is a minimal system of generators of a numerical semigroup and ne−n1> n1then {n1, . . . , ne−1, ne−n1}is also a minimal system of generators of a numerical semigroup. Proof. In other case, there exists k∈ {1, . . . , e −1}such that nk∈ {ne−n1}+hn1, . . . , nk−1, nk+1,...,,ne−1, ne−n1i. But it is not possible because ne−n1+n1=ne> nk. Let Sbe a numerical semigroup. We denote by M(S)the maximum of msg(S).If S∈ L(m, e),we define the following sequence of elements of L(m, e): •S0=S, •Sn+1 =h(msg(Sn)\ {M(Sn)})∪ {M(Sn)−m}i if M(Sn)−m>m. Because of Lemma 3.1, there exists a sequence: S=S0(S1(· · · (Sk=φ(S)∈ C(m, e). 402 Ars Math. Contemp. 17 (2019) 397–417 Example 3.2. Let S∈ L(5,3) be the semigroup minimally generated by {5,13,21}.Then, we have the following sequence of elements of L(5,3): S0=h5,13,21i(S1=h5,13,16i(S2=h5,11,13i (S3=h5,8,11i(S4=h5,6,8i=φ(S)∈ C(5,3). Let Sbe in C(m, e). We define the graph G([S]) as follows: [S]is the set of vertices and (A, B)∈[S]×[S]is an edge if msg(B) = (msg(A)\ {M(A)})∪ {M(A)−m}. Theorem 3.3. If S∈ C(m, e)then G([S]) is a tree with root S. Moreover, if P∈[S]and msg(P) = {n1< n2<· · · < ne}then the children of Pin G([S]) are the numerical semigroups of the form h({n1, . . . , ne}\{nk})∪ {nk+n1}i such that k∈ {2, . . . , e}, nk+n1> neand nk+n1/∈ h{n1, . . . , ne}\{nk}i. Proof. From the definition and the comment after Lemma 3.1, we have that G([S]) is a tree with root S. Let kbe in {2, . . . , e}such that nk+n1> neand nk+n1/∈ h{n1, . . . , ne}\{nk}i. If H=h({n1, . . . , ne}\{nk})∪ {nk+n1}i is clear that msg(H)=({n1, . . . , ne}\{nk})∪ {nk+n1}and msg(P) = (msg(H)\ {M(H)})∪ {M(H)−m}. Therefore His a child of P. Conversely, if His a child of Pthen (H, P)is an edge of G([S]) and we obtain that H is as the theorem describes. The previous theorem provides us with a method to recursively build the elements of [S]as it is shown in the next example. Example 3.4. Figure 1shows some levels of the tree G([h5,6,8i]). Note that the cardinality of [S]is infinity, so it is impossible to compute all the elements of [S]. However, in the next section, we show that it is possible to compute all the elements of [S]with a fixed Frobenius number or genus. 4 Frobenius number and genus Let Pbe a numerical semigroup with minimal generating set {n1< n2<· · · < ne}, k∈ {2, . . . , e}and Hbe the numerical semigroup generated by ({n1, . . . , ne} \ {nk})∪ {nk+n1}. Then H⊂P,F(P)≤F(H)and g(P)< g(H). We can formulate the following result. Proposition 4.1. If S∈ C(m, e),P∈[S]and (H, P)is an edge of G([S]) then F(P)≤ F(H)and g(P)< g(H). As a consequence of the previous proposition, we have that if we go along through the branches of the tree G([S]), the numerical semigroups that we are finding have greater or equal Frobenius number, and also a greater genus. This fact enables us to formulate the Algorithms 1and 3in order to compute all the elements in [S]with Frobenius number less than or equal to a given integer, and genus less than or equal to another given integer, respectively. J. I. Garc´ ıa-Garc´ ıa et al.: Semigroups with fixed multiplicity and embedding dimension 403 h5,6,8i aa== h5,8,11i OO h5,6,13i h5,11,13i aa== h5,13,16i aa== h5,11,18i OO h5,16,18i aa== h5,13,21i h5,11,23i OO h5,18,21i aa== h5,16,23i aa h5,11,28i h5,21,23i aa== h5,18,26i aa h5,16,28i aa h5,23,26i h5,21,28i h5,18,31i h5,16,33i Figure 1: Seven levels of the tree of the packed numerical semigroup h5,6,8i. Algorithm 1 An algorithm to determinate the elements T∈[S]such that F(T)≤Ffor a fixed integer F. INPUT: (S, F)where Sis a packed numerical semigroup and Fis a positive integer. OUTPUT: {T∈[S]|F(T)≤F}. 1: if F(S)> F then 2: return ∅ 3: while true do 4: A={S}and B={S}. 5: C={H|His a child of an element of B, F(H)≤F}. 6: if C=∅then 7: return A 8: A=A∪C,B=C. The following example illustrates how the previous algorithm works. Example 4.2. We compute all the elements of [h5,6,8i]with Frobenius number less than or equal to 25. •A={h5,6,8i},B={h5,6,8i} and C={h5,8,11i,h5,6,13i}. •A={h5,6,8i,h5,8,11i,h5,6,13i},B={h5,8,11i,h5,6,13i} and C={h5,11,13i}. 404 Ars Math. Contemp. 17 (2019) 397–417 •A={h5,6,8i,h5,8,11i,h5,6,13i,h5,11,13i},B={h5,11,13i} and C={h5,11,18i}. •A={h5,6,8i,h5,8,11i,h5,6,13i,h5,11,13i,h5,11,18i},B={h5,11,18i} and C=∅. Therefore, the set {T∈[h5,6,8i]|F(T)≤25}is equal to {h5,6,8i,h5,8,11i,h5,6,13i, h5,11,13i,h5,11,18i}. The next algorithm allows us to compute all the numerical semigroups with multiplicity m, embedding dimension eand Frobenius number less than or equal to F. Note that if Sis a numerical semigroup, such that S6=Nthen m(S)−1/∈Sand then m(S)−1≤F(S). Algorithm 2 An algorithm to determinate the numerical semigroups with a fixed embedding dimension and multiplicity, and bounded Frobenius number. INPUT: m, e, and Fpositive integers such that 2≤e≤m≤F+ 1. OUTPUT: {S|Snumerical semigroup, m(S) = m, e(S) = eand F(S)≤F}. 1: compute C(m, e), using Proposition 2.4. 2: for all S∈ C(m, e)do 3: compute A(S) = {T∈[S]|F(T)≤F}, using Algorithm 1. 4: return ∪S∈C(m,e)A(S). Now, we change Frobenius number by the genus in Algorithm 1and Algorithm 2. Algorithm 3 An algorithm to determinate the elements T∈[S]such that g(T)≤gfor a fixed integer g. INPUT: (S, g)where Sis a packed numerical semigroup and gis a positive integer. OUTPUT: {T∈[S]|g(T)≤g}. 1: if g(S)> g then 2: return ∅ 3: A={S}and B={S}. 4: while true do 5: C={H|His a child of an element of B, g(H)≤g}. 6: if C=∅then 7: return A 8: A=A∪C,B=C. We illustrate now the above algorithm. Example 4.3. We compute all the elements of [h5,6,8i]with genus less than or equal to 15. •A={h5,6,8i},B={h5,6,8i} and C={h5,8,11i,h5,6,13i}. •A={h5,6,8i,h5,8,11i,h5,6,13i},B={h5,8,11i,h5,6,13i} and C={h5,11,13i}. •A={h5,6,8i,h5,8,11i,h5,6,13i,h5,11,13i},B={h5,11,13i} and C={h5,11,18i}. J. I. Garc´ ıa-Garc´ ıa et al.: Semigroups with fixed multiplicity and embedding dimension 405 •A={h5,6,8i,h5,8,11i,h5,6,13i,h5,11,13i,h5,11,18i},B={h5,11,18i} and C=∅. Algorithm 3returns {h5,6,8i,h5,8,11i,h5,6,13i,h5,11,13i,h5,11,18i}. Note that if Sis a numerical semigroup such that S6=Nthen {1, . . . , m(S)−1} ⊆ N\Sand then m(S)−1≤g(S). Combining the above results, we obtain Algorithm 4. Algorithm 4 An algorithm to compute numerical semigroups with fixed multiplicity, embedding dimension and bounded genus. INPUT: m, e, and gpositive integers such that 2≤e≤m≤g+ 1. OUTPUT: {S|Snumerical semigroup, m(S) = m, e(S) = eand g(S)≤g}. 1: compute C(m, e), using Proposition 2.4. 2: for all S∈ C(m, e)do 3: compute A(S) = {T∈[S]|g(T)≤g}, using Algorithm 3. 4: return ∪S∈C(m,e)A(S). Note that applying Algorithms 1and 2we have to compute the Frobenius number and the genus, respectively, of the numerical semigroups we recursively obtain when we build [S]. Results of the next section enable us to easily compute the Frobenius number and the genus of every semigroup of [S]. 5 The Ap´ ery set of the elements of [S] Let Sbe a numerical semigroup and n∈S\ {0}. The Ap´ ery set (named by [1]) of nin Sis Ap(S, n) = {s∈S|s−n /∈S}. The next result is a consequence of Lemma 2.4 from [11]. Lemma 5.1. Let Sbe a numerical semigroup and n∈S\ {0}. Then Ap(S, n)has cardinality n. Moreover, Ap(S, n) = {w(0) = 0, w(1), . . . , w(n−1)}where w(i)is the least element in Scongruent with imodulo n. The set Ap(S, n)gives us a lot of information of S. The following result is found in [13]. Lemma 5.2. Let Sbe a numerical semigroup and n∈S\ {0}. Then: •F(S) = max(Ap(S, n)) −n. •g(S) = 1 n(Pw∈Ap(S,n)w)−n−1 2. The following result is a consequence of Lemma 5.1. Lemma 5.3. Let Sbe a numerical semigroup with minimal system of generators {n1, n2, ...,ne}and Ap(S, n1) = {0, w(1), . . . , w(n1−1)}. Then w(i) = min{a2n2+· · · +aene|(a2, . . . , ae)∈Ne−1and a2n2+· · · +aene≡i(mod n1)}. 412 Ars Math. Contemp. 17 (2019) 397–417 We illustrate the above algorithm in the following example. Example 8.4. We compute g(5,3) and {S∈ L(5,3) |g(S) = g(5,3)}using Algorithm 5. •k= 0 and A={h5,6,7,8,9i}. •k= 1 and A={h5,7,8,9,11i,h5,6,8,9i,h5,6,7,9i,h5,6,7,8i}. •k= 2 and A={h5,8,9,11,12i,h5,7,9,11,13i,h5,7,8,11i, h5,7,8,9i,h5,6,9,13i,h5,6,8i,h5,6,7i}. It returns g(5,3) = 6 and {S∈ L(5,3) |g(S)=6}={h5,6,8i,h5,6,7i}. In the package FrobeniusNumberAndGenus ([5]), we can run the command ComputeMinimumGenusLme[5,3] to obtain this result. If Sis a numerical semigroup, n∈S\ {0}and Ap(S, n) = {w(0) = 0, w(1),..., w(n−1)}(see [11, Lemma 2.4, Lemma 2.6]), then w(i) = kin+ifor some ki∈Nand kn +i∈Sif and only if k≥ki. Therefore, using Lemma 5.2, we have the following (see the proof of [11, Proposition 2.12]). Lemma 8.5. Let Sbe a numerical semigroup, n∈S\ {0}and Ap(S, n) = {0, k1n+ 1, ...,kn−1n+n−1}. Then g(S) = k1+· · · +kn−1. The next result is easily deduced from Corollary 4 of [6]. Lemma 8.6. Let m,e,q,rbe integers such that m≥e≥2,S=hm, m+1, . . . , m+e−1i, and m−1 = q(e−1) + r, with q, r ∈Nand r≤e−2. Then Ap(S, m) = {0, m + 1, . . . , m +e−1,2m+ (e−1) + 1,..., 2m+ 2(e−1), . . . , qm + (q−1)(e−1) + 1, . . . , qm +q(e−1), (q+ 1)m+q(e−1) + 1,...,(q+ 1)m+q(e−1) + r}. If a, b ∈Nand b6= 0 we denote by amod bthe remainder of dividing aby b. If qis a rational number we denote by bqc= max{z∈Z|z≤q}. Note that a= ba bcb+ (amod b). From Lemma 8.5 and Lemma 8.6 we have the following result. Proposition 8.7. Let mand ebe integers such that m≥e≥2and S=hm, m + 1, ...,m+e−1i. Then, g(S) = m−1 e−1+ 1 jm−1 e−1k(e−1) 2+ (m−1) mod (e−1) . Clearly hm, m + 1, . . . , m +e−1i ∈ L(m, e)and therefore we have the following result. Corollary 8.8. If mand eare integers such that m≥e≥2then g(m, e)≤m−1 e−1+ 1 jm−1 e−1k(e−1) 2+ (m−1) mod (e−1) . J. I. Garc´ ıa-Garc´ ıa et al.: Semigroups with fixed multiplicity and embedding dimension 413 For many examples the equality holds. However, there are some cases where the semigroup hm, m + 1, . . . , m +e−1idoes not have minimum genus in the set L(m, e)as we show in the next example. Example 8.9. S=h8,9,10iis a numerical semigroup and g(S) = 16.¯ S=h8,9,11iis a numerical semigroup and g(¯ S) = 14. Therefore, in this case g(h8,9,10i)6=g(8,3). The following result is a consequence from Proposition 2.4. Proposition 8.10. If S∈ L(m, e)then ¯ S=h{m}+{xmod m|x∈msg(S)}i ∈ C(m, e)and g(¯ S)≤g(S). Moreover, if S6∈ C(m, e)then g(¯ S)< g(S). We illustrate the previous proposition with an example. Example 8.11. If S=h5,11,17i∈L(5,3) then ¯ S=h{5}+{0,1,2}i =h5,6,7i ∈ C(5,3). Therefore, g(¯ S)≤g(S). Moreover, S6∈ C(5,3), so g(¯ S)< g(S). The next result is a consequence of Proposition 8.10. Corollary 8.12. Let mand ebe integers such that m≥e≥2. Then 1. g(m, e) = min{g(S)|S∈ C(m, e)}. 2. {S∈ L(m, e)|g(S) = g(m, e)}={S∈ C(m, e)|g(S) = g(m, e)}. Note that C(m, e)is finite and therefore the previous corollary gives us another algorithm for computing g(m, e)and {S∈ L | g(S) = g(m, e)}. We give more details about this method using Proposition 2.4 and the calculations which appear in Example 2.5. Example 8.13. From the calculations of Example 2.5, we have C(6,3) = {h6,7,8i,h6,7,9i,h6,7,10i,h6,7,11i, h6,8,9i,h6,8,11i,h6,9,10i,h6,9,11i,h6,10,11i}. A simple computation shows us g(h6,7,8i)=9, g(h6,7,9i) = 9, g(h6,7,10i)=9, g(h6,7,11i) = 10, g(h6,8,9i) = 10, g(h6,8,11i) = 11, g(h6,9,10i) = 12, g(h6,9,11i) = 13 and g(h6,10,11i) = 13. Therefore, g(6,3) = 9 and the set {S∈ L(6,3) |g(S)=9}is equal to {h6,7,8i,h6,7,9i, h6,7,10i}. 9 Elements of L(m, e)with minimum Frobenius number Our aim in this section is to obtain algorithmic methods for computing F(m, e)and {S∈ L(m, e)|F(S) = F(m, e)}. The next result is a consequence of Theorem 7.2. Proposition 9.1. If mis a positive integer and (S, T)is an edge of G(L(m)), then F(T)< F(S). 414 Ars Math. Contemp. 17 (2019) 397–417 The following result can be deduced from [9]. Proposition 9.2. If mis a positive integer and (S, T)is an edge of G(L(m)), then e(S)≤e(T). Clearly F(m, m) = m−1and {S∈ L(m, m)|F(S) = m−1}={hm, m + 1,...,2m−1i}. It is well known (see [14] for example) that if S=hn1, n2iis a numerical semigroup, then F(S) = n1n2−n1−n2. Therefore, we obtain the following result. Proposition 9.3. Let mbe an integer such that m≥2. 1. F(m, m) = m−1and {S∈ L(m, m)|F(S) = m−1}={hm, m + 1,..., 2m−1i}. 2. F(m, 2) = m2−m−1and {S∈ L(m, 2) |F(S) = m2−m−1}={hm, m+1i}. If qis a rational number we denote by dqe= min{z∈Z|q≤z}. The next result is deduced from Corollary 5 of [6]. Proposition 9.4. If mand eare integers such that m≥e≥2, then F(hm, m + 1, . . . , m +e−1i) = m−1 e−1m−1. As a consequence of the previous proposition we get the following result. Corollary 9.5. If mand eare integers such that m≥e≥2, then F(m, e)≤m−1 e−1m−1. In the previous corollary, equality often holds, but in some cases F(hm, m + 1, . . . , m +e−1i)6= min{F(S)|S∈ L(m, e)}. For example, F(h4,5,6i) = 7 and F(h4,5,7i)=6. From the above results, we obtain the following algorithm where the projections from the cartesian product L(m)×Nare denoted by π1and π2. Algorithm 6 An algorithm to compute F(m, e)and the set of semigroups with a fixed multiplicity and embedding dimension such that its Frobenius number is F(m, e). INPUT: mand eintegers such that m≥e≥2. OUTPUT: F(m, e)and {S∈ L(m, e)|F(S) = F(m, e)}. 1: A={hm, m + 1,...,2m−1i},I=∅and α=dm−1 e−1em−1. 2: while True do 3: C={(S, F(S)) |Sis child of some element of Aand F(S)≤α}. 4: K={S∈π1(C)|e(S)≥e}. 5: if K=∅then 6: return F(m, e) = π2(I)and {S∈ L(m, e)|F(S) = F(m, e)}=π1(I) 7: A=K,B={(S, F(S)) |S∈Kand e(S) = e}. 8: α= min(π2(B)∪ {α}),I={(S, F(S)) ∈I∪B|F(S) = α}. We illustrate how this algorithm works with an example. J. I. Garc´ ıa-Garc´ ıa et al.: Semigroups with fixed multiplicity and embedding dimension 415 Example 9.6. We compute F(4,3) and {S∈ L(4,3) |F(S) = F(4,3)}using Algorithm 6. •A={h4,5,6,7i},I=∅and α=d3 2e4−1=7. •C={(h4,6,7,9i,5),(h4,5,7i,6),(h4,5,6i,7)}and K={h4,6,7,9i,h4,5,7i,h4,5,6i}. •A={h4,6,7,9i,h4,5,7i,h4,5,6i},B={(h4,5,7i,6),(h4,5,6i,7)}, α= min{6,7}= 6 and I={(h4,5,7i,6)}. •C={(h4,7,9,10i,6)}and K={h4,7,9,10i}. •A={h4,7,9,10i},B=∅,α= 6 and I={(h4,5,7i,6)}. •C=∅and K=∅. Therefore, F(4,3) = 6 and {S∈ L(4,3) |F(S)=6}={h4,5,7i}. Using the Mathematica package [5], we obtain 6and h4,5,7i, running the commands MinFrob[4,3] and FrobeniusEmbeddingDimensionMultiplicity[6,3,4], respectively. Our next goal is to give an alternative algorithm for computing F(m, e)and {S∈ L(m, e)|F(S) = F(m, e)}. The next result is deduced from Proposition 2.4. Proposition 9.7. If S∈ L(m, e)then ¯ S=h{m}+{xmod m|x∈msg(S)}i ∈ C(m, e) and F(¯ S)≤F(S). As a consequence of the previous proposition we get the following result. Corollary 9.8. If mand eare integers such that m≥e≥2, then F(m, e) = min{F(S)| S∈ C(m, e)}. The set C(m, e)is finite, so previous corollary give us an algorithmic method for computing F(m, e). Example 9.9. We compute F(6,5). First, we calculate C(6,5) by using Proposition 2.4 and then we apply Corollary 9.8. So, C(6,5) = {h6,7,8,9,10i,h6,7,8,9,11i, h6,7,8,10,11i,h6,7,9,10,11i,h6,8,9,10,11i} and therefore F(6,5) = min{F(h6,7,8,9,10i) = 11, F(h6,7,8,9,11i) = 10, F(h6,7,8,10,11i)=9, F(h6,7,9,10,11i) = 8, F(h6,8,9,10,11i) = 13}= 8. We are now interested in giving a method for computing {S∈ L(m, e)|F(S) = F(m, e)}. The next example shows us that there exist semigroups S∈ L(m, e)such that S6∈ C(m, e)and F(S) = F(m, e). Example 9.10. The numerical semigroups S1=h7,9,10,15iand S2=h7,8,10,19i verify that S1, S2∈ L(7,4) \ C(7,4) and F(S1) = F(S2) = 13 = F(7,4). 416 Ars Math. Contemp. 17 (2019) 397–417 If S∈ L(m, e)we denote by θ(S)the numerical semigroup generated by {m}+ {xmod m|x∈msg(S)}. Clearly, θ(S)∈ C(m, e). Using the partition given in Section 2and Theorem 2.3, the following two steps are sufficient for computing {S∈ L(m, e)|F(S) = F(m, e)}. 1. Compute A={S∈ C(m, e)|F(S) = F(m, e)}. 2. For every S∈A, compute {T∈[S]|F(T) = F(S)}. We already know how to compute 1. We now focus on giving an algorithm that allows us to compute 2. Using Algorithm 1, for S∈ C(m, e)and F∈Nwe get the set {T∈[S]|F(T)≤F}. Clearly if S∈ C(m, e)then {T∈[S]|F(T) = F(S)}={T∈[S]|F(T)≤F(S)}. We are going to adapt Algorithm 1to our needs for computing 2. We now recall some definitions of Section 3. If Sis a numerical semigroup, M(S) = max(msg(S)). If S∈ C(m, e)the graph G([S]) was defined as follows: [S]is its set of vertices and (A, B)∈[S]×[S]is an edge if msg(B) = (msg(A)\ {M(A)})∪ {M(A)−m}. Now, using the Theorem 3.3, we give an algorithm which for a semigroup S∈ C(m, e) computes the set {T∈[S]|F(T) = F(S)}. Algorithm 7 An algorithm to compute the semigroups of each equivalence class such that their Frobenius number is minimum. INPUT: S∈ C(m, e). OUTPUT: {T∈[S]|F(T) = F(S)}. 1: A={S}and B={S}. 2: while True do 3: C={H|His child of an element of Band F(H) = F(S)}. 4: if C=∅then 5: return A 6: A=A∪C,B=C. We finish this section with an example to illustrate the above algorithm. Example 9.11. We use now Algorithm 7for computing {T∈[S]|F(T) = F(S) = 10} where S=h6,7,8,9,11i ∈ C(6,5). •A={h6,7,8,9,11i} and B={h6,7,8,9,11i}. •C={h6,8,9,11,13i,h6,8,11,13,15i}. •A={h6,7,8,9,11i,h6,8,9,11,13i,h6,8,11,13,15i} and B={h6,8,9,11,13i,h6,8,11,13,15i}. •C=∅. Thus, {T∈[S]|F(T) = 10}={h6,7,8,9,11i,h6,8,9,11,13i,h6,8,11,13,15i}. This result is also obtained with the package FrobeniusNumberAndGenus ([5]) by executing the command ComputeEquivalenceClass[{6,7,8,9,11}]. J. I. Garc´ ıa-Garc´ ıa et al.: Semigroups with fixed multiplicity and embedding dimension 417 References [1] R. Ap´ ery, Sur les branches superlin´ eaires des courbes alg´ ebriques, C. R. Acad. Sci. Paris 222 (1946), 1198–1200. [2] V. Barucci, D. E. Dobbs and M. Fontana, Maximality Properties in Numerical Semigroups and Applications to One-Dimensional Analytically Irreducible Local Domains, Memoirs of the American Mathematical Society, American Mathematical Society, Providence, RI, 1997, doi:10.1090/memo/0598. [3] E. Contejean and H. Devie, An efficient incremental algorithm for solving systems of linear Diophantine equations, Inform. and Comput. 113 (1994), 143–172, doi:10.1006/inco.1994. 1067. [4] J. Fromentin and F. Hivert, Exploring the tree of numerical semigroups, Math. Comp. 85 (2016), 2553–2568, doi:10.1090/mcom/3075. [5] J. I. Garc´ ıa-Garc´ ıa, D. Mar´ ın-Arag´ on and A. Vigneron-Tenorio, FrobeniusNumberAndGenus, a Mathematica package for computations in numerical semigroups, 2019, http://hdl. handle.net/10498/21658. [6] P. A. Garc´ ıa-S´ anchez and J. C. Rosales, Numerical semigroups generated by intervals, Pacific J. Math. 191 (1999), 75–83, doi:10.2140/pjm.1999.191.75. [7] J. L. Ram´ ırez Alfons´ ın, The Diophantine Frobenius Problem, volume 30 of Oxford Lecture Series in Mathematics and its Applications, Oxford University Press, Oxford, 2005, doi:10. 1093/acprof:oso/9780198568209.001.0001. [8] A. M. Robles-P´ erez and J. C. Rosales, Frobenius pseudo-varieties in numerical semigroups, Ann. Mat. Pura Appl. 194 (2015), 275–287, doi:10.1007/s10231-013-0375-1. [9] J. C. Rosales, On numerical semigroups, Semigroup Forum 52 (1996), 307–318, doi:10.1007/ bf02574106. [10] J. C. Rosales and P. A. Garc´ ıa-S´ anchez, Finitely Generated Commutative Monoids, Nova Science Publishers, Commack, New York, 1999, https://books.google.com/books? id=LQsH6m-x8ysC. [11] J. C. Rosales and P. A. Garc´ ıa-S´ anchez, Numerical Semigroups, volume 20 of Developments in Mathematics, Springer, New York, 2009, doi:10.1007/978-1-4419-0160-6. [12] J. C. Rosales, P. A. Garc´ ıa-S´ anchez, J. I. Garc´ ıa-Garc´ ıa and M. B. Branco, Systems of inequalities and numerical semigroups, J. London Math. Soc. 65 (2002), 611–623, doi: 10.1112/s0024610701003052. [13] E. S. Selmer, On the linear Diophantine problem of Frobenius, J. Reine Angew. Math. 1977 (1977), 1–17, doi:10.1515/crll.1977.293-294.1. [14] J. J. Sylvester, Problem 7382, Educat. Times J. College Preceptors New Ser. 36 (1883), 177. [15] H. S. Wilf, A circle-of-lights algorithm for the “money-changing problem”, Amer. Math. Monthly 85 (1978), 562–565, doi:10.2307/2320864. [16] Wolfram Research, Inc., Mathematica, Version 11.2, Champaign, Illinois, 2017, https:// www.wolfram.com/mathematica.