Next Article in Journal
Formal Verification of Multi-Thread Minimax Behavior Using mCRL2 in the Connect 4
Previous Article in Journal
A Fractal Analysis of the Size Effect in Quasi-Brittle Materials: Experimental Tests and Peridynamic Simulations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical Semigroups with a Fixed Fundamental Gap

by
María Ángeles Moreno-Frías
1,*,† and
José Carlos Rosales
2,†
1
Department of Mathematics, Faculty of Sciences, University of Cádiz, E-11510 Puerto Real, Spain
2
Department of Algebra, Faculty of Sciences, University of Granada, E-18071 Granada, Spain
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2025, 13(1), 95; https://doi.org/10.3390/math13010095
Submission received: 5 December 2024 / Revised: 24 December 2024 / Accepted: 27 December 2024 / Published: 29 December 2024

Abstract

:
A gap a of a numerical semigroup S is fundamental if { 2 a , 3 a } S . In this work, we will study the set B ( a ) = S S is a numerical semigroup and a is a fundamental gap of S . In particular, we will give an algorithm to compute all the elements of B ( a ) with a given genus. The intersection of two elements of B ( a ) is again one element of B ( a ) . A B ( a ) -irreducible numerical semigroup is an element of B ( a ) that cannot be expressed as an intersection of two elements of B ( a ) containing it properly. In this paper, we will study the B ( a ) -irreducible numerical semigroups. In this sense we will give an algorithm to calculate all of them. Finally, we will study the submonoids of ( N , + ) that can be expressed as an intersection (finite or infinite) of elements belonging to B ( a ) .

1. Introduction

Let Z be the set of integers, and N = { x Z x 0 } . A submonoid of ( N , + ) is a subset of N that is closed under addition and contains the element 0 . A numerical semigroup is a submonoid S of ( N , + ) such that N S = { x N x S } is a finite set.
If S is a numerical semigroup, then m ( S ) = min ( S { 0 } ) , F ( S ) = max { z Z z S } and g ( S ) = # ( N S ) (where # X denotes the cardinality of a set X) are three important invariants of S , called multiplicity, Frobenius number, and genus of S, respectively.
If A is a non-empty subset of N , we denote by A the submonoid of ( N , + ) generated by A, that is, A = { λ 1 a 1 + + λ n a n n N { 0 } , { a 1 , , a n } A   and   { λ 1 , , λ n } N } . In ([1] Lema 2.1) it is shown that A is a numerical semigroup if and only if gcd ( A ) = 1 .
If M is a submonoid of ( N , + ) and M = A , then we say that A is a system of generators of M. Moreover, if M B for all B A , then we will say that A is a minimal system of generators of M. In ([1] Corollary 2.8) it is shown that every submonoid of ( N , + ) has a unique minimal system of generators, which in addition is finite. We denote by msg ( M ) the minimal system of generators of M. The cardinality of msg ( M ) is called the embedding dimension of M and will be denoted by e ( M ) .
The Frobenius problem for numerical semigroups (see [2]) focuses on finding formulas to calculate the Frobenius number and the genus of a numerical semigroup from its minimal system of generators. This problem was solved in [3] for numerical semigroups with embedding dimension two. Nowadays, the problem is still open in the case of numerical semigroups with embedding dimension greater than or equal to three. Furthermore, in this case the problem of computing the Frobenius number of a general numerical semigroup becomes NP-hard.
We say that an integer a is a fundamental gap of a numerical semigroup S if a S and { 2 a , 3 a } S . We denote by FG ( S ) the set formed by the fundamental gaps of S .
If a N { 0 } , we denote by
B ( a ) = S S is a numerical semigroup and a FG ( S ) .
The main aim of this work will be to study the set B ( a ) .
If a N { 0 } , we denote by
F ( a ) = S S is a numerical semigroup and F ( S ) = a .
It is clear that F ( a ) B ( a ) .
Define the following equivalence binary relation on B ( a ) : S R a T if and only if S { a + 1 , } = T { a + 1 , } , where the symbol → means that every integer greater than a + 1 belongs to the set denoted by [ S ] a = { T B ( a ) S R a T } . In Section 2, we will see that { [ S ] a S F ( a ) } is a partition of B ( a ) .
If q Q , we denote by q = min { z Z q z } .
We will start Section 3, by showing that { g ( S ) S B ( a ) } = { a + 1 2 , } . If Δ F ( a ) , then we will arrange the elements of [ Δ ] a , making a tree with root Δ . This fact allows us to give an algorithm that computes all the elements of [ Δ ] a with a fixed genus. As a consequence, in Section 3, we will show an algorithm to compute all the elements of B ( a ) with a given genus.
The intersection of two elements of B ( a ) is again one element of B ( a ) . We say that an element of B ( a ) is B ( a ) -irreducible if it cannot be expressed as an intersection of two elements of B ( a ) containing it properly. In Section 4, we describe an algorithmic procedure to compute all the numerical semigroups that are B ( a ) -irreducible.
A B ( a ) -monoid is a submonoid of ( N , + ) that can be expressed as the interesection of some elements belonging to B ( a ) . A B ( a ) -set is a set that is contained in some element of B ( a ) .
In Section 5 we will see that if X is a B ( a ) -set, then there exists the least B ( a ) -monoid (with respect to set inclusion) containing X . This element will be denoted by B ( a ) [ X ] and will be called the B ( a ) -monoid generated by X . We will prove that B ( a ) [ X ] = X { 2 a , 3 a } .
If M is a B ( a ) -monoid and M = B ( a ) [ X ] , then we will say that X is a B ( a ) -system of generators of M. Moreover, if M B ( a ) [ Y ] for all Y X , then we will say that X is a B ( a ) -minimal system of generators of M. In Section 5, we will see that every B ( a ) -monoid M has a unique B ( a ) -minimal system of generators, and its cardinality will be called the B ( a ) -rank of M . Finally, we will solve the Frobenius problem for the elements belonging to B ( a ) with B ( a ) -rank equal to one.
The fundamental gaps of a numerical semigroup totally determine the semigroup, because if S is a numerical semigroup, then N S = { x N x   divides   a   fundamental   gap   of   S } . Hence the study carried out in this work helps to understand the structure of the numerical semigroups, and so it is useful to try to solve some very important problems of this theory, as they are the Frobenius Problem (see [2,4,5,6,7,8]), Wilf’s conjecture (see [9,10,11,12,13,14,15]), and the conjecture of Bras-Amorós (see [16,17,18,19,20,21]).

