Skip to article frontmatterSkip to article content

Three ways used to represent a numerical semigroup

Universidad de Granada

A numerical semigroup is a subset of the set of nonnegative integers (denoted here by N\mathbb{N}) closed under addition, containing the zero element and with finite complement in N\mathbb{N}. Observe that a numerical semigroup is a commutative monoid, thus is somehow surprising that it is required that zero belongs to the set under consideration. Some authors use the term numerical monoid to stress out this property. Note also that up to isomorphism the set of numerical semigroups classify the set of all submonoids of (N,+)(\mathbb{N},+). Let SS be submonoid of N\mathbb{N}, the condition of having finite complement in N\mathbb{N} is equivalent to saying that the greatest common divisor (gcd\gcd for short) of its elements is one.

Numerical semigroups probably where first considered while studying the set of nonnegative solutions of Diophantine equations. Given positive integers a1,,ana_1,\dots,a_n with greatest common divisor one, the set of elements bNb\in \mathbb{N} such that a1x1++anxn=ba_1 x_1+\cdots+a_n x_n=b has a nonnegative integer solution is a numerical semigroup. Actually, one of the first known problems related to numerical semigroups was to determine in terms of a1,,ana_1,\dots,a_n, which is the largest integer for which there is no nonnegative integer solution. This is known as the Frobenius problem, since it seems that Frobenius it problem in one of his lectures.

Generators (first choice)

The set of integers for which there is a nonnegative integer solution of a1x1++anxn=ba_1x_1+\cdots+ a_nx_n=b can be expressed as {a1x1++anxn:x1,,xnN}\{ a_1 x_1+\cdots+ a_n x_n : x_1,\dots,x_n\in \mathbb{N}\}, or in a more abbreviated notation, as a1,,an\langle a_1,\dots,a_n\rangle. We say that {a1,,an}\{a_1,\dots,a_n\} is a system of generators of SS, or simply, that {a1,,an}\{a_1,\dots,a_n\} generates SS. If no proper subset of {a1,,an}\{a_1,\dots,a_n\} generates SS, then we, as expected, say that {a1,,an}\{a_1,\dots,a_n\} is a minimal system of generators of SS. As SS is cancellative (a+b=a+ca+b=a+c implies b=cb=c), SS admits a unique minimal system of generators, say (S{0})((S{0})+(S{0}))(S\setminus\{0\})\setminus ((S\setminus\{0\}) + (S\setminus\{0\})). The cardinality of the minimal system of generators of SS is known as the embedding dimension of SS (we will see later why this weird name).

Observe that if SS is generated by {a1,,an}\{a_1,\dots,a_n\}, then gcd({a1,,an})=1\gcd(\{a_1,\dots,a_n\})=1 (and that if gcd({a1,,an})=1\gcd(\{a_1,\dots,a_n\})=1, then the submonoid of N\mathbb{N} spanned by {a1,,an}\{a_1,\dots,a_n\} is a numerical semigroup).

Multiplicity, Frobenius number, Gaps, (Cohen-Macaulay) type

As we mentioned above, Frobenius proposed the problem of finding a formula for the largest integer for which there is no (nonnegative integer) solution to a1x1++anxn=ba_1x_1+\cdots+ a_nx_n=b. This in our notation is equivalent to say which is the largest integer not in the numerical semigroup S=a1,,anS=\langle a_1,\dots,a_n\rangle. This is why max(ZS)\max(\mathbb{Z}\setminus S) is known as the Frobenius number of SS (here we are using Z\mathbb{Z} to denote the set of integers). If gg is the Frobenius number of SS, then g+(N{0})Sg+(\mathbb{N}\setminus \{0\})\subset S, and in particular g+(S{0})Sg+(S\setminus \{0\})\subseteq S. The integers fulfilling this condition are known as pseudo-Frobenius numbers, and its cardinality is the (Cohen-Macaulay) type of SS.

Given a numerical semigroup SS, we can define on Z\mathbb{Z} the following order relation: aSba\leq_S b if baSb-a\in S. It turns out that the set of pseudo-Frobenius numbers is the set of maximal elements of ZS\mathbb{Z}\setminus S with respect to this ordering.

The positive integers not belonging to SS are the gaps of SS, and its cardinality is sometimes known as the gender of SS. If gg is the Frobenius number of SS, some authors reserve the word hole for those integers xx verifying that x∉Sx\not \in S and gx∉Sg-x\not\in S. Thus every hole is a gap, but the converse needs not to be true.