2. A Partition of B ( a )

Throughout this whole section, a will denote a positive integer,
B ( a ) = S S   is   a   numerical   semigroup   and   a FG ( S )
and
F ( a ) = S S   is   a   numerical   semigroup   and   F ( S ) = a .
Note that F ( a ) B ( a ) .
If S B ( a ) , then we denote by Δ a ( S ) = S { a + 1 , } .
The following result has an easy proof.
Lemma 1. 
If S B ( a ) , then Δ a ( S ) F ( a ) .
Define on B ( a ) the following equivalence binary relation: S R a T if and only if Δ a ( S ) = Δ a ( T ) .
If S B ( a ) , then we denote by [ S ] a = { T B ( a ) S R a T } . So, the quotient set of B ( a ) by R a is B ( a ) R a = { [ S ] a S B ( a ) } .
The next result is straightforward to prove.
Theorem 1. 
If a N { 0 } , then B ( a ) R a = { [ S ] a S F ( a ) } . Moreover, if { S , T } F ( a ) and S T , then [ S ] a [ T ] a = .
As a consequence of Theorem 1, we have the following result.
Corollary 1. 
If a N { 0 } , then [ S ] a S F ( a ) is a partition of B ( a ) .
As a consequence of Corollary 1, we deduce that in order to build all the elements of B ( a ) , it is enough to perform the following two steps:
(1)
Compute all the elements of F ( a ) .
(2)
For every S F ( a ) , compute all the elements of [ S ] a .
In [22] appears an algorithm that solves the step (1). Now, we will focus on showing an algorithm that solves the step (2).
The following result has an easy proof.
Lemma 2. 
With the above notation, we have the following results:
(1) 
If S is a numerical semigroup and S N , then S { F ( S ) } is again a numerical semigroup.
(2) 
If a N { 0 } ,   S B ( a ) and F ( S ) a , then S { F ( S ) } B ( a ) .
Let Δ F ( a ) and S [ Δ ] a . Define recursively the sequence { S n } n N as follows:
  • S 0 = S .
  • S n + 1 = S n { F ( S n ) } if S n Δ , Δ otherwise .
It is straightforward to see the next result.
Lemma 3. 
Let Δ F ( a ) ,   S [ Δ ] a and { S n } n N be the sequence defined above. Then, S n [ Δ ] a for every n N . Moreover, there exists k N such that S k + i = Δ for every i N .
A graph G is a pair ( V , E ) where V is a nonempty set and E is a subset of { ( u , v ) V × V u v } . The elements of V and E are called vertices and edges, respectively. A path (of length n) that connects the vertices u and v of G is a sequence of different edges of the form ( v 0 , v 1 ) , ( v 1 , v 2 ) , , ( v n 1 , v n ) such that v 0 = u and v n = v .
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 ( u , v ) is an edge of the tree, we say that u is a child of v.
If Δ F ( a ) , then we define the graph G ( [ Δ ] a ) as follows: [ Δ ] a is its set of vertices, and ( S , T ) [ Δ ] a × [ Δ ] a is an edge if T = S { F ( S ) } .
By applying Lemma 3, we obtain the following.
Theorem 2. 
If Δ F ( a ) , then G ( [ Δ ] a ) is a tree andΔis its root.
A tree can be recurrently built beginning from the root and joining each vertex already built with its children by an edge. Hence, it is very interesting to characterize the children of an arbitrary vertex in the tree G ( [ Δ ] a ) .
The next result is well known and easy to prove.
Lemma 4. 
Let M be a submonoid of ( N , + ) and x M . Then M { x } is a submonoid of ( N , + ) if and only if x msg ( M ) .
The following result will tell us who the children of a vertex are, and it is easy to prove.
Proposition 1. 
Let Δ F ( a ) and S [ Δ ] a . Then the set formed by the children of S in the tree G ( [ Δ ] a ) is { S { x } x msg ( S ) , x > F ( S )   a n d   x { 2 a , 3 a } } .
It is straightforward to see the next result.
Lemma 5. 
Let n { 3 , } . Then S ( n , a ) = 2 a , 3 a { n a + 1 , } B ( a ) , and S ( n + 1 , a ) S ( n , a ) .
As an immediate consequence of the above lemma, we obtain the next result.
Proposition 2. 
Let a N { 0 } . Then B ( a ) is a set with infinite cardinality.
As every element of F ( a ) must contain { a + 1 , } , then we deduce that F ( a ) is a finite set. By applying Corollary 1 and Proposition 2, there exists Δ F ( a ) such that [ Δ ] a has infinite cardinality. In the next section, we will characterize the elements Δ F ( a ) such that [ Δ ] a has infinite cardinality.
If Δ F ( a ) and [ Δ ] a is finite, then the previous results allow us to give an algorithm that computes all the elements of [ Δ ] a (Algorithm 1).
Algorithm 1 Computation of [ Δ ] a
Input: Δ F ( a ) such that [ Δ ] a is a finite set.
Output: [ Δ ] a .
(1)
A = B = { Δ } .
(2)
For every S B , by using Proposition 1, compute CHILD ( S ) = { T T   is   a   child   of   S   in   the   tree   G ( [ Δ ] a ) } .
(3)
B : = S B CHILD ( S ) .
(4)
If B = , then return A .
(5)
A : = A B and go to Step ( 2 ) .