The least positive integer belonging to a numerical semigroup is its multiplicity. The multiplicity of a numerical semigroup is an upper bound for the embedding dimension of SS. This is because there cannot be two different minimal generators congruent modulo the multiplicity.

Apéry sets, the Tool

Recall that two minimal generators of a numerical semigroup cannot be congruent modulo the multiplicity, in fact, they cannot be congruent modulo any nonzero element of the numerical semigroup. In this sense, minimal generators are minimal also with respect to be congruent to any nonzero element of the numerical semigroup. Following this idea for a given numerical semigroup SS and a nonzero element nn of SS, we can consider the set {w0,,wn1}\{w_0,\dots,w_{n-1}\} where wiw_i is the least element in SS congruent to ii modulo nn. One can easily see that this set corresponds to the set {sS:sn∉S}\{s\in S : s-n\not\in S\}. Apéry was the first exploiting this idea and this is why this set is known as the Apéry set of nn in SS. If nn is chosen as the multiplicity of SS, then sometimes this set is called a standard basis of SS. Since this set appears everywhere in our approach to the study of numerical semigroups, we introduce the notation Ap(S,n)\operatorname{Ap}(S,n) to refer to it.

The Apéry set of nn in SS has some wonderful properties. We enumerate some of them here, but later more will arise.

  • Every integer xx can be expressed uniquely as x=kn+wx=k n+w for some kZk\in \mathbb{Z} and wAp(S,n)w\in \operatorname{Ap}(S,n). And xSx\in S if and only if k0k\geq 0.

  • Thus if we want to know if xx belongs to SS, we find wAp(S,n)w\in \operatorname{Ap}(S,n) such that xwmodnx\equiv w \mod n; then xSx\in S if and only if wxw\leq x.

  • The Frobenius number of SS is max(Ap(S,n))n\max(\operatorname{Ap}(S,n))-n.

  • More generally, an integer gg is a pseudo-Frobenius number of SS if and only if g+ng+n is maximal in Ap(S,n)\operatorname{Ap}(S,n) with respect to S\leq_S. It follows that the type of SS is the cardinality of MaximalsS(Ap(S,n))\operatorname{Maximals}_{\leq_S}(\operatorname{Ap}(S,n)).

  • By Selmer’s formula, the number of gaps equals 1nwAp(S,n)wn12\frac{1}n\sum_{w\in\operatorname{Ap}(S,n)}w -\frac{n-1}2.

Hence the knowledge of the Apéry set of a numerical semigroup SS with respect to any of its nonzero elements, solves the membership problem, allows us to know the Frobenius number of SS, its pseudo-Frobenius numbers (and thus its type) and its gender.

Fundamental gaps (second choice)

The Frobenius number of N\mathbb{N} is -1. If SS is a numerical semigroup other than N\mathbb{N}, then the Frobenius number of SS is a positive integer, and the same holds for its pseudo-Frobenius numbers, that is, they are gaps of SS. There are 1,156,012 numerical semigroups with Frobenius number 39. Thus the Frobenius number is not suitable to describe uniquely a numerical semigroup (it can be shown that a numerical semigroup is uniquely determined by its Frobenius number gg if and only if g{1,1,2,3,4,6}g\in \{-1,1,2,3,4,6\}). Among these 1,156,012 numerical semigroups, 227 of them have {39}\{39\} as set of pseudo-Frobenius numbers. Hence pseudo-Frobenius numbers are also a bad choice to uniquely describe a numerical semigroup.

Clearly, the set of gaps of SS uniquely determines SS. But in this set a lot of information is redundant, since if xyx | y (read xx divides yy) and yy is a gap of SS, then xx must also be a gap of SS. Hence among the gaps of SS we only need those that are maximal with respect to |. These are known as fundamental gaps of SS, and they uniquely determine SS. Clearly an integer xx is a fundamental gap of SS if and only if x∉Sx\not\in S and {2x,3x}S\{2x,3x\}\subset S.

Let XX be a subset of N{0}\mathbb{N}\setminus \{0\}. Denote by D(X)\operatorname{D}(X) the set of positive integers dividing some xXx\in X. If XX is the set of fundamental gaps of SS, then S=ND(X)S=\mathbb{N}\setminus \operatorname{D}(X). If gg is the Frobenius number of SS (observe that this means that g=maxXg=\max X), then