3. Elements of B ( a ) with a Fixed Genus

Throughout this section, a denotes a positive integer. Our first aim in this section will be to determine the set { g ( S ) S B ( a ) } .
By applying ([1] Lemma 2.14), we can deduce the next result.
Lemma 6. 
Under the standing notation, we have the following results:
(1) 
If S is a numerical semigroup, then g ( S ) F ( S ) + 1 2 .
(2) 
If S B ( a ) , then g ( S ) a + 1 2 .
An integer a is a special gap of a numerical semigroup S if a S and S { a } is a numerical semigroup. Denote by SG ( S ) the set of special gaps of S .
The following result has an immediate proof.
Lemma 7. 
Let S be a numerical semigroup. Then, SG ( S ) FG ( S ) .
If a is a positive integer, denote by
A ( a ) = { S S   is   a   numerical   semigroup   and   a SG ( S ) } .
As an immediate consequence of Lemma 7, we can announce the following result.
Lemma 8. 
Let a N { 0 } . Then A ( a ) B ( a ) .
The next result is Theorem 17 from [23].
Lemma 9. 
Let a N { 0 } . Then { g ( S ) S A ( a ) } = { a + 1 2 , } .
By applying Lemmas 6, 8 and 9, we obtain the following result:
Theorem 3. 
If a N { 0 } , then { g ( S ) S B ( a ) } = { a + 1 2 , } .
Our next purpose in this section will be to show a characterization of the elements Δ F ( a ) such that [ Δ ] a is a finite set.
If S is a numerical semigroup, then N S is a finite set, and we deduce the following result.
Lemma 10. 
If S is a numerical semigroup, then the set
{ T T   is   a   numerical   semigroup   and   S T }
is finite.
Proposition 3. 
Let Δ F ( a ) . Then [ Δ ] a is a finite set if and only if gcd { x msg ( Δ ) x < a } { a } = 1 .
Proof. 
Denote by A = { x msg ( Δ ) x < a } .
Necessity: If gcd ( A { a } ) = d 1 , then it is clear that M = A { a } { a } is a submonoid of ( N , + ) and d n + 1 M for all n N . For every k { a 1 d + 1 , } , denote by S k = M { d k + 1 , } . Clearly, S k B ( a ) ,   Δ a ( S k ) = Δ and S k + 1 S k for all k { a 1 d + 1 } . Hence, [ Δ ] a is a set with infinite cardinality.
Sufficiency: If T [ Δ ] a , then T B ( a ) and Δ a ( T ) = Δ . So, A { 2 a , 3 a } T . As gcd ( A { 2 a , 3 a } ) = gcd ( A { a } ) = 1 , then A { 2 a , 3 a } is a numerical semigroup. By applying Lemma 10 and that [ Δ ] a { S S is a numerical semigroup and A { 2 a , 3 a } S } , we deduce that [ Δ ] a is a set with finite cardinality.    □
As a consequence of Proposition 3, we obtain the following properties which characterize when [ S ] a is an infinite or finite set.
Corollary 2. 
With the above notation, we have the following:
(1) 
If X { 1 , , a 1 } ,   a X and gcd ( X { a } ) 1 , then S = X { a + 1 , } F ( a ) and [ S ] a is an infinite set. Moreover, if T F ( a ) and [ T ] a is an infinite set, then T has this form.
(2) 
If X { 1 , , a 1 } ,   a X and gcd ( X { a } ) = 1 , then S = X { a + 1 , } F ( a ) and [ S ] a is a finite set. Moreover, if T F ( a ) and [ T ] a is a finite set, then T has this form.
If G = ( V , E ) is a tree and v V , then the depth of v is the length of the unique path connecting v with the root. If k N , we denote by N ( G , k ) = { v V v   has   depth   equal   to   k } . The height of G is
h ( G ) = max { k N N ( G , k ) } .
The following result has an immediate proof.
Lemma 11. 
If Δ F ( a ) and k N , then the following is true:
(1) 
N ( G ( [ Δ ] a ) , k ) = { S [ Δ ] a g ( S ) = g ( Δ ) + k } .
(2) 
N ( G ( [ Δ ] a ) , k + 1 ) = { S S is a child of an element of N ( G ( [ Δ ] a ) , k ) i n   t h e   t r e e   G ( [ Δ ] a ) } .
(3) 
{ g ( S ) S [ Δ ] a } = { g ( Δ ) , g ( Δ ) + 1 , , g ( Δ ) + h ( G ( [ Δ ] a ) ) } .
Note that if Δ F ( a ) and [ Δ ] a is a set with infinite cardinality, then the tree G ( [ Δ ] a ) has an infinite depth. Therefore, the point 3) of Lemma 11, asserts that in this case, { g ( S ) S [ Δ ] a } = { g ( Δ ) , } .
Now, we have all the ingredients to show the following algorithm.
By using the Algorithm 2, we can present the announced algorithm.
Algorithm 2 Computation of all elements of [ Δ ] a with a fixed genus.
Input: Δ F ( a ) and k N .
Output: The set { S [ Δ ] a g ( S ) = g ( Δ ) + k } .
(1)
A = { Δ } , i = 0 .
(2)
If A = , then return .
(3)
If i = k , then return A .
(4)
For every S A compute, by using Proposition 1, CHILD ( S ) = { T T   is   a   child   of   S   in   the   tree   G ( [ Δ ] a ) } .
(5)
A : = S A CHILD ( S ) ,   i : = i + 1 and go to Step ( 2 ) .
By using the Algorithm 2, we can present the announced Algorithm 3.
Algorithm 3 Computation of all elements of B ( a ) with a fixed genus.
Input: A positive integer g .
Output: The set { S B ( a ) g ( S ) = g } .
(1)
If g < a + 1 2 , then return .
(2)
Compute F ( a ) , by using ([23] Algorithm 1).
(3)
Compute C ( g ) = { Δ F ( a ) g ( Δ ) g } .
(4)
For every Δ C ( g ) compute, by using Algorithm 2, L ( Δ ) = { S [ Δ ] a g ( S ) = g ( Δ ) + ( g g ( Δ ) ) } .
(5)
Return Δ C ( g ) L ( Δ ) .

4. B ( a ) -Irreducible Numerical Semigroups

Along this section a will denote a positive integer. It is clear that the intersection of two elements of B ( a ) is again one element of B ( a ) . We say that a numerical semigroup is B ( a ) -irreducible if belongs to B ( a ) and can not be expressed as an intersection of two elements of B ( a ) properly containing it.
The following result is ([1] Lemma 4.35).
Lemma 12. 
Let S and T be numerical semigroups such that S T and x = max ( T S ) . Then S { x } is again a numerical semigroup.
Proposition 4. 
Let S B ( a ) . Then S is a B ( a ) -irreducible numerical semigroup if and only if # ( SG ( S ) { a } ) 1 .
Proof. 
Necessity. If # ( SG ( S ) { a } ) 2 , then there exists { u , v } SG ( S ) such that u v and a { u , v } . It is clear that S { u } , S { v } B ( a ) ,   S S { u } , S S { v } and S { u } S { v } = S . Therefore, S is not a B ( a ) -irreducible numerical semigroup.
Sufficiency. If S is not B ( a ) -irreducible, then there exists { P , Q } B ( a ) such that S P ,   S Q and S = P Q . Let u = max ( P S ) and v = max ( Q S ) . By Lemma 12, we know that { u , v } SG ( S ) . Moreover, it is clear that u v and a { u , v } . Hence # ( SG ( S ) { a } ) 2 .
As a consequence of Proposition 4, we have the following result.
Corollary 3. 
Let S B ( a ) . Then S is a B ( a ) -irreducible numerical semigroup if and only if just one of the following conditions is verified:
(1) 
SG ( S ) = { a } .
(2) 
There exists b N { a } such that SG ( S ) = { b } .
(3) 
There exists b N such that b < a and SG ( S ) = { a , b } .
(4) 
There exists b N such that a < b and SG ( S ) = { a , b } .
Our next purpose in this section will be to show how we can compute all the elements of B ( a ) that are B ( a ) -irreducibles.
A numerical semigroup is irreducible if it cannot be expressed as the intersection of two numerical semigroups properly containing it. Denote by
J ( F ) = { S S   is   an   irreducible   numerical   semigroup   and   F ( S ) = F } .
From ([24] Proposition 2.7), we deduce the next result.
Lemma 13. 
If F is a positive integer, then J ( F ) .
The next result characterizes the irreducible numerical semigroup, and it can be deduced from ([25] Corollary 13).
Lemma 14. 
A numerical semigroup S is irreducible if and only if S = N or # ( SG ( S ) ) = 1 .
As an immediate consequence of Lemma 14, we have the following result, which characterizes the numerical semigroup with an only special gap.
Proposition 5. 
Let S be a numerical semigroup and x N { 0 } . Then SG ( S ) = { x } if and only if S is an irreducible numerical semigroup and F ( S ) = x .
As an immediate consequence of the previous proposition, we obtain the following.
Corollary 4. 
If a N { 0 } , then S B ( a ) SG ( S ) = { a } = J ( a ) .
In [24] the authors give an algorithm to compute J ( a ) . Therefore, by applying Corollary 4, we have an algorithm to obtain all the B ( a ) -irreducible numerical semigroups verifying the condition ( 1 ) of Corollary 3.
If we apply Proposition 5, we obtain the following.
Corollary 5. 
Let S be a numerical semigroup. Then, the following conditions are equivalent:
(1) 
S B ( a ) and SG ( S ) = { b } for some b N { a } .
(2) 
S is an irreducible numerical semigroup, a < F ( S ) ,   a S , and { 2 a , 3 a } S .
By applying ([1] Theorem 4.2 and Proposition 4.4), we obtain the next result.
Lemma 15. 
Let S be a numerical semigroup. Then, the following occurs:
(1) 
S is irreducible if and only if S is maximal (with respect to set inclusion) in the set formed by all numerical semigroups with Frobenius number equal to F ( S ) .
(2) 
If S is irreducible, x N and x F ( S ) 2 , then F ( S ) x S .
Lemma 16. 
Let a and b be positive integers such that a b . Then { S B ( a ) SG ( S ) = { b } } if and only if b > a and b 2 a , 3 a , b a .
Proof. 
Necessity: If SG ( S ) = { b } , then by applying Lemma 14, we deduce that S is an irreducible numerical semigroup and F ( S ) = b . As a S and a b , then a < b . Moreover, by Lemma 15, b a S . Hence 2 a , 3 a , b a S and consequently b 2 a , 3 a , b a .
Sufficiency: It is clear that T = 2 a , 3 a , b a { b + 1 , } is a numerical semigroup with Frobenius number b. Let S be a numerical semigroup that is maximal in the set of numerical semigroups having Frobenius number b and that contains T. By applying Lemma 15, we deduce that S is an irreducible numerical semigroup with Frobenius number b . We have that a S , because if a S , then a, b a S , and in particular b S , a contradiction. Finally, by applying Corollary 5, we can assert that { S B ( a ) SG ( S ) = { b } } .
Let a and b be integers. We say that a divides b if there exists an integer c such that b = c a , and we denote this by a b . Otherwise, a does not divide b, and we denote this by a b .
Lemma 17. 
Let a and b be positive integers such that b > a . Then b 2 a , 3 a , b a if and only if b 2 a , 3 a ( d + 1 ) a d d a   a n d   d 2 .
Proof. 
Necessity. If b 2 a , 3 a , b a , then b 2 a , 3 a . If b = ( d + 1 ) a d for some integer d 2 such that d a , then b = a + a d and so, b a = a d . Then b = ( d + 1 ) ( b a ) and consequently, b 2 a , 3 a , b a which is absurd.
Sufficiency. If b 2 a , 3 a , b a , then by applying that b 2 a , 3 a , we deduce that b = k ( b a ) for some k N { 0 , 1 } . Therefore, k a = ( k 1 ) b . As gcd { k , k 1 } = 1 , then ( k 1 ) a . Finally, note that if k 1 = 1 , then b = 2 a , contradicting that b 2 a , 3 a .
By applying Lemmas 16 and 17, we obtain the following result.
Proposition 6. 
Let a and b be positive integers such that a b . Then { S B ( a ) SG ( S ) = { b } } if and only if b > a and b 2 a , 3 a ( d + 1 ) a d d a   a n d   d 2 .
Proposition 6 provides us an algorithmic procedure that computes the set
C ( a ) = { b N { S B ( a ) SG ( S ) = { b } } } .
For every b C ( a ) , in [24] appears an algorithm to calculate J ( b ) . As { S B ( a ) SG ( S ) = { b } } = { S J ( b ) { 2 a , 3 a , b a } S } , then we can assert that for every b C ( a ) , we have an algorithm to obtain the set { S B ( a ) SG ( S ) = { b } } .
As { S S   is   an   irreducible   numerical   semigroup ,   a < F ( S ) ,   a S ,   and   { 2 a , 3 a } S } = b C ( a ) { S B ( a ) SG ( S ) = { b } } , then by applying Corollary 5, we can assert that we have an algorithmic procedure to build all the B ( a ) -irreducible numerical semigroups verifying condition ( 2 ) of Corollary 3.
Observe that if a 2 , from Proposition 6, it easily follows that C ( a ) is a set with infinite cardinality, and so the set of B ( a ) -irreducibles that verifies the condition ( 2 ) of Corollary 3 also has an infinite cardinality. Hence, we do not have a proper algorithm to calculate them, although we can say that we have an algorithmic process that builds them recurrently.
A numerical semigroup S is atomic if it cannot be written as an intersection of two elements of F ( F ( S ) ) containing it properly.
The following result has an immediate proof.
Lemma 18. 
Every irreducible numerical semigroup is atomic.
By using the notation introduced in [26], an ANI -semigroup is an atomic numerical semigroup that is not irreducible.
The following characterization can be deduced from ([27] Corollary 2.3).
Lemma 19. 
A numerical semigroup S is an ANI -semigroup if and only if # ( SG ( S ) ) = 2 .
The next proposition is obtained by applying the previous lemma.
Proposition 7. 
If a N { 0 } , then { S B ( a ) SG ( S ) = { a , b }   f o r   s o m e   b < a } = { S S   i s   a n   ANI s e m i g r o u p   a n d   F ( S ) = a } .
Algorithm 3.7 from [27] allows us to compute all the atomic numerical semigroups with a fixed Frobenius number. If we remove step (1) of this algorithm and we change step (4) by
( 4 )   Return   N ( F ) = l L ( F ) N ( F , l ) ,
then we obtain an algorithm that calculates all the ANI -semigroups with Frobenius number equal to F . Therefore, by applying Proposition 7, we have an algorithm to compute all the B ( a ) -irreducible numerical semigroups verifying the condition ( 3 ) of Corollary 3.
Next, if we apply Lemma 19, we deduce the following result.
Proposition 8. 
If a N { 0 } , then { S B ( a ) SG ( S ) = { a , b }   f o r   s o m e   a < b } = { S S   i s   a n   ANI - s e m i g r o u p ,   a SG ( S ) ,   a n d   a < F ( S ) } .
The following result is deduced from ([26] Theorem 19).
Lemma 20. 
Let a and b be positive integers such that a < b . Then there exits a numerical semigroup S such that SG ( S ) = { a , b } if and only if b 2 < a and ( b a ) b or ( 2 a b ) b .
Note that if a and b are positive integers, a < b , and SG ( S ) = { a , b } , then by Lemma 20 we know that a < b < 2 a . Therefore, we have an algorithm to compute the next set,
J ( a ) = { b N a < b   and   { S B ( a ) SG ( S ) = { a , b } } } .
Now, for every b J ( a ) , Algorithm 3.5 from [27] allows us to compute the set { S S   is   a   numerical   semigroup   and   SG ( S ) = { a , b } } . Hence, by applying Proposition 8, we can assert that we have an algorithm to compute all the B ( a ) -irreducible numerical semigroups verifying the condition ( 4 ) from Corollary 3.