g6#Xg2.\left\lceil \frac{g}6\right\rceil \leq \# X\leq \left\lceil \frac{g}2\right\rceil.

There are positive integers gg for which there is no numerical semigroup not reaching the lower bound, whilst the upper bound is always reached by {0,g+1,}\{0,g+1,\to\}.

The set of over-semigroups of a numerical semigroup

Minimal generators of a numerical semigroup SS can be characterized as those elements nSn\in S for which S{n}S\setminus\{n\} is a numerical semigroup. We could then consider the dual of this property, that is, which are the integers x∉Sx\not\in S such that S{x}S\cup\{x\} is a numerical semigroup? If S{x}S\cup\{x\} is a numerical semigroup, then

  • kxSk x\in S for every integer kk greater than one, or in other words, {2x,3x}S\{2x,3x\}\subset S, and

  • x+(S{0})Sx+(S\setminus\{0\})\subseteq S.

Hence xx is both a pseudo-Frobenius number and a fundamental gap of SS. These gaps are known as special gaps of SS. Thus these are those fundamental gaps that are maximal with respect to S\leq_S.

By using this idea it is easy to construct the set of all numerical semigroups containing SS by adjoining to SS each of its fundamental gaps, and then repeat the process for each resulting semigroup until we reach N\mathbb{N} (this will happen after a finite number of steps). The key to perform this in an easy way is the following: if XX is the set of fundamental gaps of SS and YY is the set of fundamental gaps of S{x}S\cup \{x\} for some xXx\in X, then

Y=(X{x}){xp:p a prime dividing x and xp∉D(X{x})}.Y=(X\setminus\{x\})\cup \left\{ \frac{x}p : p \hbox{ a prime dividing } x \hbox{ and } \frac{x}p\not \in \operatorname{D}(X\setminus\{x\})\right\}.

Presentations (third choice)

Let SS be the numerical semigroup generated by {2,3}\{2,3\}. We could think of SS as the commutative monoid generated by two elements xx and yy such that 3x=2y3x=2y. This is the idea of a presentation. Let us formalize it. Assume that SS is minimally generated by {n1,,np}\{n_1,\dots,n_p\}. The map

φ ⁣:NpS, φ(a1,,ap)=a1n1++apnp\varphi\colon \mathbb{N}^p \to S,\ \varphi(a_1,\dots,a_p)=a_1n_1+\cdots+a_pn_p

is a monoid epimorphism, and thus SS is isomorphic to Np/Ker(φ)\mathbb{N}^p/\operatorname{Ker} (\varphi), where Ker(φ)={(a,b)Np×Np:φ(a)=φ(b)}\operatorname{Ker}(\varphi)=\{ (a,b)\in \mathbb{N}^p\times \mathbb{N}^p : \varphi(a)=\varphi(b)\}. A presentation of SS is just a system of generators of Ker(φ)\operatorname{Ker}(\varphi) (as a congruence).

Rédei proved that every finitely generated commutative monoid is finitely presented, and thus every numerical semigroup is finitely presented. Moreover, for numerical semigroups the concepts of minimality with respect to cardinality and set inclusion of a presentation coincide.

Rosales gave a procedure to construct a minimal presentation of a numerical semigroup from its minimal system of generators. We describe this method briefly. Assume that SS is minimally generated by {n1,,np}\{n_1,\dots,n_p\}. Let nSn\in S. Associated to nn we define a graph GnG_n whose vertices are

Vn={ni:nniN}V_n=\{ n_i : n-n_i\in \mathbb{N}\}

and with edges

En={ninj:n(ni+nj)N}.E_n=\{ n_in_j : n-(n_i+n_j)\in \mathbb{N}\}.

If GnG_n is connected, then set ρn=\rho_n=\emptyset. Otherwise, assume that C1,,CkC_1,\dots,C_k are its connected components. For every i{1,,k}i\in\{1,\dots,k\} there exists a factorization (expression) of nn in which only vertices of CiC_i appear, or in other words, there exists γiφ1(n)\gamma_i\in \varphi^{-1}(n) such that the jjth coordinate of γi\gamma_i is zero whenever njn_j is not a vertex of CiC_i. Set ρn={(γ1,γ2),(γ1,γ3),,(γ1,γk)}\rho_n=\{(\gamma_1,\gamma_2),(\gamma_1,\gamma_3),\dots,(\gamma_1,\gamma_k)\}. Then ρ=nSρn\rho=\bigcup_{n\in S} \rho_n is a minimal presentation of SS (moreover, every minimal presentation can be obtained in this way if we allow in the definition of ρn\rho_n other pairs so that there is a path linking every two different connected components of GnG_n). There are finitely many nSn\in S for which GnG_n is not connected. Rosales proved that if GnG_n is not connected, then nn is of the form n=ni+wn=n_i+w with i{2,,p}i\in \{2,\dots,p\} and 0wAp(S,n1)0\not=w\in\operatorname{Ap}(S,n_1).