5. B ( a ) -Monoids

Throughout this section, a denotes a positive integer. We know that the intersection of two elements of B ( a ) is again an element of B ( a ) . Thus, B ( a ) is closed by finite intersection. However, it is not closed by infinite intersections, as the following example shows.
Example 1. 
Suppose that a N { 0 , 1 } . For every k N { 0 } , denote by S ( k ) = 2 a , 3 a { k a + 1 , } . It is clear that S ( k ) B ( a ) for every k N { 0 } and k N { 0 } S ( k ) = 2 a , 3 a B ( a ) because gcd { 2 a , 3 a } = a 1 , and so 2 a , 3 a is not a numerical semigroup.
The intersections (finite or infinite) of elements belonging to B ( a ) are always a submonoid of ( N , + ) . This fact induces us to give the following definition. A B ( a ) -monoid is a submonoid of ( N , + ) that can be expressed as the intersection of elements belonging to B ( a ) .
Proposition 9. 
Let M be a submonoid of ( N , + ) . Then M is a B ( a ) -monoid if and only if a M and { 2 a , 3 a } M .
Proof. 
Necessity. Trivial.
Sufficiency. For every k N { 0 } , let S ( k ) = M { k a + 1 , } . It is clear that S ( k ) B ( a ) for all k N { 0 } and k N { 0 } S ( k ) = M . Consequently, M is a B ( a ) -monoid. □
A B ( a ) -set is a subset X of N verifying that there exists S B ( a ) such that X S .
Lemma 21. 
Let X N . Then X is a B ( a ) -set if and only if a X .
Proof. 
Necessity. If X is a B ( a ) -set, then there exists S B ( a ) such that X S . Therefore, X S . As a S , then a X .
Sufficiency. Let S = X { 2 a , } . Then it is clear that S B ( a ) and X S . Hence X is a B ( a ) -set. □
The following result has an immediate proof.
Lemma 22. 
The intersection of B ( a ) -monoids is again a B ( a ) -monoid.
If X is a B ( a ) -set, then denote by B ( a ) [ X ] the intersection of all B ( a ) -monoids that contain X .
By applying the previous lemma, we obtain the following.
Lemma 23. 
If X is a B ( a ) -set, then B ( a ) [ X ] is the smallest (with respect to set inclusion) B ( a ) -monoid containing X . Furthermore, B ( a ) [ X ] is the intersection of all the elements of B ( a ) containing X .
The following result tells us the condition that a B ( a ) -set, X, must verify in order for B ( a ) [ X ] to be a numerical semigroup.
Proposition 10. 
Let a N { 0 , 1 } and X be a B ( a ) -set. Then, B ( a ) [ X ] B ( a ) if and only if gcd ( X { a } ) = 1 .
Proof. 
Necessity. If gcd ( X { a } ) 1 , then gcd ( X { 2 a , 3 a } ) 1 , and so X { 2 a , 3 a } is not a numerical semigroup. From Proposition 9, we deduce that X { 2 a , 3 a } is a B ( a ) -monoid containing X . Therefore, B ( a ) [ X ] X { 2 a , 3 a } and consequently, B ( a ) [ X ] B ( a ) .
Sufficiency. If S B ( a ) and X S , then X { 2 a , 3 a } S . As gcd ( X { 2 a , 3 a } ) = gcd ( X { a } ) = 1 , then X { 2 a , 3 a } is a numerical semigroup. By Lemma 10, we know that { S B ( a ) X S } is a finite set. Hence B ( a ) [ X ] is an intersection of finite elements belonging to B ( a ) , and so B ( a ) [ X ] B ( a ) .
If X is a B ( a ) -set and M = B ( a ) [ X ] , then we will say that X is a B ( a ) -system of generators of M . In addition, if M B ( a ) [ Y ] for all Y X , then X will be called a B ( a ) [ X ] -minimal system of generators of M .
The following result has an easy proof.
Lemma 24. 
If X is a B ( a ) -set, then B ( a ) [ X ] = X { 2 a , 3 a } .
Theorem 4. 
If M is a B ( a ) -monoid, then msg ( M ) { 2 a , 3 a } is the unique B ( a ) -minimal system of generators of M .
Proof. 
Let A = msg ( M ) { 2 a , 3 a } . It is clear that every element of B ( a ) that contains A must contain A { 2 a , 3 a } . Therefore, every element of B ( a ) containing A must contain msg ( M ) . Consequently, every element of B ( a ) that contains A has to contain M . Hence B ( a ) [ A ] = M , and so A is a B ( a ) -system of generators of M .
To conclude the proof, we will see that if B is a B ( a ) -system of generators of M , then A B . Indeed, as B ( a ) [ B ] = M , then by Lemma 24, we know that B { 2 a , 3 a } = M , and so A B .
If M is a B ( a ) -monoid, denote by B ( a ) msg ( M ) the unique B ( a ) -minimal system of generators of M . The cardinality of B ( a ) msg ( M ) is called the B ( a ) -rank of M, and it will be denoted by B ( a ) rank ( M ) .
The proof of the next result is very easy.
Proposition 11. 
If M is a B ( a ) -monoid, then the following conditions are verified:
(1) 
0 B ( a ) rank ( M ) e ( M ) .
(2) 
B ( a ) rank ( M ) = 0 if and only if M = 2 a , 3 a .
(3) 
B ( a ) rank ( M ) = 1 if and only if M = x , 2 a , 3 a for some x N { 0 } such that x a .
We finish this section by studying the elements of B ( a ) with B ( a ) -rank one.
By applying Lemma 24 and Proposition 11, we deduce the following result.
Proposition 12. 
If x N { 0 , 1 } and gcd { x , a } = 1 , then x , 2 a , 3 a is an element of B ( a ) with B ( a ) -rank one. Moreover, every element of B ( a ) with B ( a ) -rank one has this form.
As a consequence of Proposition 12, we obtain a characterization of the element belonging to B ( a ) with B ( a ) -rank one.
Corollary 6. 
S is an element of B ( a ) with B ( a ) -rank one if and only if just one of the following conditions is verified:
(1) 
S = 2 , 3 a and a is odd.
(2) 
S = 3 , 2 a and 3 a .
(3) 
S = x , 2 a , 3 a ,   x { 4 , } and gcd { x , a } = 1 .
The following result appears in [3].
Lemma 25. 
Let S be a numerical semigroup with embedding dimension two and msg ( S ) = { n 1 , n 2 } . Then F ( S ) = n 1 n 2 n 1 n 2 and g ( S ) = ( n 1 1 ) ( n 2 1 ) 2 .
In ([2] Lemma 3.1.7 and Theorem 5.3.2) the next result can be consulted.
Lemma 26. 
If S is a numerical semigroup, msg ( S ) = { n 1 , n 2 , , n e } and d = gcd { n 1 , , n e 1 } , then F ( S ) = d F ( n 1 d , , n e 1 d , n e ) + ( d 1 ) n e and g ( S ) = d g ( n 1 d , , n e 1 d , n e ) + ( n e 1 ) ( d 1 ) 2 .
By applying Lemmas 25 and 26, we obtain the following result, which solves the Frobenius problem for elements of B ( a ) with B ( a ) -rank one.
Proposition 13. 
It verifies the following:
(1) 
If a is odd, then F ( 2 , 3 a ) = 3 a 2 and g ( 2 , 3 a ) = 3 a 1 2 .
(2) 
If 3 a , then F ( 3 , 2 a ) = 4 a 3 and g ( 3 , 2 a ) = 2 a 1 .
(3) 
If x { 4 , } and gcd { x , a } = 1 , then F ( x , 2 a , 3 a ) = a + ( a 1 ) x and g ( x , 2 a , 3 a ) = a + ( a 1 ) ( x 1 ) 2 .

6. Conclusions

In this paper, we have studied the set B ( a ) of the numerical semigroups for which a is a fundamental gap. In particular, we have given an initialized partition of B ( a ) into the set F ( a ) of the numerical semigroups with Frobenius number a . As a consequence, an algorithm that computes all the elements of B ( a ) with a fixed genus is obtained.
The intersection of two elements of B ( a ) is again one element of B ( a ) . A numerical semigroup is B ( a ) -irreducible if it belongs to B ( a ) and it cannot be expressed as an intersection of two elements of B ( a ) containing it properly. In this work we have also studied this kind of semigroups, and in particular we have given an algorithm that calculates all the B ( a ) -irreducible numerical semigroups.
A B ( a ) -monoid is a submonoid of ( N , + ) that can be expressed as the intersection of elements belonging to B ( a ) . In this work we have proved that there exists the smallest B ( a ) -monoid containing a subset X of N . It will be denoted by B ( a ) [ X ] . If M = B ( a ) [ X ] , then we will say that X is a B ( a ) -system of generators of M . We have shown that every B ( a ) -monoid has a unique B ( a ) -minimal system of generators, and we have studied the B ( a ) -monoids whose B ( a ) -minimal system of generators has cardinality one.

Author Contributions

All authors contributed equally to this work. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

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