Some (numerical) semigroup rings

Let KK be a field and SS be a numerical semigroup. We choose tt to be a symbol. Define K[S]=sSKtsK[S]=\bigoplus_{s\in S} K t^s and K[ ⁣[S] ⁣]=sSKtsK[\![S]\!]=\prod_{s\in S} K t^s. We will represent the elements hh of K[ ⁣[S] ⁣]K[\![S]\!] as h=sSastsh=\sum_{s\in S} a_s t^s, with asNa_s\in \mathbb{N} for all ss. The element hh is in K[S]K[S] if and only if as=0a_s=0 for almost all sSs\in S (all but a finite number of them). We can add two elements of K[ ⁣[S] ⁣]K[\![S]\!] (and of K[S]K[S]) by adding the coefficients componentwise, and we can multiply them by using the distributive law and the rule tsts=ts+st^st^{s'}=t^{s+s'}. In this way, both K[ ⁣[S] ⁣]K[\![S]\!] and K[S]K[S] are rings. Moreover, K[ ⁣[S] ⁣]K[\![S]\!] is a local ring whose maximal ideal is m=(tn1,,tnp)m=(t^{n_1},\dots,t^{n_p}), with {n1,,np}\{n_1,\dots,n_p\} the minimal system of generators of SS (this is why pp is called the embedding dimension of SS). Some properties of K[ ⁣[S] ⁣]K[\![S]\!] and of K[S]K[S] can be determined from properties of SS. This study caused some concepts in numerical semigroups to be named after their already existing counterpart in ring theory.

The integral closure of K[ ⁣[S] ⁣]K[\![S]\!] is K[ ⁣[t] ⁣]K[\![t]\!], and if gg is the Frobenius number of SS, then tg+1K[ ⁣[t] ⁣]K[ ⁣[S] ⁣]t^{g+1}K[\![t]\!]\subseteq K[\![S]\!]. This is why sometimes the Frobenius number plus one is called the conductor of SS.

We can extend the semigroup morphism φ described in the preceding section as follows:

ψ ⁣:K[x1,,xp]K[S], ψ(xi)=tni (i{1,,p}\psi\colon K[x_1,\dots,x_p] \to K[S],\ \psi(x_i)=t^{n_i}\ (i\in\{1,\dots,p\}

The kernel of the ring morphism ψ is known as the defining ideal of SS.

In order to simplify the notation, we write Xa=x1a1xpapX^a=x_1^{a_1}\cdots x_p^{a_p} for a=(a1,,ap)Npa=(a_1,\dots,a_p)\in \mathbb{N}^p.

Herzog proved that (a,b)Ker(φ)(a,b)\in \operatorname{Ker}(\varphi) if and only if XaXbKer(ψ)X^a-X^b\in \operatorname{Ker}(\psi). Moreover, if ρ is a minimal presentation of SS, then the set {XaXb:(a,b)ρ}\{X^a-X^b : (a,b)\in\rho\} is a minimal system of generators of Ker(ψ)\operatorname{Ker}(\psi).

On K[ ⁣[S] ⁣]K[\![S]\!] one can define the map v ⁣:K[ ⁣[S] ⁣]Sv\colon K[\![S]\!]\to S, v(sSasts)v(\sum_{s\in S}a_st^s) to be least element in SS such that as0a_s\not=0. This defines a valuation on K[ ⁣[S] ⁣]K[\![S]\!]. Several authors have exploited this map. If II is a fractional ideal of K[ ⁣[S] ⁣]K[\![S]\!], then v(I)v(I) is a relative ideal of SS, that is, a subset of Z\mathbb{Z} (the quotient group of SS) such that I+SII+S\subseteq I and I+sSI+s\subseteq S for some sSs\in S. If II and JJ are two fractional ideals with JIJ\subseteq I, then the length of I/JI/J equals the cardinality of the set v(I)v(J)v(I)\setminus v(J). In particular I=JI=J if and only if v(I)=v(J)v(I)=v(J).