This work has been partially supported by Junta de Andalucía groups FQM-298, FQM-343 and by ProyExcel-00868. The authors would like to thank the referees for their useful comments and suggestions that helped to improve this work.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Rosales, J.C.; García-Sánchez, P.A. Numerical Semigroups; Springer: New York, NY, USA, 2009; Volume 20. [Google Scholar]
  2. Ramírez Alfonsín, J.L. The Diophantine Frobenius Problem; Oxford University Press: London, UK, 2005. [Google Scholar]
  3. Sylvester, J.J. Mathematical question with their solutions. Educ. Times 1884, 41, 21. [Google Scholar]
  4. Brauer, A.; Shockley, J.E. On a problem of Frobenius. J. Reine Angew. Math. 1962, 211, 215–220. [Google Scholar]
  5. Curtis, F. On formulas for the Frobenius number of a numerical semigroup. Math. Scand. 1990, 67, 190–192. [Google Scholar] [CrossRef]
  6. Davison, J.L. On the linear Diophantie problem of Frobenius. J. Number Theory 1994, 48, 353–363. [Google Scholar] [CrossRef]
  7. Johnson, S.M. A Linear Diophantine problem. Canad. J. Math. 1960, 12, 390–398. [Google Scholar] [CrossRef]
  8. Selmer, E.S. On the linear diophantine problem of Frobenius. J. Reine Angew. Math. 1977, 293/294, 1–17. [Google Scholar]
  9. Delgado, M. Conjecture of Wilf: A Survey. J. Springer Indam Ser. 2020, 40, 39–62. [Google Scholar]
  10. Delgado, M.; Eliahou, S.; Fromentin, J. A verification of Wilf’s conjecture up to genus 100. J. Algebra 2025, 664, 150–163. [Google Scholar] [CrossRef]
  11. Eliahou, S. Wilf’s conjecture and Macaulay’s theorem. J. Eur. Math. Soc. 2018, 20, 2105–2129. [Google Scholar] [CrossRef]
  12. Eliahou, S. A graph-theoretic approach to Wilf’s conjecture. Elec. J. Combin. 2020, 27 Pt 2, 15–31. [Google Scholar] [CrossRef] [PubMed]
  13. Eliahou, S.; Fromentin, J. Near-misses in Wilf’s conjecture. Semigroup Forum 2019, 98, 285–298. [Google Scholar] [CrossRef]
  14. Eliahou, S.; Fromentin, J. Gapsets and numerical semigroups. J. Combin. Theory Ser. A 2020, 169, 105129. [Google Scholar] [CrossRef]
  15. Wilf, H.S. A circle-of-lights algorithm for the “money-changing problem”. Amer. Math. Monthly 1978, 85, 562–565. [Google Scholar]
  16. 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]
  17. 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]
  18. Kaplan, N. Counting numerical semigroups by genus and some cases a question of Wilf. J. Pure Appl. Algebra 2012, 216, 1016–1032. [Google Scholar] [CrossRef]
  19. Zhao, Y. Constructing numerical semigroup of a given genus. Semigroup Forum 2009, 80, 242–254. [Google Scholar] [CrossRef]
  20. Zhai, A. Fibonacci-like growth of numerical semigroups with a given genus. Semigroup Forum 2013, 86, 634–662. [Google Scholar] [CrossRef]
  21. Bras-Amorós, M. Bounds on the number of numerical semigroups of a given genus. J. Pure Appl. Algebra 2008, 213, 997–1001. [Google Scholar] [CrossRef]
  22. 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]
  23. Moreno-Frías, M.A.; Rosales, J.C. Counting the numerical semigroups with a specific special gap. Comm. Algebra 2022, 50, 5132–5144. [Google Scholar] [CrossRef]
  24. Blanco, V.; Rosales, J.C. The tree of irreducible numerical semigroups with fixed Frobenius number. Forum Math. 2013, 23, 1249–1261. [Google Scholar] [CrossRef]
  25. Rosales, J.C.; García-Sánchez, P.A.; García-García, J.I.; Jiménez-Madrid, J.A. The oversemigroups of a numerical semigroup. Semigroup Forum 2003, 67, 145–158. [Google Scholar] [CrossRef]
  26. Rosales, J.C. Atoms of the set of numerical semigroup with fixed Frobenius number. Linear Algebra Appl. 2009, 430, 41–51. [Google Scholar] [CrossRef]
  27. Robles-Pérez, A.M.; Rosales, J.C. The enumeration of the set of atomic numerical semigroup with fixed Frobenius number. J. Algebra Appl. 2020, 19, 2050144. [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.

Share and Cite

MDPI and ACS Style

Moreno-Frías, M.Á.; Rosales, J.C. Numerical Semigroups with a Fixed Fundamental Gap. Mathematics 2025, 13, 95. https://doi.org/10.3390/math13010095

AMA Style

Moreno-Frías MÁ, Rosales JC. Numerical Semigroups with a Fixed Fundamental Gap. Mathematics. 2025; 13(1):95. https://doi.org/10.3390/math13010095

Chicago/Turabian Style

Moreno-Frías, María Ángeles, and José Carlos Rosales. 2025. "Numerical Semigroups with a Fixed Fundamental Gap" Mathematics 13, no. 1: 95. https://doi.org/10.3390/math13010095

APA Style

Moreno-Frías, M. Á., & Rosales, J. C. (2025). Numerical Semigroups with a Fixed Fundamental Gap. Mathematics, 13(1), 95. https://doi.org/10.3390/math13010095

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop