On numerical semigroups with embedding dimension four


1 Introduction↩︎

1

2

A subset of \(\mathbb{N}\) that contains 0, is closed under addition and is missing only finitely many positive integers is called a numerical semigroup. The Frobenius problem, also known as the Coin problem or the Chicken McNugget problem, concerns finding the largest integer not in a numerical semigroup. This integer is called the Frobenius number and is denoted \(F(S)\), for a numerical semigroup \(S\).

For a subset \(A\) of \(\mathbb{N}\), we let \(\langle A \rangle\) denote the set of all linear combinations of elements in \(A\) with nonnegative coefficients. It is well known that \(\langle A \rangle\) is a numerical semigroup if and only if \(\gcd(A)=1\) (for instance, see [1]). We define the integer e\((S)\), called the embedding dimension, as the cardinality of the unique set of minimal generators of a numerical semigroup \(S\).

An explicit formula for \(F(S)\) is well known in the case of a numerical semigroup with two generators (i.e. e\((S) =2\)): \[F(\langle a,b\rangle) = ab-a-b,\] obtained by Sylvester in 1883 (see [2]). However, for e\((S) \geq 3\), the Frobenius problem remains open. Indeed, Curtis showed in [3] that it is impossible to find a polynomial formula (that is, a finite set of polynomials) to compute the Frobenius number if e\((S) = 3\). Moreover, Ramírez-Alfonsín [4] proved that the question is NP-hard. Despite this, for the case of three generators, a lot of useful results were proved, with Johnson [5], and Brauer and Shockley [6] being among the fundamental ones (for more information we refer the reader to [7]).

Many formulas for special types of numerical semigroups have also been established, such as those generated by arithmetic [8], [9] or almost arithmetic sequences [10], [11], by geometric sequences [12], by three consecutive squares or cubes [13], [14], by three Fibonacci numbers [15], by squares of three consecutive Fibonacci numbers [16], by triangular and tetrahedral numbers [17], and many others.

Numerical semigroups generated by infinite sequences were also considered, including infinite sequences of squares [18] and of other \(k\)th powers [19], and by infinite quadratic sequences [20]. See also the references in [19] and [20].

In this paper, we will be interested in finding the Frobenius numbers of numerical semigroups generated by four consecutive squares and four consecutive triangular numbers. The corresponding problems for three generators have been solved in [13], [14] and [17].

In Section 2, we develop a method for finding the Apéry set of any numerical semigroup with embedding dimension four, from which the Frobenius number can be obtained. Our approach directly generalizes the classical Brauer-Shockley framework [6], and is the first method to achieve results of comparable strength in embedding dimension four. This is the main result of this paper.

In Section 3, we build on the results of the previous section to find the catenary degree. It plays a crucial role in factorization theory, and recently in [21], it was shown that there is no polynomial formula for the catenary degree, which is valid for all numerical semigroups (similarly to the Frobenius number [3]). In the process of finding the catenary degree, we will find the set of Betti elements and a minimal presentation. For more information about this topic, we refer the reader to [22].

In Sections 4 and 5, mostly as a showcase, we apply the tools developed throughout the previous sections to numerical semigroups generated by four consecutive squares and four consecutive triangular numbers. Similar results for a different family of numerical semigroups with embedding dimension four were obtained in [17]. In particular, the authors studied the Frobenius numbers, Apéry sets, Betti elements, and minimal presentations of numerical semigroups generated by four consecutive tetrahedral numbers. However, the proofs rely heavily on the property — defined there — of being telescopic, and cannot be applied for most numerical semigroups. Specifically, they cannot be applied for four consecutive triangular numbers, which is possible using our methods.

We finish the paper with remarks which may stimulate further research.

To obtain many identities that play a crucial role in Sections 4 and 5, we used Mathematica [23]. To verify the resulting formulas for semigroup invariants, we used numericalsgps [24] GAP [25] package.

2 Geometric procedure↩︎

2.1 Preliminaries↩︎

For a numerical semigroup \(S\) and an element \(a \in S\), we define the Apéry set of \(S\) with respect to \(a\) as \[\text{Ap}(S,a) = \{ s \in S \mid s-a \notin S\}\] (see [26]). We have \(\# \text{Ap}(S,a) = a\), because the set contains exactly one element from each residue class modulo \(a\). This set is of interest to us because from the Apéry set one can obtain several semigroup invariants. Specifically, \(F(S) = \max \{\text{Ap}(S,a)\} - a\), and \(G(S) = \frac{1}{a} \left( \sum_{s \in \text{Ap}(S,a)} s \right) - \frac{a-1}{2}\), where \(G(S)\) is the cardinality of the set \(\mathbb{N} \setminus S\) and is called the genus (see [11]).

A procedure for finding the Apéry set of numerical semigroups with embedding dimension three has been well established (see [6]). The procedure is geometric in nature and works as follows. For a numerical semigroup \(\langle d_1,d_2,d_3 \rangle\) with \(\gcd(d_i,d_j) = 1\) for \(i \neq j\), we find the smallest positive integers \(a_{11},a_{22},a_{33}\) such that: \[\begin{align} a_{11} d_1 &= a_{12} d_2 + a_{13} d_3, \\ a_{22} d_2 &= a_{21} d_1 + a_{23} d_3, \\ a_{33} d_3 &= a_{31} d_1 + a_{32} d_2, \end{align}\] for some nonnegative integers \(a_{12},a_{13},a_{21},a_{23},a_{31},a_{32}\). The above equations are called the minimal relations of \(\langle d_1,d_2,d_3 \rangle\).

Next, we consider a collection of unit squares in the first quadrant, placed against the \(x\)- and \(y\)-axes. We label the square, whose vertex closest to the origin has the coordinates \((i,j)\), with the value \(id_2 + jd_3\). Using the minimal relations, we construct the points \((a_{22},0)\), \((0,a_{33})\), \((a_{12},a_{13})\) and remove the regions \(\{x > a_{22}, y>0\}\), \(\{x > 0, y>a_{33}\}\), \(\{x > a_{12}, y>a_{13}\}\) (see Figure 1). In [6], it has been proven that the labels remaining in the resulting figure form exactly the set \(\text{Ap}(\langle d_1,d_2,d_3 \rangle,d_1)\).

Furthermore, the maximal number of the Apéry set clearly labels one of the corner squares of Figure 1 (colored light gray). Now, using \(F(S) = \max(\text{Ap}(S,a)) - a\), this yields the following formula for the Frobenius number (see [6] for details). \[\label{3genF} F(\langle d_1,d_2,d_3 \rangle) = \max\{ (a_{22}-1)d_2 + (a_{13}-1)d_3,(a_{12}-1)d_2 + (a_{33}-1)d_3 \} - d_1.\tag{1}\]

Figure 1: a diagram finding \text{Ap}(\langle d_1,d_2,d_3 \rangle,d_1)

Killingbergtrø, in [27], considered a possible generalization of the above procedure to numerical semigroups with embedding dimension four. Among other results, he computed the Frobenius number of a randomly chosen numerical semigroup \(\langle 103,133,165,228\rangle\), using a geometric procedure, to find the Apéry set with respect to 103. His method for a semigroup \(\langle d_0,d_1,d_2,d_3\rangle\) involves constructing a three-dimensional figure (Figure 2), consisting of a collection of unit cubes in the first octant, placed against the \(xy\)-, \(yz\)-, and \(zx\)‑planes, where the cube whose vertex closest to the origin has the coordinates \((i,j,k)\), is labeled with the value \(id_1 + jd_2 + kd_3\). Similarly to the method for three generators, we then find some special set of points and for each of them having coordinates \((a,b,c)\), we remove the region \(\{x > a,y>b,z>c\}\). We do this for the set of labels of the resulting figure to end up being the Apéry set with respect to \(d_0\). We will often refer to this set as simply the Apéry set for short.

The set of points used by Killingbergtrø (and its counterpart for other numerical semigroups) is in general not sufficient to produce the Apéry set. We propose a modified approach that works for any numerical semigroup with embedding dimension four.

Figure 2: the figure from [27]

2.2 Procedure↩︎

Let \(\langle d_0,d_1,d_2,d_3 \rangle\) be a numerical semigroup with embedding dimension four.

The remainder of this section develops a method for finding an Apéry set of \(\langle d_0,d_1,d_2,d_3 \rangle\). Theorem 1 provides the fundamental result that makes this possible, although it is not directly practical on its own and the idea is not new (see [28]). Propositions 2 and 4 are the key results that make our method innovative and useful in practice. We also include further results in Propositions 5 and 7.

Define the minimal relations of \(d_0,d_1,d_2,d_3\) respectively: \[\begin{align} a_{00} d_0 &= a_{01} d_1 + a_{02}d_2 + a_{03} d_3, \label{minrelation-0} \\ a_{11} d_1 &= a_{10} d_0+a_{12} d_2 + a_{13} d_3, \\ a_{22} d_2 &=a_{20} d_0+ a_{21} d_1 + a_{23} d_3, \\ a_{33} d_3 &= a_{30} d_0 +a_{31} d_1 + a_{32} d_2, \end{align}\tag{2}\] where \(a_{00},a_{11}, a_{22}, a_{33}\) are the smallest positive integers such that the above is true for some nonnegative integers \(a_{ij}\).

Additionally, define the following relations: \[\begin{align} b_{11} d_1 &= b_{10} d_0+b_{12} d_2 + b_{13} d_3, \\ b_{22} d_2 &= b_{20} d_0+ b_{21} d_1 + b_{23} d_3, \\ b_{33} d_3 &= b_{30} d_0 +b_{31} d_1 + b_{32} d_2, \end{align}\] where \(b_{11}, b_{22}, b_{33}\) are the smallest positive integers such that the above is true for some nonnegative integers \(b_{ij}\), and specifically with \(b_{10}, b_{20}, b_{30}\) being positive. We call these the \(d_0\)-positive minimal relations of \(d_1,d_2,d_3\) respectively. Using the above coefficients, we construct the points \[\label{positivepoints} P_1=(b_{11},-b_{12},-b_{13}), \;P_2=(-b_{21},b_{22},-b_{23}), \;P_3 = (-b_{31}, -b_{32}, b_{33}),\tag{3}\] each of which satisfies that \(xd_1 + yd_2 + zd_3\) is a positive multiple of \(d_0\) — here, and for the rest of this section, \(x,y,z\) will always denote the \(x\)-, \(y\)- and \(z\)- coordinates of a point in question.

Note that in the minimal relations (resp. \(d_0\)-positive minimal relations) \(a_{ii}\) (resp. \(b_{ii}\)) is unique, however \(a_{ij}\) (resp. \(b_{ij}\)) for \(i \neq j\) is not necessarily unique.

Consider unit cubes in \(\mathbb{R}^3\). Each unit cube \([i,i+1] \times [j,j+1] \times [k,k+1] \in \mathbb{R}^3\) has natural coordinates \((i,j,k) \in \mathbb{N}^3\) and is labeled with the value \(id_1 + jd_2 + kd_3\). We will refer to the collection of all such labeled cubes, as the initial collection of cubes. We denote the unit cube \([i,i+1] \times [j,j+1] \times [k,k+1]\) by \([[i,j,k]]\). For a point \(P =(a,b,c) \in \mathbb{Z}^3\), we call the region \(\{x > a, y>b, z>c\}\), the region associated to \(P\).

Lemma 1. Deleting from the initial collection of cubes the region associated to a point \(P = (\mu_1,\mu_2,\mu_3) \in \mathbb{Z}^3\), satisfying \(\mu_1d_1 + \mu_2d_2 + \mu_3d_3 = \mu d_0\) for some positive integer \(\mu\), does not remove any cube labeled with an element of the Apéry set with respect to \(d_0\).

Proof. Note that the Apéry set with respect to \(d_0\) is the set of the smallest nonnegative integers from each residue class modulo \(d_0\) that are in the numerical semigroup \(\langle d_1,d_2,d_3\rangle\). Suppose, to the contrary, that for some residue \(r \in \{0,1,\dots,d_0-1\}\), a cube labeled with the smallest number \(\lambda d_0 + r\) (\(\lambda \in \mathbb{N}\)) that is in \(\langle d_1,d_2,d_3\rangle\), has been deleted. Let \([[\lambda_1,\lambda_2,\lambda_3]]\) be the deleted cube, which was labeled with \(\lambda d_0 + r\). Since it is deleted by the region associated to \(P\), we have \(\lambda_1 \geq \mu_1\), \(\lambda_2 \geq \mu_2\), \(\lambda_3 \geq \mu_3\). We get \[\label{1remlemmaeq} (\lambda_1 -\mu_1) d_1 + (\lambda_2-\mu_2) d_2 + (\lambda_3-\mu_3) d_3 = (\lambda-\mu) d_0 + r,\tag{4}\] where all coefficients on the left-hand side are nonnegative. This means that the value 4 , is congruent to \(r\) modulo \(d_0\), is nonnegative, is in \(\langle d_1,d_2,d_3\rangle\), and is strictly less than \(\lambda d_0 + r\), which contradicts the minimality of \(\lambda d_0 + r\). ◻

Theorem 1. Delete from the initial collection of cubes the regions associated to the points 3 , and for every triple \((a_{01},a_{02},a_{03}) \in \mathbb{N}^3\) satisfying 2 delete the region associated to \((a_{01},a_{02},a_{03})\). Additionally, for all identities of the form \[\lambda_0d_0 + \lambda_1d_1=\lambda_2d_2 + \lambda_3d_3,\] with \(\lambda_i \in \mathbb{Z}_{>0}\), \(\lambda_2 < b_{22}\), and \(\lambda_3 < b_{33}\), remove the region associated to the point \((-\lambda_1,\lambda_2,\lambda_3)\). For all identities of the form \[\lambda_0d_0 + \lambda_2d_2=\lambda_1d_1 + \lambda_3d_3,\] with \(\lambda_i \in \mathbb{Z}_{>0}\), \(\lambda_1 < b_{11}\), and \(\lambda_3 < b_{33}\), remove the region associated to the point \((\lambda_1,-\lambda_2,\lambda_3)\). Finally, for all identities of the form \[\lambda_0d_0 + \lambda_3d_3=\lambda_1d_1 + \lambda_2d_2,\] with \(\lambda_i \in \mathbb{Z}_{>0}\), \(\lambda_1 < b_{11}\), and \(\lambda_2 < b_{22}\), remove the region associated to the point \((\lambda_1,\lambda_2,-\lambda_3)\). Call the remaining collection of cubes the figure \(R\). Then, the set of all cubes from the initial collection of cubes which are labeled with an element of the Apéry set is the figure \(R\).

Proof. The condition \(\lambda_i < b_{ii}\) ensures that we consider only the identities that matter — the points 3 already delete the regions \(\{x > b_{11}\}\), \(\{y > b_{22}\}\), \(\{z > b_{33}\}\). Lemma 1 ensures that every cube labeled with an element of the Apéry set is in \(R\). We need to prove that only the cubes labeled with elements of the Apéry set are in \(R\). Suppose, to the contrary, that for some remainder \(r \in \{0,1,\dots,d_0-1\}\), \(\lambda d_0 + r\) and \(\lambda' d_0 + r\), with \(\lambda' > \lambda\), are labels in \(R\). Now for some \(\lambda_1, \lambda_2, \lambda_3,\lambda_1', \lambda_2', \lambda_3' \in \mathbb{N}\) we have \[\label{eq1theorem} \lambda d_0 + r = \lambda_1d_1 + \lambda_2d_2 + \lambda_3d_3,\tag{5}\] \[\label{eq2theorem} \lambda' d_0 + r = \lambda_1'd_1 + \lambda_2'd_2 + \lambda_3'd_3,\tag{6}\] with \([[\lambda_1,\lambda_2,\lambda_3]], [[\lambda_1',\lambda_2',\lambda_3']] \in R\). Subtracting 5 from 6 we get \[\label{eq3theorem} (\lambda' - \lambda)d_0 = (\lambda_1' - \lambda_1)d_1 + (\lambda_2' - \lambda_2)d_2 + (\lambda_3' - \lambda_3)d_3,\tag{7}\] where \((\lambda' - \lambda)>0\), by assumption. Consider cases of how many coefficients on the right-hand side of 7 are positive. The left-hand side is positive, hence, on the right-hand side, at least one of the coefficients is positive.

If exactly one coefficient is positive, assume without loss of generality that \((\lambda_1' - \lambda_1)\) is the one. Moving the non positive integers to the other side gives \[\label{eq4theorem} (\lambda' - \lambda)d_0 + (\lambda_2 - \lambda_2')d_2 + (\lambda_3 - \lambda_3')d_3= (\lambda_1' - \lambda_1)d_1.\tag{8}\] Since all the above coefficients are nonnegative and \((\lambda_1' - \lambda_1)\) and \((\lambda' - \lambda)\) are positive, by the minimality of \(b_{11}\), we get \(b_{11} \leq (\lambda_1' - \lambda_1) \leq \lambda_1'\). This is a contradiction with \([[\lambda_1',\lambda_2',\lambda_3']] \in R\).

If exactly two coefficients on the right-hand side of 7 are positive, without loss of generality, suppose that \((\lambda_1' - \lambda_1)\) and \((\lambda_2' - \lambda_2)\) are the two. Moving \((\lambda_3' - \lambda_3)\) to the other side gets \[\label{eq5theorem} (\lambda' - \lambda)d_0 + (\lambda_3 - \lambda_3')d_3= (\lambda_1' - \lambda_1)d_1 + (\lambda_2' - \lambda_2)d_2.\tag{9}\] The above identity satisfies the conditions of the current theorem, thus the region \(\{x > (\lambda_1' - \lambda_1), y > (\lambda_2' - \lambda_2)\}\) was deleted. Again, this contradicts \([[\lambda_1',\lambda_2',\lambda_3']] \in R\), as \(\lambda'_1 \geq (\lambda_1' - \lambda_1)\) and \(\lambda'_2 \geq (\lambda_2' - \lambda_2)\).

Now, only the case where all the coefficients in 7 are positive is left. Let us substitute \(\mu =(\lambda' - \lambda) > 0\) and \(\mu_i =(\lambda_i' - \lambda_i) >0\) for \(i = 1,2,3\). We have \[\label{eq6theorem} \mu d_0 = \mu_1d_1 + \mu_2d_2 + \mu_3d_3,\tag{10}\] and by the process of deleting the regions, the cube \([[\mu_1,\mu_2,\mu_3]]\) is also in \(R\), as \(\mu_i \leq \lambda'_i\) for \(i = 1,2,3\). From the minimality of \(a_{00}\), we get \(a_{00} \leq \mu\). Now we subtract \(a_{00}d_0 = a_{01}d_1 + a_{02}d_2 + a_{03}d_3\) from 10 to get \[\label{eq7theorem} (\mu - a_{00}) d_0 = (\mu_1 - a_{01})d_1 + (\mu_2 - a_{02})d_2 + (\mu_3 - a_{03})d_3.\tag{11}\]

If \((\mu - a_{00}) = 0\), then the region associated to \((\mu_1,\mu_2,\mu_3)\) had been deleted, which contradicts \([[\mu_1,\mu_2,\mu_3]] \in R\).

Finally, when \((\mu - a_{00}) > 0\) in 11 , we repeat the same case by case consideration as we did with 7 , which results in all the coefficients in 11 being positive. However, this implies that the cube \([[\mu_1,\mu_2,\mu_3]]\), has been deleted by the region associated to \((a_{01}, a_{02}, a_{03})\), which is a contradiction. ◻

In general, finding the minimal relations and all the identities used in Theorem 1 is a rather difficult task. In order to use Theorem 1 effectively, we need some additional lemmas.

Lemma 2. Let \(R\) be as in Theorem 1. Delete from \(R\) the region \(\{x > a_{11}\}\). Then every element of the Apéry set still labels some remaining cube. The same will be true if we instead delete the region \(\{y > a_{22}\}\) or \(\{z > a_{33}\}\).

Proof. If \(a_{11} = b_{11}\), there is nothing to prove. Assume \(a_{11} < b_{11}\), which implies \(a_{10} = 0\). Consider an element of the Apéry set, which has the form \(\lambda_1d_1 + \lambda_2d_2 + \lambda_3d_3\), where \(\lambda_i \in \mathbb{N}\) and \(\lambda_1 \geq a_{11}\). Then there exists a positive integer \(\lambda\) such that \(a_{11} > (\lambda_1 - \lambda a_{11}) \geq 0\). Using \(a_{11}d_1 = a_{12}d_2 + a_{13}d_3\), we obtain \[\lambda_1d_1 + \lambda_2d_2 + \lambda_3d_3 = (\lambda_1 - \lambda a_{11})d_1 + (\lambda_2+\lambda a_{12})d_2 + (\lambda_3+\lambda a_{13})d_3.\] As every cube labeled with an element of the Apéry set is in \(R\), we have \([[\lambda_1 - \lambda a_{11},\lambda_2+\lambda a_{12},\lambda_3+\lambda a_{13} ]] \in R \cap \{x \leq a_{11}\}\) and the claim follows. ◻

Lemma 3. Let \(R\) be as in Theorem 1. Delete from \(R\) the regions \(\{x > a_{11}\}\), \(\{y > a_{22}\}\), and \(\{z > a_{33}\}\). Then, in the resulting collection, each element of the Apéry set labels at most one cube.

Proof. Suppose, to the contrary, that for some \(\lambda_1, \lambda_2, \lambda_3,\lambda_1', \lambda_2', \lambda_3' \in \mathbb{N}\) with \(\lambda_i ,\lambda'_i < a_{ii}\) for \(i = 1,2,3\), we have \[\label{propeq1} \lambda_1d_1 + \lambda_2d_2 + \lambda_3d_3 = \lambda_1'd_1 + \lambda_2'd_2 + \lambda_3'd_3\tag{12}\] \[\label{propeq2} \implies (\lambda_1' - \lambda_1)d_1 + (\lambda_2' - \lambda_2)d_2 + (\lambda_3' - \lambda_3)d_3 = 0.\tag{13}\] If all coefficients in 13 are zero, we have nothing to prove. Therefore, either one or two coefficients in 13 are positive. Regardless, without loss of generality, we can assume that \[\label{propeq3} (\lambda_1' - \lambda_1)d_1 = (\lambda_2 - \lambda_2')d_2 + (\lambda_3 - \lambda_3')d_3,\tag{14}\] where all the coefficients in the above equation are nonnegative. However, \((\lambda_1' - \lambda_1)\) is positive, because otherwise all the coefficients would be zero. This implies \(a_{11} \leq (\lambda_1' - \lambda_1) \leq \lambda_1'\), which is a contradiction. ◻

Proposition 2. Suppose that \(a_{ii} = b_{ii}\) for at least two distinct indices \(i \in \{1,2,3\}\). Let \(R\) be as in Theorem 1. Delete from \(R\) the regions \(\{x > a_{11}\}\), \(\{y > a_{22}\}\) and \(\{z > a_{33}\}\). Then each element of the Apéry set labels exactly one cube in the resulting collection.

Proof. If \(a_{ii} = b_{ii}\) for all \(i = 1,2,3\), then Lemma 3 gives the result. Otherwise, we have \(a_{ii} < b_{ii}\) for exactly one \(i \in \{1,2,3\}\). In such case, Lemma 2 together with Lemma 3 give the result. ◻

Define an \(L\)-shape as a subset of the initial collection of cubes such that:

  • all its labels are elements of the Apéry set,

  • every element of the Apéry set labels exactly one cube in it,

  • if a cube \([[a,b,c]]\), \((a,b,c) \in \mathbb{N}^3\), is not in it, then neither is any cube in the region associated to \((a,b,c)\).

In particular, the collection from Proposition 2 is an \(L\)-shape. This notation is inherited from [29] and is established in the literature.

It turns out that when the conditions of Proposition 2 are met, we can employ the strategy of essentially guessing the Apéry set. We already mentioned in the introduction that a general polynomial formula for the Frobenius number does not exist. When we seek the Frobenius number of a special family of numerical semigroups, for which we suspect the existence of a polynomial formula, we also expect that the corresponding Apéry set — and also the figure \(R\) — will also exhibit a certain regularity. To test these conjectures, we can examine numerical examples with the aid of an algebraic calculator, thus clarifying the behavior of the family in question. If a family of numerical semigroups is well-behaved enough, the minimal relations and the identities from Theorem 1 should have a form that we should be able to predict.

If the conditions of Proposition 2 are satisfied, it tells us that we are able to remove enough regions to leave an \(L\)-shape. This is crucial since an \(L\)-shape has exactly \(d_0\) cubes. In this way, we do not need to prove any properties of the equations we have found, but we can just use Lemmas 1 and 2, to remove the corresponding regions and leave the Apéry set behind. If we are left with exactly \(d_0\) cubes, it means that we have found an \(L\)-shape. We will exploit this idea in Sections 4 and 5.

Remark 3. If the conditions of Proposition 2 are not met with respect to \(d_0\), we could, for example, look for the Apéry set with respect to \(d_1\) instead, if for such generator the conditions for applying Proposition 2 are satisfied. We will see that in Sections 4 and 5, such a switch was possible or was not needed. However, it is possible that we cannot do this. Consider the numerical semigroup \(\langle 22,38,55,57 \rangle\). It has embedding dimension four and the minimal relations can be seen to be: \[\begin{align} 5 \cdot 22 = 0\cdot 38 + 2 \cdot 55 + 0\cdot57, \\ 3 \cdot 38 = 0\cdot 22 + 0\cdot 55 +2 \cdot 57, \\ 2 \cdot 55 = 5 \cdot 22 + 0\cdot 38 + 0\cdot 57,\\ 2 \cdot 57 = 0\cdot 22 +3 \cdot 38 + 0\cdot 55. \end{align}\] We would like to be able to apply the proposed method for finding the Apéry set to all numerical semigroups with embedding dimension four, not just to those which satisfy the assumptions of Proposition 2.

For the next lemma, let \(b_{i,mm}\) denote the coefficient of \(d_m\) in the \(d_i\)-positive minimal relation of \(d_m\) (with this notation \(b_{0,mm} = b_{mm}\)).

Lemma 4. There exists an arrangement \(\{i,j,k,l\} = \{0,1,2,3\}\) such that \(a_{mm} = b_{i,mm}\) for at least two distinct indices \(m \in \{j,k,l\}\), or \(a_{ii}d_i = a_{jj}d_j\) and \(a_{kk}d_k = a_{ll}d_l\).

Proof. Suppose that for every arrangement \(\{i,j,k,l\} = \{0,1,2,3\}\) we have \(a_{mm} < b_{i,mm}\) for at least two distinct indices \(m \in \{j,k,l\}\). This implies that at least two of \(a_{ji}, a_{ki},a_{li}\) are equal to zero for every such arrangement.

Since for any arrangement \(\{i,j,k,l\} = \{0,1,2,3\}\) at most two of \(a_{ij}, a_{ik},a_{il}\) can be zero, it follows that for every index \(i \in \{0,1,2,3\}\) every minimal relation of \(d_i\) is of the form \(a_{ii}d_i = a_{ij}d_j\) for some \(j \in \{0,1,2,3\} \setminus \{i\}\).

Observe that \(a_{ij} \geq a_{jj}\). If \(a_{ij} > a_{jj}\), then \[\label{notprop-eq1} a_{ii}d_i = a_{ij}d_j = ( a_{ij}-a_{jj})d_j + a_{jm}d_m,\tag{15}\] for some \(m \in \{0,1,2,3\} \setminus \{j\}\). If \(m = i\), subtracting \(d_i\) from both sides of 15 contradicts the minimality of \(a_{ii}\). If \(m \neq i\), we get a contradiction with the fact that every minimal relation of \(d_i\) has the form \(a_{ii}d_i = a_{ij}d_j\).

Hence \(a_{ij} = a_{jj}\), and therefore \(a_{ii}d_i = a_{jj}d_j\). Repeating the same argument for the indices \(\{k,l\} = \{0,1,2,3\} \setminus \{i,j\}\) yields the claim. ◻

If \(a_{mm} = b_{i,mm}\) for at least two distinct indices \(m \in \{j,k,l\}\) for some arrangement \(\{i,j,k,l\} = \{0,1,2,3\}\), then clearly we can apply Proposition 2 to such semigroup (perhaps rearranging the generators).

By Lemma 4, if Proposition 2 cannot be applied to a numerical semigroups with embedding dimension four, then \(a_{ii}d_i = a_{jj}d_j\) and \(a_{kk}d_k = a_{ll}d_l\) for some arrangement \(\{i,j,k,l\} = \{0,1,2,3\}\). Without loss of generality, we may assume that \(a_{00}d_0 = a_{11}d_1\) and \(a_{22}d_2 = a_{33}d_3\). For all such semigroups, the following proposition provides a result of the same strength as Proposition 2.

Proposition 4. Suppose that \(a_{11} = b_{11}\) and \(a_{22}d_2 = a_{33}d_3\). Let \(R\) be as in Theorem 1. Delete from \(R\) the region \(\{z > a_{33}\}\). Then the resulting figure is an \(L\)-shape.

Proof. We have an injection between the cubes of \(R \cap \{ y \geq a_{22}\}\) and \(R \cap \{ z \geq a_{33}\}\), which sends \([[\mu_1,\mu_2,\mu_3]] \in R \cap \{ y \geq a_{22}\}\) to \([[\mu_1,\mu_2 - a_{22},\mu_3 + a_{33}]] \in R \cap \{ z \geq a_{33}\}\). The cube \([[\mu_1,\mu_2 - a_{22},\mu_3 + a_{33}]]\) is in \(R\) by Theorem 1, because it is labeled with an element of the Apéry set. Similarly, we can define an injection in the opposite direction, which is an inverse of the first map. Hence, the correspondence is a bijection. Because this bijection preserves labels, in order to obtain an \(L\)-shape we must delete either the region \(\{y > a_{22}\}\) or \(\{z > a_{33}\}\). We choose to delete \(\{z > a_{33}\}\) and let \(T\) be the resulting figure.

Suppose that some label in \(T\) appears twice. This gives \[\label{propnottrick-eq1} \mu_1d_1 + \mu_2d_2 + \mu_3d_3 = \nu_1d_1 + \nu_2d_2 + \nu_3d_3,\tag{16}\] for some \(\mu_i, \nu_i \in \mathbb{N}\), and where \([[\mu_1,\mu_2,\mu_3]]\) and \([[\nu_1,\nu_2,\nu_3]]\) are two distinct cubes in \(T\). Without loss of generality, assume \(\mu_2 \geq \nu_2\).

If \(\mu_1 \leq \nu_1\) and \(\mu_3 \leq \nu_3\), we obtain \[\label{propnottrick-eq2} (\mu_2-\nu_2)d_2 = (\nu_1-\mu_1)d_1 + (\nu_3-\mu_3)d_3,\tag{17}\] where all coefficients above are nonnegative, which implies \((\mu_2-\nu_2) \geq a_{22}\). If \(\nu_3 \geq (\nu_3-\mu_3) \geq a_{33}\), we get a contradiction with \([[\nu_1,\nu_2,\nu_3]] \in T\), hence \((\nu_3-\mu_3) < a_{33}\). This gives \[\label{propnottrick-eq21} (\mu_2-\nu_2-a_{22})d_2 + (a_{33}-\nu_3+\mu_3)d_3 = (\nu_1-\mu_1)d_1,\tag{18}\] where all coefficients above are nonnegative and \((a_{33}-\nu_3+\mu_3)\) is positive. Hence \((\nu_1-\mu_1)\) is also positive, which implies \(\nu_1 \geq (\nu_1-\mu_1) \geq a_{11} = b_{11}\), contradicting \([[\nu_1,\nu_2,\nu_3]] \in T\).

If \(\mu_1 > \nu_1\) and \(\mu_3 \leq \nu_3\), then \[\label{propnottrick-eq3} (\mu_2-\nu_2)d_2 + (\mu_1-\nu_1)d_1 = (\nu_3-\mu_3)d_3,\tag{19}\] which implies \(\nu_3 \geq (\nu_3-\mu_3) \geq a_{33}\), so a contradiction with \([[\nu_1,\nu_2,\nu_3]] \in T\).

Lastly, if \(\mu_1 \leq \nu_1\) and \(\mu_3 > \nu_3\), then \[\label{propnottrick-eq4} (\mu_2-\nu_2)d_2 + (\mu_3-\nu_3)d_3 = (\nu_1-\mu_1)d_1,\tag{20}\] which implies \(\nu_1 \geq (\nu_1-\mu_1) \geq a_{11} = b_{11}\), so again a contradiction with \([[\nu_1,\nu_2,\nu_3]] \in T\).

In total, every element of the Apéry set appears as a label in \(T\), and each label in \(T\) is distinct. Hence \(T\) is an \(L\)-shape. ◻

2.3 Additional results↩︎

Suppose that from the initial collection of cubes we have removed regions whose removal satisfied the assumptions of Lemma 1 or 2, ensuring that every element of the Apéry set still labels a cube in the resulting figure. Assume further that the resulting collection contains exactly \(d_0\) cubes; this implies that we have obtained an \(L\)-shape. We would like to determine whether the equations we used — specifically, relations of the form \(\lambda_id_i = \lambda_jd_j + \lambda_kd_k + \lambda_ld_l\) — are in fact the minimal relations or the \(d_0\)-positive minimal relations.

Proposition 5. Suppose that we have deleted from the initial collection of cubes the regions associated to certain points of the forms \((-\lambda_1,\lambda_2,\lambda_3)\), \((\lambda_1,-\lambda_2,\lambda_3)\), \((\lambda_1,\lambda_2,-\lambda_3)\), with \(\lambda_i \in \mathbb{Z}_{>0}\) and each satisfying that \(xd_1 + yd_2 + zd_3\) is a positive multiple of \(d_0\). Furthermore, we have deleted the regions associated to certain points \((a_{01},a_{02},a_{03}) \in \mathbb{N}^3\) satisfying 2 . Finally, we have also deleted the regions \(\{x > b_{11}'\}\), \(\{y > b_{22}'\}\), and \(\{z > a_{33}'\}\), where: \[\begin{align} b_{11}'d_1 &= b_{10}'d_0 + b_{12}'d_2 + b_{13}'d_3, \\ b_{22}'d_2 &= b_{20}'d_0 + b_{21}'d_1 + b_{23}'d_3, \\ a_{33}'d_3 &= a_{30}'d_0 + a_{31}'d_1 + a_{32}'d_2, \end{align}\] with \(a_{ij}',b_{ij}' \in \mathbb{N}\), \(b_{10}',b_{20}' >0\), and \(a_{30}' + a_{31}'a_{32}' > 0\). If the resulting collection has exactly \(d_0\) cubes, then it is an \(L\)-shape, \(b_{11}' = b_{11} = a_{11}\), \(b_{22}'=b_{22}=a_{22}\), and \(a_{33}' = a_{33}\).

Proof. Lemmas 1 and 2 imply that the resulting collection is an \(L\)-shape. Denote it by \(T\), and let \(R\) be as in Theorem 1. Note that \(R\) is contained in \(T \cup \{z > a_{33}'\}\). Therefore, if \(a_{33}'>a_{33}\), Lemma 2 tells us that every element of the Apéry set labels a cube in \[R \cap \{z \leq a_{33}\} \subseteq \left(T \cup \{z > a_{33}'\} \right)\cap \{z \leq a_{33}\} = T \cap \{z \leq a_{33}\}.\] Now \(T \cap \{z \leq a_{33}\}\) is strictly smaller than \(T\), which contradicts the fact that \(T\) is an \(L\)-shape, hence \(a_{33}'=a_{33}\). For convenience, set \((a_{30},a_{31},a_{32}) = (a_{30}',a_{31}',a_{32}')\).

Recall that \(R\) is the set of all cubes labeled with an element of the Apéry set, according to Theorem 1, and that \(b_{11}\) and \(b_{22}\) are the boundary values of \(R\) in the \(x\)- and \(y\)- directions, respectively. On the other hand, \(b_{11}'\) and \(b_{22}'\) are the boundary values of \(T\) in the \(x\)- and \(y\)- directions, respectively, and we have \(b_{11}' \geq b_{11}\) and \(b_{22}' \geq b_{22}\). This yields \(b_{11}' = b_{11}\) and \(b_{22}' = b_{22}\).

Moreover, we get \(T = R \cap \{z \leq a_{33}\}\) and the only claims left to prove are \(a_{11} = b_{11}\) and \(a_{22} = b_{22}\).

Suppose that \(a_{11} < b_{11}\). This gives \(a_{11}d_1 = a_{12}d_2 + a_{13}d_3\) (for some \(a_{12},a_{13} \in \mathbb{N}\)), which is an element of the Apéry set, since it is a label in \(T\). If \(a_{13} < a_{33}\), then \([[0,a_{12},a_{13}]] \in T\) (as \(T =R \cap \{z \leq a_{33}\}\)), which contradicts the fact that \(T\) is an \(L\)-shape, as \([[a_{11},0,0]] \in T\) also. Hence \(a_{13} \geq a_{33}\).

Now, we can write \[\label{propminimalrelations-eq1} a_{11}d_1 = a_{12}d_2 + (a_{13}-a_{33})d_3 + a_{30}d_0 + a_{31}d_1 + a_{32}d_2.\tag{21}\] If \(a_{31}d_1 > 0\), subtracting \(d_1\) from both sides of 21 gives a contradiction with the minimality of \(a_{11}\), unless \(a_{12} = (a_{13}-a_{33})=a_{30}=a_{32}=0\). However, this contradicts \(a_{30} + a_{31}a_{32}=a_{30}' + a_{31}'a_{32}' > 0\). If \(a_{30}d_0 > 0\), we get a contradiction, as we assumed \(a_{11} < b_{11}\).

Hence, \(a_{31}=a_{30}=0\) and \(a_{33}d_3 = a_{32}d_2\). We have \[a_{11}d_1 = (a_{12} + \lambda a_{32})d_2 + (a_{13}-\lambda a_{33})d_3,\] where \(\lambda \in \mathbb{Z}_{>0}\) is such that \(a_{33} > (a_{13}-\lambda a_{33}) \geq 0\) (recall \(a_{13} \geq a_{33}\)). This gives \([[0,a_{12} + \lambda a_{32},a_{13}-\lambda a_{33}]] \in T\), as \(T =R \cap \{z \leq a_{33}\}\) and no cube labeled with an element of the Apéry set is outside of \(R\) by Theorem 1. This contradicts the fact that \(T\) is an \(L\)-shape, hence \(a_{11} = b_{11}\).

The claim \(a_{22}=b_{22}\) follows analogously. ◻

Remark 6. Note that the semigroup from Proposition 5 has \(a_{11} = b_{11}\) and \(a_{22}=b_{22}\), so it satisfies the assumptions of Proposition 2. Moreover, if a numerical semigroup has \(a_{11}=b_{11}\) and \(a_{22}=b_{22}\), then there exists a representation \(a_{33}d_3 = a_{30}d_0 + a_{31}d_1 + a_{32}d_2\) with \(a_{30}, a_{31}, a_{32} \in \mathbb{N}\) and \(a_{30} + a_{31}a_{32} > 0\). Otherwise, without loss of generality, suppose \(a_{30} = a_{31} = 0\), which implies \(a_{33}d_3 = a_{32}d_2\). Hence \(a_{32} \geq a_{22} = b_{22}\) and \(a_{33}d_3 = b_{20}d_0 + b_{21}d_1 + (a_{32}-b_{22})d_2\) is the desired representation (we have \(b_{23} = 0\), as otherwise we would get a contradiction with the minimality of \(a_{33}\)). Consequently, Proposition 5 applies precisely to all numerical semigroups that satisfy the assumptions of Proposition 2.

We end this section with a result connected to [29], where the authors constructed a family of numerical semigroups with embedding dimension four that admits arbitrarily many related \(L\)-shapes. The following proposition characterizes when an Apéry set of a numerical semigroup with embedding dimension four admits exactly one \(L\)-shape. For the study of such semigroups in arbitrary embedding dimension, see [30].

For the next proof, let the region associated to a cube be the region associated to the vertex of the cube that is closest to the origin.

Proposition 7. The Apéry set with respect to \(d_0\) has a unique \(L\)-shape if and only if \(a_{ii}=b_{ii}\) for \(i=1,2,3\).

Proof. If \(a_{ii}=b_{ii}\) for \(i=1,2,3\), then Lemma 3 implies that the figure \(R\) is an \(L\)-shape. Moreover, \(R\) is unique, and it is the set of all cubes from the initial collection of cubes that are labeled with an element of the Apéry set by Theorem 1. Hence the Apéry set admits exactly one \(L\)-shape.

Suppose that \(a_{ii}<b_{ii}\) for some \(i \in \{1,2,3\}\). Then \(R\) is not an \(L\)-shape, and some label appears more than once in \(R\) — as the label \(a_{ii}d_i\) does. Let \(\ell\) be the the smallest such label. Write \[\ell =\lambda_1d_1 + \lambda_2d_2 + \lambda_3d_3 = \lambda_1'd_1 + \lambda_2'd_2 + \lambda_3'd_3,\] with \(\lambda_i,\lambda_i' \in \mathbb{N}\), and \([[\lambda_1,\lambda_2,\lambda_3]]\), \([[\lambda_1',\lambda_2',\lambda_3']]\) being two distinct cubes in \(R\). Without loss of generality, assume that \(\lambda_1 > \lambda_1'\) and \(\lambda_3 < \lambda_3'\).

Among all cubes labeled with \(\ell\), choose the one with the largest \(x\)-coordinate; if several have the same maximal \(x\)-coordinate, choose among them the one with the largest \(y\)-coordinate (and only one such cube can exist, since they all have the same label). Delete from \(R\) the regions associated to all other cubes labeled with \(\ell\), leaving only the chosen one. Then proceed to the next smallest label that appears more than once, and repeat the process. We claim that this procedure eventually produces an \(L\)-shape.

Suppose, to the contrary, that the procedure does not produce an \(L\)-shape. Then, at some stage, every cube labeled with a particular element is deleted. Let \(a\) be the first element of the Apéry set whose label disappears entirely, and let \(b\) be the label of the cubes whose associated regions deleted the last cube labeled with \(a\).

Write \(a =b+ \delta_1d_1 +\delta_2d_2+\delta_3d_3\) with \(\delta_i \in \mathbb{N}\), and let \(b = \mu_1d_1 + \mu_2d_2 + \mu_3d_3\), where \([[\mu_1,\mu_2,\mu_3]]\) is the cube labeled with \(b\) that survives our process — such a cube exists because in our process when we preserve one cube with currently the smallest repeated label, this cube cannot be deleted by some region later because of the minimality of the label. We have \[a = ( \delta_1+\mu_1)d_1 + ( \delta_2+\mu_2)d_2 + ( \delta_3+\mu_3)d_3,\] so the cube \([[\delta_1+\mu_1,\delta_2+\mu_2,\delta_3+\mu_3]]\) is labeled with \(a\). Since all cubes labeled with \(a\) were deleted, this cube also has been deleted by the region associated to some cube \([[\nu_1,\nu_2,\nu_3]]\).

However, there exists a cube \([[\nu_1',\nu_2',\nu_3']]\) with the same label as \([[\nu_1,\nu_2,\nu_3]]\) that was not deleted. Consequently, \(a\) also labels the cube \[[[\nu_1' + \delta_1+\mu_1 -\nu_1,\nu_2' + \delta_2+\mu_2 -\nu_2,\nu_3' + \delta_3+\mu_3 -\nu_3]].\] By construction, either its first coordinate exceeds \(\delta_1+\mu_1\), or its first coordinate is equal to \(\delta_1+\mu_1\) and its second coordinate is larger than \(\delta_2+\mu_2\). Again, because \(a\) is not a label in the final collection, this next cube we just constructed also has been deleted by some region. Repeating this argument produces cubes labeled by \(a\) with arbitrarily large \(x\)- or \(y\)-coordinates, contradicting Theorem 1 (as \(R \subseteq \{x \leq a_{11}, y \leq a_{22}, z \leq a_{33}\}\)). Thus, the procedure must produce an \(L\)-shape.

Performing the same procedure, but choosing, at each step, the cube with maximal \(z\)-coordinate (and breaking ties by maximal \(y\)-coordinate), yields a different \(L\)-shape. It is indeed different, since by the assumption \(\lambda_1 > \lambda_1'\) and \(\lambda_3 < \lambda_3'\), the first cube selected in this variant is not the same as in the previous procedure. ◻

For an insight into the geometry of the Apéry set in arbitrary embedding dimension, we refer the reader to [31] and [28].

3 Catenary degree↩︎

In this section, we will be interested in describing the set of Betti elements, minimal presentations, and the catenary degree using the Apéry set, building on the results from Section 2. We start with some preliminary definitions and then proceed to the main results. To apply those results in Sections 4 and 5, Proposition 5 will be essential. We do not have a version of Proposition 5 for numerical semigroups that do not satisfy the assumption of Proposition 2 (see Remark 6). As a consequence, in this section we will consider only numerical semigroups fulfilling those assumptions; see Problem 23.

Results closely related to those of this section were obtained by Bresinsky in [32], and in fact, his approach applies to all numerical semigroups of embedding dimension four. Our method, however, provides a different perspective; it explicitly relates the Betti elements and minimal presentations to the Apéry set, specifically to an \(L\)-shape — a connection that is absent from [32]. Consequently, Bresinsky’s framework does not yield the results that we establish in Sections 4 and 5, which are based on the viewpoint developed here.

3.1 Preliminaries↩︎

Let \(S\) be a numerical semigroup minimally generated by \(\{d_0, d_1, \dots, d_k\}\). The factorization morphism of \(S\) is \[\varphi : \mathbb{N}^{k+1} \to S, \quad \varphi(z_0, \dots, z_k) = z_0d_0 + \dots + z_kd_k.\] The set of factorizations of an element \(s \in S\) is \[\varphi^{-1}(s) = \{(z_0,\dots,z_k)\in \mathbb{N}^{k+1} \mid z_0d_0 + \dots + z_kd_k = s\}.\] If \(z =(z_0,\dots,z_k) \in \varphi^{-1}(s)\), then the length of \(z\) is \(|z| = z_0 + \dots + z_k\). The support of \(z\) is defined by \[\text{supp}(z) = \{i \in \{0,\dots,k\} \mid z_i > 0\}.\] For \(z = (z_0,\dots,z_k), z' = (z_0',\dots,z_k') \in \mathbb{N}^{k+1}\) we set \[\gcd(z,z') = ( \min\{z_0,z_0'\}, \dots, \min\{z_k,z_k'\}).\] The distance between \(z\) and \(z'\) is defined by \[\text{d}(z,z') = \max\{ |z - \gcd(z,z')|,|z'-\gcd(z,z')|\}.\]

Given \(s \in S\) and \(z,z' \in \varphi^{-1}(s)\), an \(N\)-chain of factorizations from \(z\) to \(z'\) is a sequence \(z_1,\dots,z_p \in \varphi^{-1}(s)\) such that \(z_1 = z\), \(z_p = z'\), and d\((z_i,z_{i+1}) \leq N\) for all \(i \in \{1, \dots, p-1\}\). The catenary degree of \(s\), \(\mathrm{c}(s)\), is the minimal \(N \in \mathbb{N} \cup \{\infty\}\) such that for any two factorizations \(z,z' \in \varphi^{-1}(s)\), there is an \(N\)-chain from \(z\) to \(z'\). The catenary degree of \(S\) is defined by \[\mathrm{c}(S) = \sup \{ \mathrm{c}(s) \mid s\in S \}.\]

Two elements \(z\) and \(z'\) of \(\mathbb{N}^{k+1}\) are \(\mathcal{R}\)-related if there exists a finite sequence \(z = z_1, \dots, z_p = z'\) in \(\mathbb{N}^{k+1}\) such that \(\text{supp}(z_i) \cap \text{supp}(z_{i+1})\) is nonempty for all \(i \in \{1, \dots, p-1\}\). We write \(z \, \mathcal{R} \, z'\) in this case. We will refer to equivalence classes of \(\varphi^{-1}(s)\) under the relation \(\mathcal{R}\) as the \(\mathcal{R}\)-classes. We say that \(s \in S\) is a Betti element if there exist two elements of \(\varphi^{-1}(s)\) that are not \(\mathcal{R}\)-related (i.e. it has at least two different \(\mathcal{R}\)-classes). The set of all Betti elements of \(S\) is denoted \(\text{Betti}(S)\).

Theorem 8. [22] Let \(S\) be a numerical semigroup. Then \[\mathrm{c}(S) = \max \{\mathrm{c}(b) \mid b \in \mathrm{Betti}(S) \}.\]

We define the kernel congruence of \(\varphi\) as \(\sigma = \{ (a,b) \in \mathbb{N}^{k+1} \times \mathbb{N}^{k+1} \mid \varphi(a) = \varphi(b) \}\). It is well known that \(S\) is isomorphic to the monoid \(\mathbb{N}^{k+1} / \sigma\). A presentation for \(S\) is a subset \(\rho\) of \(\sigma\) such that \(\sigma\) is the least congruence (with respect to set inclusion) containing \(\rho\). A minimal presentation is a presentation that is minimal with respect to set inclusion. It turns out that the set of Betti elements is also helpful in finding minimal presentations.

We will describe a process to find all minimal presentations of \(S\). Let \(\mathcal{R}_1, \dots, \mathcal{R}_l\) be the different \(\mathcal{R}\)-classes of \(\varphi^{-1}(b)\) for some \(b \in \text{Betti}(S)\). We choose \(v_i \in \mathcal{R}_i\) for each \(i \in \{1,\dots,l\}\). Consider \(\rho_b\) to be any set of \(l-1\) pairs of elements in \(\{v_1, \dots, v_l\}\) such that the graph with vertices \(\{v_1, \dots, v_l\}\), having an edge between \(v_i\) and \(v_j\) if and only if \((v_i,v_j)\) or \((v_j,v_i)\) is in \(\rho_b\), is connected.

Theorem 9. [33] The set \(\rho = \bigcup_{b \in \text{Betti}(S)} \rho_b\) is a minimal presentation and every minimal presentation is of this form.

3.2 Finding Betti elements↩︎

Let \(S = \langle d_0,d_1,d_2,d_3 \rangle\) be a numerical semigroup with embedding dimension four. Let \(a_{ij}, b_{ij}\), for \(i,j \in \{0,1,2,3\}\), be the coefficients of the minimal and \(d_0\)-positive minimal relations, as in Section 2.

Suppose that \(a_{ii} = b_{ii}\) for at least two distinct indices \(i \in \{1,2,3\}\). This means that we can choose the coefficients \(a_{ij}\) such that \[\label{catenary95assumption} \text{at most one of} \;\{a_{10},a_{20},a_{30}\} \;\text{is equal to 0}.\tag{22}\] Let \(T\) be the \(L\)-shape from Proposition 2. Let \(V\) be a minimal set of points \((x,y,z) \in \mathbb{Z}^3\) such that \(xd_1 + yd_2 +zd_3\) is a nonnegative multiple of \(d_0\) and after removing from the initial collection of cubes the regions associated to those points, we obtain \(T\). Define \[U = \{ \max\{ x,0\} d_1 + \max\{y,0\}d_2 + \max\{z,0\}d_3 \mid (x,y,z) \in V \}.\]

Figure 3: For \langle 103,133,165,228\rangle (see Fig. 2), U is the set of labels of the cubes in red

Lemma 5. Assume that 22 holds. If \(b \in \text{Betti}(S)\) labels a cube in \(T\), then \(b \in U\).

Proof. Consider the factorization \(z_0 =(0,\lambda_1,\lambda_2, \lambda_3) \in \varphi^{-1}(b)\), with \([[\lambda_1,\lambda_2,\lambda_3]] \in T\). Let \((\lambda_0',\lambda_1',\lambda_2', \lambda_3')\) be a different factorization of \(b\). We get \[\label{betticharacter95eq0} (\lambda_1-\lambda_1')d_1 + (\lambda_2-\lambda_2')d_2 + (\lambda_3-\lambda_3')d_3 = \lambda_0'd_0.\tag{23}\]

If all coefficients on the left-hand side are nonnegative, we also clearly have \(\lambda_0'>0\), as the two factorizations are distinct. This contradicts \([[\lambda_1,\lambda_2,\lambda_3]] \in T\) by Lemma 1.

Next, suppose that exactly one coefficient on the left-hand side of 23 is nonnegative, and, without loss of generality, assume that every coefficient below is nonnegative. \[\label{betticharacter95eq00} (\lambda_1-\lambda_1')d_1 = \lambda_0'd_0 + (\lambda_2'-\lambda_2)d_2 + (\lambda_3'-\lambda_3)d_3.\tag{24}\] This gives \(a_{11} \leq (\lambda_1-\lambda_1') \leq \lambda_1\), which contradicts \([[\lambda_1,\lambda_2,\lambda_3]] \in T\).

Hence, exactly two coefficients on the left-hand side of 23 are nonnegative, and, without loss of generality, assume that every coefficient below is nonnegative. \[\label{betticharacter95eq01} (\lambda_1-\lambda_1')d_1 + (\lambda_2-\lambda_2')d_2 = \lambda_0'd_0 + (\lambda_3'-\lambda_3)d_3.\tag{25}\] If \(\lambda_0'>0\), by Lemma 1, we get a contradiction with \([[\lambda_1,\lambda_2,\lambda_3]] \in T\), hence \(\lambda_0'=0\). This means that for all \(z \in \varphi^{-1}(b)\) we have \(0 \notin \text{supp}(z)\), as \((\lambda_0',\lambda_1',\lambda_2', \lambda_3') \in \varphi^{-1}(b)\) was chosen arbitrarily.

Let \(z=(0,\mu_1, \mu_2, \mu_3) \in \varphi^{-1}(b)\) be a factorization that is not \(\mathcal{R}\)-related to \(z_0\). Repeating the same consideration as for \((\lambda_0',\lambda_1',\lambda_2', \lambda_3')\), we can, without loss of generality, suppose that \(\lambda_1 \geq \mu_1\), \(\lambda_2 \geq \mu_2\), \(\lambda_3 < \mu_3\). This implies \(\mu_1, \mu_2, \lambda_3 =0\), as otherwise \(z \, \mathcal{R} \, z_0\). Hence \[\label{betticharacter95eq03} b= \lambda_1d_1 + \lambda_2d_2 = \mu_3d_3,\tag{26}\] with \(\lambda_1, \lambda_2, \mu_3> 0\) — if \(\lambda_1 =0\) or \(\lambda_2 = 0\), we derive a contradiction as for 24 . If \(\mu_3 > a_{33}\), we could write \(b = a_{30}d_0 + a_{31}d_1 + a_{32}d_2 + (\mu_3-a_{33})d_3\), where \(a_{30} = 0\) by what was proved before. Hence \(\max \{a_{31},a_{32}\} > 0\), which implies \(z_0 \, \mathcal{R} \, (0,a_{31},a_{32},\mu_3-a_{33}) \, \mathcal{R} \,z\), which is a contradiction. Thus \(\mu_3 = a_{33}\) and \(b = a_{33}d_3\), so \(b \in U\). ◻

Theorem 10. Assume that 22 holds. Then the whole set \(\mathrm{Betti}(S)\) is contained in \(U\).

Proof. Suppose that there exists an element \(b \in \text{Betti}(S)\) that is not in \(U\). There must exist a factorization \(z_0 =(0,\kappa_1,\kappa_2,\kappa_3) \in \varphi^{-1}(b)\); otherwise, if every factorization \(z \in \varphi^{-1}(b)\) had \(0 \in \text{supp}(z)\), then all factorizations would be \(\mathcal{R}\)-related, which cannot happen for a Betti element. By Lemma 5, we have \([[\kappa_1,\kappa_2,\kappa_3]] \notin T\), hence \([[\kappa_1,\kappa_2,\kappa_3]]\) is in the region associated to some point \(P \in V\).

  • If \(P =(-\lambda_1,\lambda_2,\lambda_3)\), where \[\label{betticharacter95eq1} \lambda_0d_0 + \lambda_1d_1 = \lambda_2d_2 + \lambda_3d_3,\tag{27}\] and \(\lambda_i \in \mathbb{Z}_{>0}\) for \(i =0,1,2,3\), we get \[\label{betticharacter95eq10} b =\lambda_0d_0 + (\lambda_1+\delta_1)d_1 + \delta_2d_2 + \delta_3d_3 = \delta_1d_1 + (\lambda_2+\delta_2)d_2 + (\lambda_3+\delta_3)d_3,\tag{28}\] for some \(\delta_i \in \mathbb{N}\) with \(\max \{\delta_1,\delta_2,\delta_3\} > 0\). The factorizations \(z_1 =(\lambda_0,\lambda_1+\delta_1,\delta_2,\delta_3)\) and \(z_2 =(0, \delta_1,\lambda_2+\delta_2,\lambda_3+\delta_3)\) have a nonempty intersection of supports, and hence they are \(\mathcal{R}\)-related. Moreover, we have \(0,1,2,3 \in \mathrm{supp}(z_1) \cup \mathrm{supp}(z_2)\), so every factorization of \(b\) will be \(\mathcal{R}\)-related to \(z_1\) and \(z_2\). This contradicts \(b \in \text{Betti}(S)\), as it must have at least two different \(\mathcal{R}\)-classes.

    The cases \(P=(\lambda_1,-\lambda_2,\lambda_3)\) and \(P=(\lambda_1,\lambda_2,-\lambda_3)\) follow analogously.

  • If \(P =(a_{01},a_{02},a_{03})\), where \[\label{betticharacter95eq2} a_{00}d_0 = a_{01}d_1 + a_{02}d_2 + a_{03}d_3,\tag{29}\] and \(a_{01},a_{02},a_{03} \in \mathbb{N}\), we get \[\label{betticharacter95eq3} b =a_{00}d_0 + \delta_1d_1 + \delta_2d_2 + \delta_3d_3 = (a_{01}+\delta_1)d_1 + (a_{02}+\delta_2)d_2 + (a_{03}+\delta_3)d_3,\tag{30}\] for some \(\delta_i \in \mathbb{N}\) with \(\max \{\delta_1,\delta_2,\delta_3\} > 0\). Without loss of generality, suppose that \(\delta_1 > 0\). The factorizations \(z_1 =(a_{00},\delta_1,\delta_2,\delta_3)\) and \(z_2 =(0,a_{01}+\delta_1,a_{02}+\delta_2,a_{03}+\delta_3)\) have a nonempty intersection of supports, and hence they are \(\mathcal{R}\)-related. Because \(b \in \text{Betti}(S)\), there exists a factorization \(z \in \varphi^{-1}(b)\) which is not \(\mathcal{R}\)-related to them. As \(a_{00},\delta_1 >0\), we have \(0,1 \notin \text{supp}(z)\).

    First, suppose that \(z = (0,0,\mu_2,\mu_3)\) where \(\mu_2,\mu_3>0\). This implies \(z_1 = (a_{00},\delta_1,0,0 )\) and \(z_2 =(0,a_{01}+\delta_1,0,0)\). If \(\mu_2 \geq a_{22}\), we can write \[\label{betticharacter95eq40} b =\mu_2d_2 + \mu_3d_3 = a_{20}d_0 + a_{21}d_1 +(\mu_2-a_{22})d_2 + (\mu_3+a_{23})d_3.\tag{31}\] If \(a_{20}>0\) or \(a_{21}>0\), then \(z_1 \, \mathcal{R} \,(a_{20},a_{21},\mu_2-a_{22},\mu_3+a_{23}) \, \mathcal{R} \, z\), which is a contradiction. Hence \(a_{20},a_{21}=0\) and \(a_{22}d_2 = a_{23}d_3\), which implies \(a_{23} \geq a_{33}\). We obtain \[\label{betticharacter95eq401} b= a_{30}d_0 + a_{31}d_1 + (\mu_2-a_{22} + a_{32})d_2 + (\mu_3+a_{23}-a_{33})d_3,\tag{32}\] and, as in 31 , this yields \(a_{30},a_{31}=0\). Since now \(a_{20},a_{30} =0\), we get a contradiction with 22 . If \(\mu_3 \geq a_{33}\) we get the same contradiction.

    Thus \(\mu_2 < a_{22}\) and \(\mu_3 < a_{33}\). Consider the cube \([[0,\mu_2,\mu_3]]\). If it is in \(T\), then \(b \in U\) by Lemma 5. Hence \([[0,\mu_2,\mu_3]]\) is in the region associated to a point \(Q \in V\).

    As \(\mu_2 < a_{22}\) and \(\mu_3 < a_{33}\), we have \(Q =(-\nu_1,\nu_2,\nu_3)\), where \[\label{betticharacter95eq41} - \nu_1d_1 + \nu_2d_2 + \nu_3d_3 = \nu_0d_0,\tag{33}\] \(\nu_0,\nu_2,\nu_3 \in \mathbb{Z}_{>0}\), \(\nu_1 \in \mathbb{N}\) (possibly \(\nu_1=0\)) and \(\mu_2 \geq \nu_2\), \(\mu_3 \geq \nu_3\). We can write \[\label{betticharacter95eq42} b = \nu_0d_0 + \nu_1d_1 + (\mu_2-\nu_2)d_2 + (\mu_3-\nu_3)d_3.\tag{34}\] We have \(\max \{\mu_2-\nu_2,\mu_3-\nu_3 \}>0\), as \(b \notin U\), hence \(z \, \mathcal{R} \, (\nu_0,\nu_1,\mu_2-\nu_2,\mu_3-\nu_3) \, \mathcal{R} \, z_1\), which is a contradiction.

    Next, suppose that \(z = (0,0,\mu_2,0)\). If \(\mu_2 = a_{22}\), we would have \(b = a_{22}d_2 \in U\), so \(\mu_2 > a_{22}\). We can write \[\label{betticharacter95eq6} b=\mu_2d_2 = a_{20}d_0 + a_{21}d_1 + (\mu_2-a_{22})d_2 + a_{23}d_3.\tag{35}\] Because \((\mu_2-a_{22}) > 0\), we have \(z \, \mathcal{R} \, (a_{20},a_{21},\mu_2-a_{22},a_{23})\). Since \(z\) is not \(\mathcal{R}\)-related to \(z_1\), we have \(a_{20} = a_{21} = 0\) (recall \(a_{00},\delta_1 >0\)). This gives the factorization \((0,0,\mu_2-a_{22},a_{23}) \in \varphi^{-1}(b)\) that has \((\mu_2-a_{22}),a_{23} > 0\) and which is not \(\mathcal{R}\)-related to \(z_1\) nor \(z_2\), as it is \(\mathcal{R}\)-related to \(z\). Thus, we can proceed as in the case \(z =(0,0,\mu_2,\mu_3)\).

    The case \(z = (0,0,0,\mu_3)\) follows analogously.

  • If \(P =(a_{11},-a_{12},-a_{13})\), where \[a_{11}d_1 = a_{10}d_0 + a_{12}d_2 + a_{13}d_3,\] and \(a_{10},a_{12},a_{13} \in \mathbb{N}\), we get \[\label{betticharacter95eq8} b = (a_{11}+\delta_1)d_1 + \delta_2d_2 + \delta_3d_3 = a_{10}d_0 + \delta_1d_1+ (a_{12}+\delta_2)d_2 + (a_{13}+\delta_3)d_3,\tag{36}\] for some \(\delta_i \in \mathbb{N}\) with \(\max \{\delta_1,\delta_2,\delta_3\} > 0\). The factorizations \(z_1 =(0,a_{11} +\delta_1,\delta_2,\delta_3)\) and \(z_2 =(a_{10},\delta_1,a_{12}+\delta_2,a_{13}+\delta_3)\) have a nonempty intersection of supports, and hence they are \(\mathcal{R}\)-related. Because \(b \in \text{Betti}(S)\), there exists a factorization \(z \in \varphi^{-1}(b)\) that is not \(\mathcal{R}\)-related to them.

    If \(a_{12} = a_{13} = 0\), we get \(P = (a_{11},0,0)\), so we are in the case \(P = (a_{01},a_{02},a_{03})\) and we can proceed analogously as there.

    If \(a_{12},a_{13}>0\), then \(1,2,3 \in \mathrm{supp}(z_1) \cup \mathrm{supp}(z_2)\) and thus \(z = (\mu_0,0,0,0)\). If \(\mu_0 = a_{00}\), we would have \(b = a_{00}d_0 \in U\), hence \(\mu_0 > a_{00}\). We have \(z \, \mathcal{R} \, (\mu_0-a_{00}, a_{01}, a_{02}, a_{03}) \, \mathcal{R} \, z_1 \, \mathcal{R} \, z_2\), since \(\max\{a_{01}, a_{02}, a_{03}\} > 0\), which gives a contradiction.

    Thus, without loss of generality, we can assume \(a_{12}>0, a_{13} = 0\).

    If \(a_{10}>0\), then \(0,1,2 \in \mathrm{supp}(z_1) \cup \mathrm{supp}(z_2)\) and thus \(z = (0,0,0,\mu_3)\). If \(\mu_3 = a_{33}\), we would have \(b = a_{33}d_3 \in U\), hence \(\mu_3 > a_{33}\). We have \(z \, \mathcal{R} \, (a_{30},a_{31},a_{32},\mu_3-a_{33}) \, \mathcal{R} \, z_1 \, \mathcal{R} \, z_2\), since \(\max\{a_{30},a_{31},a_{32}\}>0\), which is a contradiction.

    Consequently, \[\label{betticharacter95eq81} \text{for all} \;(a_{10},a_{12},a_{13}) \in \mathbb{N}^3 \;\text{satisfying} \;a_{11}d_1 = a_{10}d_0 + a_{12}d_2 + a_{13}d_3, \;\text{we have} \;a_{10}=0.\tag{37}\] We also have \(a_{11}d_1 = a_{12}d_2\) (recall that we have assumed \(a_{13} = 0\)), which implies \(a_{12} \geq a_{22}\). This gives \[\label{betticharacter95eq9} a_{11}d_1 = a_{20}d_0 + a_{21}d_1 + (a_{12}-a_{22})d_2 + a_{23}d_3,\tag{38}\] which implies \(a_{20}=0\) by 37 (we also have \(a_{21} = 0\) in 38 , by the minimality of \(a_{11}\)). Since now \(a_{10},a_{20} = 0\), we get a contradiction with 22 .

    The cases \(P = (-a_{21},a_{22},-a_{23})\) and \(P = (-a_{31},-a_{32},a_{33})\) follow analogously, and the claim follows.

 ◻

Remark 11. There exists a weaker version of Theorem 10 that works for all numerical semigroups with arbitrary embedding dimension. Let \(b \in \mathrm{Betti}(\langle d_0, \dots, d_k \rangle)\). Then for any index \(i \in \{0,\dots,k\}\), there exists an element \(s_i \in \mathrm{Ap}(\langle d_0, \dots, d_k \rangle,d_i)\) and an index \(j \neq i\), \(j\in \{0,\dots,k\}\), such that \(b = s_i + d_j\). See [33] or [22].

In order to determine the catenary degree, the minimal presentation, and the set of Betti elements inside \(U\), we will need additional lemmas. The following lemma implies that the common value of every minimal relation is a Betti element.

Lemma 6. For any \(i \in \{0,1,2,3\}\) and \((\mu_0,\mu_1,\mu_2,\mu_3) \in \varphi^{-1}( a_{ii}d_i)\) we have \(\mu_i = 0\) or \(\mu_i = a_{ii}\) and \(\mu_j = 0\) for all \(j \in \{0,1,2,3\} \setminus \{i\}\).

Proof. Without loss of generality, suppose \(i=0\). We obtain \[\label{lemma95catenary295eq1} (a_{00}-\mu_0)d_0 = \mu_1d_1 + \mu_2d_2 + \mu_3d_3.\tag{39}\] The right-hand side is clearly nonnegative. If \((a_{00}-\mu_0) = 0\), we also have \(\mu_1 =\mu_2 =\mu_3 = 0\). If \((a_{00}-\mu_0) > 0\), then the minimality of \(a_{00}\) implies \(\mu_0 = 0\). ◻

Lemma 7. Assume that 22 holds. If \((-\lambda_1,\lambda_2,\lambda_3) \in V\) satisfies \[\lambda_0d_0 + \lambda_1d_1 = \lambda_2d_2 + \lambda_3d_3,\] with \(\lambda_i \in \mathbb{Z}_{>0}\) and \(a_{00}>\lambda_0\), then for any \((\mu_0,\mu_1,\mu_2,\mu_3) \in \varphi^{-1}(\lambda_0d_0 + \lambda_1d_1)\), we have \((\mu_0,\mu_1,\mu_2,\mu_3) = (0,0,\lambda_2,\lambda_3)\) or \(\mu_2=\mu_3 = 0\). An analogous statement holds for \((\lambda_1,-\lambda_2,\lambda_3)\) and \((\lambda_1,\lambda_2,-\lambda_3) \in V\).

Proof. Note that \(a_{22} > \lambda_2\) and \(a_{33} > \lambda_3\) from the definition of \(V\).

Suppose \(\mu_0>0\). If \(\mu_2 > 0\), then by Lemma 1, no element of the Apéry set is a label in the region associated to \((-\mu_1,\lambda_2-\mu_2,\lambda_3-\mu_3)\). This is a contradiction, as \([[0,\lambda_2-1, \lambda_3]] \in T\). If \(\mu_3 > 0\), we get the same contradiction, hence \(\mu_2=\mu_3 = 0\).

Thus, suppose \(\mu_0 = 0\). If \(\mu_2 \geq \lambda_2\), then we get \[\label{lemma95catenary395eq1} (\lambda_3-\mu_3)d_3=\mu_1d_1 + (\mu_2 - \lambda_2)d_2,\tag{40}\] where all coefficients above are nonnegative. If \((\lambda_3-\mu_3) > 0\), we get a contradiction with \(a_{33} > \lambda_3\), hence \((\lambda_3-\mu_3) = 0\), which gives \((\mu_0,\mu_1,\mu_2,\mu_3) = (0,0,\lambda_2,\lambda_3)\). If \(\mu_3 \geq \lambda_3\), we get the same thing; therefore, suppose that \(\mu_2 < \lambda_2\) and \(\mu_3 < \lambda_3\). We have \[\label{lemma95catenary395eq2} \lambda_0d_0 + (\lambda_1-\mu_1)d_1 = \mu_2d_2 + \mu_3d_3.\tag{41}\] If \((\lambda_1-\mu_1) \leq 0\), we get a contradiction with \(a_{00} > \lambda_0\), hence \((\lambda_1-\mu_1) > 0\). Since \(\lambda_0>0\), according to Lemma 1, no element of the Apéry set is a label in the region associated to \((\mu_1 - \lambda_1,\mu_2,\mu_3)\). This is a contradiction, as \([[0,\lambda_2-1,\lambda_3-1]] \in T\).

An analogous argument applies to \((\lambda_1,-\lambda_2,\lambda_3)\) and \((\lambda_1,\lambda_2,-\lambda_3) \in V\). ◻

Lemma 8. Assume that 22 holds. If \((-\lambda_1,\lambda_2,\lambda_3) \in V\) satisfies \[\lambda_0d_0 + \lambda_1d_1 = \lambda_2d_2 + \lambda_3d_3,\] with \(\lambda_i \in \mathbb{Z}_{>0}\), \(a_{00}>\lambda_0\), and \(a_{11} > \lambda_1\), then \(\varphi^{-1}(\lambda_0d_0 + \lambda_1d_1) = \{(\lambda_0,\lambda_1,0,0), (0,0,\lambda_2,\lambda_3) \}\). An analogous statement holds for \((\lambda_1,-\lambda_2,\lambda_3)\) and \((\lambda_1,\lambda_2,-\lambda_3) \in V\).

Proof. Note that \(a_{22} > \lambda_2\) and \(a_{33} > \lambda_3\) from the definition of \(V\). Suppose that there exists a third factorization \((\mu_0,\mu_1,\mu_2,\mu_3) \in \varphi^{-1}(\lambda_0d_0 + \lambda_1d_1)\).

By Lemma 7, we have \(\mu_2 = \mu_3 = 0\). If \(\lambda_0 \geq \mu_0\), we get \[\label{lemma95catenary195eq1} (\lambda_0- \mu_0) d_0 = (\mu_1 - \lambda_1)d_1,\tag{42}\] where all coefficients above are nonnegative. In fact, they are positive, as otherwise \((\mu_0,\mu_1,\mu_2,\mu_3) = (\lambda_0,\lambda_1,0,0)\). This contradicts \(a_{00}>\lambda_0\). If \(\lambda_0 < \mu_0\), we have \(\lambda_1 > \mu_1\), and we get a contradiction with \(a_{11}>\lambda_1\).

An analogous argument applies to \((\lambda_1,-\lambda_2,\lambda_3)\) and \((\lambda_1,\lambda_2,-\lambda_3) \in V\). ◻

Lemma 9. Assume that 22 holds. Consider \((-\lambda_1,\lambda_2,\lambda_3) \in V\) satisfying \[\lambda_0d_0 + \lambda_1d_1 = \lambda_2d_2 + \lambda_3d_3,\] with \(\lambda_i \in \mathbb{Z}_{>0}\), and \(\lambda_0 \geq a_{00}\) or \(\lambda_1 \geq a_{11}\). If \(a_{00}d_0 \neq a_{11}d_1\), then \(\lambda_0d_0 + \lambda_1d_1 \notin \mathrm{Betti}(S)\). Otherwise, if \(a_{00}d_0 = a_{11}d_1\), then \(\lambda_0d_0 + \lambda_1d_1 \in \mathrm{Betti}(S)\) and \(\varphi^{-1}(\lambda_0d_0 + \lambda_1d_1) = \mathcal{F}\), where \[\mathcal{F} = \{(0,0,\lambda_2,\lambda_3)\} \cup \{(\lambda_0 + \lambda a_{00},\lambda_1 - \lambda a_{11},0,0) \mid \lambda \in \mathbb{Z}, \lambda_0 + \lambda a_{00} \geq 0, \lambda_1 - \lambda a_{11} \geq 0 \} .\] An analogous statement holds for \((\lambda_1,-\lambda_2,\lambda_3)\) and \((\lambda_1,\lambda_2,-\lambda_3) \in V\).

Proof. Note that \(a_{22} > \lambda_2\) and \(a_{33} > \lambda_3\) from the definition of \(V\).

Suppose \(a_{00}d_0 \neq a_{11}d_1\) and \(\lambda_0 \geq a_{00}\). If \(\max \{a_{02},a_{03}\} > 0\), then \[(\lambda_0,\lambda_1,0,0) \, \mathcal{R} \, (\lambda_0 - a_{00},\lambda_1 + a_{01},a_{02},a_{03}) \, \mathcal{R} \, (0,0,\lambda_2,\lambda_3),\] which results in only one \(\mathcal{R}\)-class. If \(a_{02}=a_{03}=0\), then \(a_{00}d_0 = a_{01}d_1\) with \(a_{01} > a_{11}\) (as \(a_{00}d_0 \neq a_{11}d_1\)). Also, we have \(a_{10} = 0\), because otherwise we would get a contradiction with the minimality of \(a_{00}\). This implies \(\max \{a_{12},a_{13}\} > 0\) and hence \[(\lambda_0,\lambda_1,0,0) \, \mathcal{R} \, (\lambda_0 - a_{00},\lambda_1 + a_{01},0,0) \, \mathcal{R} \, (\lambda_0 - a_{00},\lambda_1 + a_{01}-a_{11},a_{12},a_{13}) \, \mathcal{R} \, (0,0,\lambda_2,\lambda_3),\] which results in only one \(\mathcal{R}\)-class. If \(a_{00}d_0 \neq a_{11}d_1\) and \(\lambda_0 < a_{00}\), then \(\lambda_1 \geq a_{11}\) and we can apply the same argument as above. Thus, the first result follows.

Suppose \(a_{00}d_0 = a_{11}d_1\). Clearly \(\mathcal{F} \subseteq \varphi^{-1}(\lambda_0d_0 + \lambda_1d_1)\). Suppose that there exists \((\mu_0,\mu_1,\mu_2,\mu_3) \in \varphi^{-1}(\lambda_0d_0 + \lambda_1d_1)\) with \((\mu_0,\mu_1,\mu_2,\mu_3) \notin \mathcal{F}\). As \((\mu_0,\mu_1,\mu_2,\mu_3) \neq (0,0,\lambda_2,\lambda_3)\), we have \(\mu_2=\mu_3 = 0\), by Lemma 7 (we can apply this lemma, because in \(\mathcal{F}\), there exists a factorization that satisfies its assumptions). Then, as \((\mu_0,\mu_1,0,0) \notin \mathcal{F}\), we can find \(\mu \in \mathbb{Z}\) such that \(\lambda_0 + a_{00} > \mu_0 + \mu a_{00} > \lambda_0\). This gives \[\lambda_0d_0 + \lambda_1d_1 = (\mu_0 + \mu a_{00})d_0 + (\mu_1 - \mu a_{11})d_1 \implies (\mu_0 + \mu a_{00} - \lambda_0)d_0 = (\lambda_1 - \mu_1 + \mu a_{11})d_1,\] which contradicts \(a_{00} > (\mu_0 + \mu a_{00} - \lambda_0) > 0\).

An analogous argument applies to \((\lambda_1,-\lambda_2,\lambda_3)\) and \((\lambda_1,\lambda_2,-\lambda_3) \in V\). ◻

Lemmas 8 and 9 determine which elements of \(U\) that arise from equations of the form \(\lambda_0d_0 + \lambda_id_i = \lambda_jd_j + \lambda_k d_k\) are Betti elements. Moreover, they provide their corresponding sets of factorizations. In combination with Lemma 6, we obtain a precise description of which elements of \(U\) belong to \(\mathrm{Betti}(S)\). However, Lemma 6 does not determine the sets \(\varphi^{-1}(a_{ii}d_i)\). As we will see in Sections 4 and 5, this will not be an obstacle when determining the catenary degree and the minimal presentation.

Remark 12. The procedure from Section 2 retrieves \(a_{11},a_{22},a_{33}\) via Proposition 5, but does not immediately yield \(a_{00}\). By Lemma 6, \(a_{00}d_0 \in \mathrm{Betti}(S)\), and since \(\mathrm{Betti}(S) \subseteq U\) by Theorem 10, we have \(a_{00}d_0 \in U\). Thus, \(a_{00}\) can be identified as the smallest \(\lambda \in \mathbb{Z}_{>0}\) such that \(\lambda d_0 \in U\). To verify membership in \(U\): for elements of the form \(a_{ii}d_i\), \(i \in \{1,2,3\}\), one checks whether they are divisible by \(d_0\); for elements that arise from equations of the form \(\lambda_0d_0 + \lambda_id_i = \lambda_jd_j + \lambda_k d_k\), their sets of factorizations are determined by Lemmas 8 and 9, and can be inspected directly; and all other elements of \(U\) are just equal to \(a_{00}d_0\) by Theorem 1.

4 Four consecutive squares↩︎

In this section, we will find the Frobenius number, the genus, the set of Betti elements, the catenary degree, and a minimal presentation of the numerical semigroup generated by four consecutive squares; \(S = \langle n^2,(n+1)^2,(n+2)^2,(n+3)^2 \rangle\). We will use the methods developed in Sections 2 and 3, where we put \((d_0,d_1,d_2,d_3)=(n^2,(n+1)^2,(n+2)^2,(n+3)^2)\).

We will call \(T\) the figure that will be obtained by removing regions from the initial collection of cubes in each case of \(n \pmod{12}\). The cubes of \(T\) will be labeled (as always), where the cube \([[a,b,c]]\) will be labeled with \(ad_1 + bd_2 + cd_3\). We will know that the set of labels of \(T\) is the Apéry set with respect to \(d_0 = n^2\) after we calculate that \(T\) has exactly \(d_0 = n^2\) cubes. Since we have the formula \(F(S) = \max\{\text{Ap}(S,a) \}- a\), in order to compute the Frobenius number, we need to find the largest label in \(T\). In addition, the formula \(G(S) = \frac{1}{a} \left( \sum_{s \in \text{Ap}(S,a)} s \right) - \frac{a-1}{2}\) reduces the search for the genus to finding the sum of labels in \(T\).

We sum up the results of this section in Corollaries 13-16.

4.1 \(n=12k, \;k>1\)↩︎

4.1.1 Apéry set↩︎

We have the following: \[\begin{align} (7k+2)(12k)^2 &= 2(12k+1)^2 + (3k-5)(12k+2)^2 + (4k+2)(12k+3)^2, \tag{43} \\ (6k+4)(12k+1)^2 &= 1(12k)^2 + 1(12k+2)^2 + 6k(12k+3)^2, \tag{44} \\ 9k(12k+2)^2 &= (5k+1)(12k)^2 + 0(12k+1)^2 + 4k(12k+3)^2, \tag{45}\\ (6k+1)(12k+3)^2 &= 0(12k)^2 + (6k+1)(12k+1)^2 + 2(12k+2)^2, \tag{46} \end{align}\] By Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (7k+1)(12k)^2 + (12k+1)^2 &= (3k-2)(12k+2)^2 + (4k+1)(12k+3)^2,\tag{47}\\ (12k)^2 + 3(12k+2)^2 &= 3(12k+1)^2 + (12k+3)^2,\tag{48}\\ (7k+2)(12k)^2 + (2k-1)(12k+3)^2 &= (6k+3)(12k+1)^2 + (3k-3)(12k+2)^2. \tag{49} \end{align}\]

Subtracting equation 48 from 47 , we obtain additional \(2k\) relations: \[\label{12k952kequations951} \begin{align} (7k)(12k)^2 + 4(12k+1)^2 &= (3k+1)(12k+2)^2 + (4k)(12k+3)^2 ,\\ (7k-1)(12k)^2 + 7(12k+1)^2 &= (3k+4)(12k+2)^2 + (4k-1)(12k+3)^2 ,\\ &\vdots \\ (5k+2)(12k)^2 + (6k-2)(12k+1)^2 &= (9k-5)(12k+2)^2 + (2k+2)(12k+3)^2 ,\\ (5k+1)(12k)^2 + (6k+1)(12k+1)^2 &= (9k-2)(12k+2)^2 + (2k+1)(12k+3)^2 . \end{align}\tag{50}\] We could subtract equation 48 again from the above, and the resulting point will delete the region \(\{y > 9k+1, z > 2k\}\). This region is already deleted by 45 (the region \(\{y > 9k\}\) is already gone).

Similarly, we can subtract equation 48 from 49 and obtain further \(2k\) relations: \[\label{12k952kequations952} \begin{align} (7k+1)(12k)^2 + (2k)(12k+3)^2 &= (6k)(12k+1)^2 + (3k)(12k+2)^2,\\ (7k)(12k)^2 + (2k+1)(12k+3)^2 &= (6k-3)(12k+1)^2 + (3k+3)(12k+2)^2,\\ (7k-1)(12k)^2 + (2k+2)(12k+3)^2 &= (6k-6)(12k+1)^2 + (3k+6)(12k+2)^2,\\ &\vdots\\ (5k+3)(12k)^2 + (4k-2)(12k+3)^2 &= 6(12k+1)^2 + (9k-6)(12k+2)^2, \\ (5k+2)(12k)^2 + (4k-1)(12k+3)^2 &= 3(12k+1)^2 + (9k-3)(12k+2)^2. \\ \end{align}\tag{51}\] We do not need to subtract anymore because the resulting points will have \(y \geq 9k\), which is already taken care of by 45 .

Now we will calculate the volume of the figure \(T\), which is carved out using all the above equations. Firstly, consider the figure carved out only by 44 , 45 , 46 and 48 . It will have the volume \[\label{12kvol1} (6k+4) \cdot 9k + 3 \cdot 9k \cdot 6k = 216 k^2 + 36 k,\tag{52}\] where the first summand is the volume of the \((6k+4) \times 9k \times 1\) bottom layer and the second summand is the rest, which will be a \(3 \times 9k \times 6k\) box. Now, we will see how many cubes are deleted from the aforementioned figure, by equation 49 and equations 51 . They will remove a section of stairs from the bottom layer (see Figure 4). It has the volume \[\label{12kvol2} \frac{(6k+3)(6k+2)}{2} = 18 k^2 + 15 k + 3.\tag{53}\] Lastly, equations 43 , 47 , and 50 will further remove the volume \[\label{12kvol3} 3 \cdot 2 \cdot 4k + 3 \cdot \frac{6k(6k-1)}{2} + 3 \cdot (2k-1) = 54 k^2 + 21 k - 3,\tag{54}\] where the first summand is the \(3 \times 2 \times 4k\) strip, removed by the region associated to \((-(6k+1),9k-2,2k+1)\), the second summand is the volume removed by the stairs with step \(3 \times 1\) produced by 47 and the rest of 50 , and the final part is lastly removed by 43 . The volume of \(T\) comes down to \[\label{12kvol4} 216 k^2 + 36 k - (18 k^2 + 15 k + 3) - ( 54 k^2 + 21 k - 3) = 144k^2.\tag{55}\] Because the volume of \(T\) is exactly \((12k)^2\), it is an \(L\)-shape.

Figure 4: the figure T for n=12k and k=3

4.1.2 Frobenius number↩︎

\(F(S)+(12k)^2\) is equal to the largest label in \(T\). It clearly labels one of the corners of \(T\) — the cubes that have exactly three of their faces visible, when looking at the figure from the first octant.

First, the corners of the bottom stairs of \(T\), from left to right, have labels: \[\begin{align} (6k+3)(12k+1)^2 +(3k-4)(12k+2)^2 &= 1296 k^3 + 144 k^2 - 102 k - 13,\\ (6k+2)(12k+1)^2 +(3k-1)(12k+2)^2 &= 1296 k^3 + 432 k^2 + 18 k - 2,\\ (6k-1)(12k+1)^2 +(3k+2)(12k+2)^2 &= 1296 k^3 + 432 k^2 + 90 k + 7,\\ &\vdots \\ 8(12k+1)^2 +(9k-7)(12k+2)^2 &=1296 k^3 + 576 k^2 - 108 k - 20,\\ 5(12k+1)^2 +(9k-4)(12k+2)^2 &= 1296 k^3 + 576 k^2 - 36 k - 11. \end{align}\] The labels of the corners of the right stairs of \(T\), listed from bottom to top, are: \[\begin{align} 2(12k+1)^2 +(9k-1)(12k+2)^2 +(2k) (12k+3)^2 &=1584 k^3 + 720 k^2 + 54 k - 2,\\ 2(12k+1)^2 +(9k-3)(12k+2)^2 +(2k+1) (12k+3)^2 &=1584 k^3 + 576 k^2 + 30 k - 1,\\ 2(12k+1)^2 +(9k-6)(12k+2)^2 +(2k+2) (12k+3)^2 &=1584 k^3 + 288 k^2 - 42 k - 4, \\ &\vdots \\ 2(12k+1)^2 +(3k)(12k+2)^2 +(4k) (12k+3)^2 &=1008 k^3 + 720 k^2 + 96 k + 2,\\ 2(12k+1)^2 +(3k-3)(12k+2)^2 +(4k+1) (12k+3)^2 &=1008 k^3 + 432 k^2 + 24 k - 1. \end{align}\] Finally, the last two corners of the top layer of \(T\) have labels: \[\begin{align} 2(12k+1)^2 +(3k-6)(12k+2)^2 +(6k) (12k+3)^2 &= 1296 k^3 - 174 k - 22,\\ (12k+1)^2 + (3k-3)(12k+2)^2 +(6k) (12k+3)^2 &=1296 k^3 + 288 k^2 - 54 k - 11. \end{align}\] The value \(1584 k^3 + 720 k^2 + 54 k - 2\) is the largest from above and is equal to \(F(S)+(12k)^2\). This gives \[F(S) = 1584 k^3 + 576 k^2 + 54 k - 2.\]

4.1.3 Genus↩︎

Next, in order to find \(G(S)\), we have to find the sum of the labels in \(T\). To accomplish that, we will use the previously found corners.

The whole calculation is tedious, so we will split it into smaller parts. Specifically, as we will be adding numbers from \(\langle (12k+1)^2,(12k+2)^2,(12k+3)^2 \rangle\) we can separately find how many times we will be adding each of the numbers \((12k+1)^2,(12k+2)^2,(12k+3)^2\) — i.e. we will separately find the sum of \(x\)-, \(y\)- and \(z\)-coordinates of the cubes of \(T\). Furthermore, we will look at \(T\) in sections similarly as we did when computing its volume.

First, we can use the corners from the bottom stairs of \(T\), to find for each of them the sum of \(x\)-coordinates of cubes from the region \(\{ a-2 \leq x \leq a +1, y \leq b+1 , 0 \leq z \leq 1 \}\), where \((a,b,0)\) are the coordinates of a corner cube from the bottom layer (with the exception of the leftmost corner). In this way, we get manageable sections, which we can calculate using the already found coordinates of the corners. Adding the sum of \(x\)-coordinates of cubes from the region \(\{ 6k+3 \leq x \leq 6k+4, y \leq 3k-3 , 0 \leq z \leq 1\}\) we find that the sum of \(x\)-coordinates of cubes from the bottom layer of \(T\), which have the upper face visible in Figure 4, is equal to \[\begin{align} &(5+4+3)(9k-3) + (8+7+6)(9k-6) + \dots + ((6k+2) + (6k+1) + 6k)3k + (6k+3)(3k-3) \\ &= (6k+3)(3k-3) + \sum_{i=0}^{2k-1} (12+9i)(9k-3-3i)\\ &=(6k+3)(3k-3) + \sum_{i=0}^{2k-1} 108k-36 + i(81k-63) - 27i^2 \\ & = (6k+3)(3k-3) + 2k(108k-36) + (81k-63) \frac{(2k-1)2k}{2} -27 \frac{(2k-1)2k(4k-1)}{6} \\ & = 90 k^3 + 81 k^2 - 27 k - 9. \end{align}\] Similarly, the sum of the \(y\)-coordinates of cubes from the bottom layer of \(T\), which have the top face visible in Figure 4, is equal to \[\begin{align} & 3 \left( \frac{(9k-4)(9k-3)}{2} + \frac{(9k-7)(9k-6)}{2} + \dots + \frac{(3k-1)3k}{2} \right) + \frac{(3k-4)(3k-3)}{2}\\ & = \frac{(3k-4)(3k-3)}{2} + \frac{3}{2} \sum_{i=0}^{2k-1} (9k-4 -3i)(9k-3-3i) \\ & = \frac{(3k-4)(3k-3)}{2} + \frac{3}{2} \sum_{i=0}^{2k-1} 81k^2-63k + 12 + i(21-54k) + 9i^2 \\ &= \frac{(3k-4)(3k-3)}{2} + 3k( 81k^2-63k + 12) + \frac{3}{2} (21-54k) \frac{(2k-1)2k}{2} + \frac{27}{2} \frac{(2k-1)2k(4k-1)}{6} \\ & = 117 k^3 - \frac{135 k^2}{2} - \frac{3 k}{2} + 6. \end{align}\] We can apply the same approach to the other parts of \(T\). It easily follows that the sum of the \(x\)-coordinates of all the other cubes in \(T\) is \[36 k^2 + 4 k + 2(36 k^2 - 2 k + 3) = 108 k^2 + 6.\] Considering, for each corner of the right stairs with coordinates \((2,b,c)\), the region \(\{0 \leq x \leq 2, b-2 \leq y \leq b+1, z \leq c+1\}\) (with the exception of the rightmost corner), it follows that the sum of \(y\)-coordinates of all cubes of \(T\) with \(x \leq 2\) is \[\begin{align} &(6k+3)\frac{(9k-1)9k}{2} + 3 \left( \frac{(9k-3)(9k-2)}{2} + \frac{(9k-6)(9k-5)}{2} + \dots + \frac{(3k-3)(3k-2)}{2} \right) \\ & + (6k-3) \frac{(3k-6)(3k-5)}{2} + (4k-2)( (3k-3) +(3k-4) + (3k-5))\\ & = 270 k^3 + 18 k^2 + 60 k - 21 + 3\sum_{i=0}^{2k} \frac{(9k-3-3i)(9k-2-3i)}{2} \\ & = 270 k^3 + 18 k^2 + 60 k - 21 + \frac{3}{2}\sum_{i=0}^{2k} 81k^2 - 45k+6 + i(15-54k) + 9i^2 \\ &= 270 k^3 + 18 k^2 + 60 k - 21 + \frac{3}{2}\left( (2k+1)(81k^2 - 45k+6) + (15-54k)\frac{2k(2k+1)}{2} + 9 \frac{2k(2k+1)(4k+1)}{6} \right) \\ & = 387 k^3 - \frac{9 k^2}{2} + \frac{75 k}{2} - 12. \end{align}\] Repeating the same approach, we see that the sum of \(z\)-coordinates of all the cubes of \(T\) with \(x \leq 2\) is \[\begin{align} & 6\frac{2k(2k+1)}{2} + 9 \left (\frac{(2k+1)(2k+2)}{2} + \frac{(2k+2)(2k+3)}{2} + \dots + \frac{(4k+1)(4k+2)}{2} \right)\\ & + 3(3k-5) \frac{6k(6k+1)}{2} + 6 \left( \frac{6k(6k+1)}{2} - \frac{(4k+1)(4k+2)}{2} \right)\\ & = 162 k^3 - 171 k^2 - 57 k - 6 + \frac{9}{2} \sum_{i=0}^{2k} (2k+1+i)(2k+2+i) \\ & = 162 k^3 - 171 k^2 - 57 k - 6 + \frac{9}{2} \sum_{i=0}^{2k} 4k^2+6k+2 + i(4k+3) + i^2 \\ & = 162 k^3 - 171 k^2 - 57 k - 6 + \frac{9}{2} \left( ( 4k^2+6k+2)(2k+1) + (4k+3) \frac{2k(2k+1)}{2} + \frac{2k(2k+1)(4k+1)}{6} \right)\\ & = 246k^3 - 45k^2 + 3k+3. \end{align}\] In total, the sum of labels in \(T\) comes down to \[\begin{align} &(90 k^3 + 189 k^2 - 27 k - 3) (12k+1)^2 + (504 k^3 - 72 k^2 + 36 k - 6)(12k+2)^2 \\ &+ (246k^3 - 45k^2 + 3k+3) (12k+3)^2 = 120960 k^5 + 54432 k^4 + 3888 k^3 - 72 k^2. \end{align}\] This gives \[G(S) = \frac{120960 k^5 + 54432 k^4 + 3888 k^3 - 72 k^2}{ (12k)^2} - \frac{(12k)^2-1}{2} = 840 k^3 + 306 k^2 + 27 k .\]

4.1.4 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 43 46 are in fact the minimal relations.

The common value of equation 49 is not a Betti element, by Lemma 9. By Lemmas 6 and 8, the common values of each of equations 43 48 , 50 , 51 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(4k+6\) of them.

Moreover, Lemma 8 gives us all the factorizations of the common values of equations 47 , 48 , 50 , 51 . Thus, one can check that the largest catenary degree among them is \(\mathrm{c}( (5k+1)(12k)^2 + (6k+1)(12k+1)^2) = 11k+2\). Furthermore, we have \[(6k+4)(12k+1)^2, \;9k(12k+2)^2, \;(6k+1)(12k+3)^2 < 11k(12k)^2,\] hence \(\mathrm{c}( (7k+2)(12k)^2), \mathrm{c}((6k+4)(12k+1)^2), \mathrm{c}(9k(12k+2)^2),\mathrm{c}((6k+1)(12k+3)^2) < 11k+2\), which gives \[\mathrm{c}(S) = 11k+2 .\]

Lastly, to obtain a minimal presentation, we apply Theorem 9. We know the sets of factorizations of all the Betti elements (hence, we can construct the corresponding sets \(\rho_b\)), except for the common values of the minimal relations. However, we may take \(\rho_{(7k+2)(12k)^2} = ( (7k+2,0,0,0) ,(0,2,3k-5,4k+2))\) and \(\rho_{(6k+4)(12k+1)^2} = ( (0,6k+4,0,0) ,(1,0,1,6k))\) whose corresponding graphs are clearly connected. Moreover, we can see that \(9k(12k+2)^2 \notin \langle (12k+1)^2 \rangle\) and \((6k+1)(12k+3)^2 \notin \langle (12k)^2 \rangle\), hence we may take \(\rho_{9k(12k+2)^2} = ( (0,0,9k,0) ,(5k+1,0,0,4k))\) and \(\rho_{(6k+1)(12k+3)^2} = ( (0,0,0,6k+1) ,(0,6k+1,2,0))\) whose corresponding graphs are also connected. Hence, we can obtain a minimal presentation, whose cardinality is \(4k+6\).

4.2 \(n = 12k + 4, \; k >0\)↩︎

4.2.1 Apéry set↩︎

We have the following: \[\begin{align} (7k+4)(12k+4)^2 &= 1(12k+5)^2 + (3k-3)(12k+6)^2 + (4k+3)(12k+7)^2, \tag{56} \\ (6k+6)(12k+5)^2 &= 1(12k+4)^2 + 1(12k+6)^2 + (6k+2)(12k+7)^2, \tag{57} \\ (9k+5)(12k+6)^2 &= (5k+2)(12k+4)^2 + 2(12k+5)^2 + (4k+2)(12k+7)^2, \tag{58}\\ (6k+3)(12k+7)^2 &= 0(12k+4)^2 + (6k+3)(12k+5)^2 + 2(12k+6)^2, \tag{59} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (7k+3)(12k+4)^2 + 2(12k+5)^2 &= (3k)(12k+6)^2 + (4k+2)(12k+7)^2 , \tag{60} \\ (12k+4)^2 + 3(12k+6)^2 &= 3(12k+5)^2 + (12k+7)^2,\tag{61} \\ (7k+4)(12k+4)^2 + (2k)(12k+7)^2 &= (6k+4)(12k+5)^2 + (3k-1)(12k+6)^2 .\tag{62} \end{align}\] Subtracting equation 61 from 60 , we obtain additional \(2k+1\) relations: \[\label{12k434952k431equations951} \begin{align} (7k+2)(12k+4)^2 + 5(12k+5)^2 &= (3k+3)(12k+6)^2 + (4k+1)(12k+7)^2,\\ (7k+1)(12k+4)^2 + 8(12k+5)^2 &= (3k+6)(12k+6)^2 + (4k)(12k+7)^2,\\ &\vdots \\ (5k+3)(12k+4)^2 + (6k+2)(12k+5)^2 &= (9k)(12k+6)^2 + (2k+2)(12k+7)^2, \\ (5k+2)(12k+4)^2 + (6k+5)(12k+5)^2 &= (9k+3)(12k+6)^2 + (2k+1)(12k+7)^2. \end{align}\tag{63}\] Similarly, we can subtract equation 61 from 62 and obtain further \(2k+1\) relations: \[\label{12k434952k431equations952} \begin{align} (7k+3)(12k+4)^2 + (2k+1)(12k+7)^2 &= (6k+1)(12k+5)^2 + (3k+2)(12k+6)^2,\\ (7k+2)(12k+4)^2 + (2k+2)(12k+7)^2 &= (6k-2)(12k+5)^2 + (3k+5)(12k+6)^2,\\ &\vdots \\ (5k+4)(12k+4)^2 + (4k)(12k+7)^2 &= 4(12k+5)^2 + (9k-1)(12k+6)^2, \\ (5k+3)(12k+4)^2 + (4k+1)(12k+7)^2 &= (12k+5)^2 + (9k+2)(12k+6)^2. \end{align}\tag{64}\]

Analogously as before, one can check that the figure \(T\), carved out using all the above equations, has the volume \((12k+4)^2\), which implies that it is an \(L\)-shape.

a

Figure 5: No caption. a — the figure \(T\) for \(n=12k+4\) and \(k=2\)

4.2.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(9k+4)(12k+6)^2 + (2k)(12k+7)^2 =1584 k^3 + 2208 k^2 + 998 k + 144,\] which gives \[F(S) = 1584 k^3 + 2064 k^2 + 902 k + 128.\] One can find that the sum of the labels of \(T\) is \[120960 k^5 + 256032 k^4 + 210576 k^3 + 84552 k^2 + 16640 k + 1288,\] which gives \[G(S) = 840 k^3 + 1146 k^2 + 509 k + 73.\]

4.2.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 56 59 are in fact the minimal relations.

The common value of equation 62 is not a Betti element, by Lemma 9. By Lemmas 6 and 8, the common values of each of equations 56 61 , 63 , 64 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(4k+8\) of them.

Similarly as before, using Lemma 8, one can check that the largest catenary degree among the common values of equations 60 , 61 , 63 , 64 is \(\mathrm{c}((5k+2)(12k+4)^2 + (6k+5)(12k+5)^2) = 11k+7\) and that the catenary degrees of the common values of equations 56 59 are smaller than that, which gives \[\mathrm{c}(S) = 11k+7.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(4k+8\).

4.3 \(n = 12k +8, \;k>0\)↩︎

4.3.1 Apéry set↩︎

We have the following: \[\begin{align} (7k+6)(12k+8)^2 &= 0(12k+9)^2 + (3k-1)(12k+10)^2 + (4k+4)(12k+11)^2, \tag{65} \\ (6k+8)(12k+9)^2 &= 1(12k+8)^2 + 1(12k+10)^2 + (6k+4)(12k+11)^2, \tag{66} \\ (9k+7)(12k+10)^2 &= (5k+4)(12k+8)^2 + 1(12k+9)^2 + (4k+3)(12k+11)^2, \tag{67}\\ (6k+5)(12k+11)^2 &= 0(12k+8)^2 + (6k+5)(12k+9)^2 + 2(12k+10)^2, \tag{68} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (7k+5)(12k+8)^2 + 3(12k+9)^2 &= (3k+2)(12k+10)^2 + (4k+3)(12k+11)^2, \tag{69} \\ (12k+8)^2 + 3(12k+10)^2 &= 3(12k+9)^2 + (12k+11)^2,\tag{70} \\ (7k+6)(12k+8)^2 + (2k+1)(12k+11)^2 &= (6k+5)(12k+9)^2 + (3k+1)(12k+10)^2. \tag{71} \end{align}\] Subtracting equation 70 from 69 , we obtain additional \(2k+1\) relations: \[\label{12k438952k431equations951} \begin{align} (7k+4)(12k+8)^2 + 6(12k+9)^2 &= (3k+5)(12k+10)^2 + (4k+2)(12k+11)^2 ,\\ (7k+3)(12k+8)^2 + 9(12k+9)^2 &= (3k+8)(12k+10)^2 + (4k+1)(12k+11)^2 ,\\ &\vdots \\ (5k+5)(12k+8)^2 + (6k+3)(12k+9)^2 &= (9k+2)(12k+10)^2 + (2k+3)(12k+11)^2 ,\\ (5k+4)(12k+8)^2 + (6k+6)(12k+9)^2 &= (9k+5)(12k+10)^2 + (2k+2)(12k+11)^2 . \end{align}\tag{72}\] Similarly, we can subtract equation 70 from 71 and obtain further \(2k+1\) relations: \[\label{12k438952k431equations952} \begin{align} (7k+5)(12k+8)^2 + (2k+2)(12k+11)^2 &= (6k+2)(12k+9)^2 + (3k+4)(12k+10)^2 ,\\ (7k+4)(12k+8)^2 + (2k+3)(12k+11)^2 &= (6k-1)(12k+9)^2 + (3k+7)(12k+10)^2 ,\\ &\vdots \\ (5k+6)(12k+8)^2 + (4k+1)(12k+11)^2 &= 5(12k+9)^2 + (9k+1)(12k+10)^2 .\\ (5k+5)(12k+8)^2 + (4k+2)(12k+11)^2 &= 2(12k+9)^2 + (9k+4)(12k+10)^2 . \end{align}\tag{73}\]

Analogously as before, one can check that the figure \(T\), carved out using all the above equations, has the volume \((12k+8)^2\), which implies that it is an \(L\)-shape.

Figure 6: the figure T for n=12k+8 and k=2

4.3.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(12k+9)^2 + (9k+6)(12k+10)^2 + (2k+1)(12k+11)^2 =1584 k^3 + 3840 k^2 + 3062 k + 802,\] which gives \[F(S) = 1584 k^3 + 3696 k^2 + 2870 k + 738.\] One can find that the sum of the labels of \(T\) is \[120960 k^5 + 457632 k^4 + 686640 k^3 + 511128 k^2 + 188896 k + 27744,\] which gives \[G(S) = 840 k^3 + 1986 k^2 + 1555 k + 402.\]

4.3.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 65 68 are in fact the minimal relations.

The common value of equation 71 is not a Betti element, by Lemma 9. By Lemmas 6 and 8, the common values of each of equations 65 70 , 72 , 73 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(4k+8\) of them.

Similarly as before, using Lemma 8, one can check that the largest catenary degree among the common values of equations 69 , 70 , 72 , 73 is \(\mathrm{c}((5k+4)(12k+8)^2 + (6k+6)(12k+9)^2 ) = 11k+10\) and that the catenary degrees of the common values of equations 65 68 are smaller than that, which gives \[\mathrm{c}(S) = 11k+10.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(4k+8\).

4.4 \(n = 12k + 1, \;k>1\)↩︎

4.4.1 Apéry set↩︎

We have the following: \[\begin{align} (6k+2)(12k+1)^2 &= 1(12k+2)^2 + (6k-2)(12k+3)^2 + 1(12k+4)^2, \tag{74} \\ (9k+5)(12k+2)^2 &= (4k+2)(12k+1)^2 + 2(12k+3)^2 + 5k(12k+4)^2, \tag{75} \\ (6k+1)(12k+3)^2 &= (6k+1)(12k+1)^2 + 2(12k+2)^2 + 0(12k+4)^2, \tag{76}\\ (7k+1)(12k+4)^2 &= 4k(12k+1)^2 + (3k+4)(12k+2)^2 + 0(12k+3)^2, \tag{77} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (4k-1)(12k+1)^2 + (3k+7)(12k+2)^2 &= 3(12k+3)^2 + (7k)(12k+4)^2, \tag{78} \\ (12k+1)^2 + 3(12k+3)^2 &= 3(12k+2)^2 + (12k+4)^2, \tag{79} \\ (4k+1)(12k+1)^2 + (5k+1)(12k+4)^2 &= (9k+2)(12k+2)^2 + (12k+3)^2. \tag{80} \end{align}\] Subtracting equation 79 from 78 , we obtain additional \(2k-1\) relations: \[\label{12k431952k-1equations951} \begin{align} (4k-2)(12k+1)^2 + (3k+10)(12k+2)^2 &= 6(12k+3)^2 + (7k-1)(12k+4)^2,\\ (4k-3)(12k+1)^2 + (3k+13)(12k+2)^2 &= 9(12k+3)^2 + (7k-2)(12k+4)^2,\\ &\vdots \\ (2k+1)(12k+1)^2 + (9k+1)(12k+2)^2 &= (6k-3)(12k+3)^2 + (5k+2)(12k+4)^2,\\ (2k)(12k+1)^2 + (9k+4)(12k+2)^2 &= (6k)(12k+3)^2 + (5k+1)(12k+4)^2. \end{align}\tag{81}\] Similarly, we can subtract equation 79 from 80 and obtain further \(2k-1\) relations: \[\label{12k431952k-1equations952} \begin{align} (4k)(12k+1)^2 + (5k+2)(12k+4)^2 &= (9k-1)(12k+2)^2 + 4(12k+3)^2,\\ (4k-1)(12k+1)^2 + (5k+3)(12k+4)^2 &= (9k-4)(12k+2)^2 + 7(12k+3)^2,\\ &\vdots \\ (2k+3)(12k+1)^2 + (7k-1)(12k+4)^2 &= (3k+8)(12k+2)^2 + (6k-5)(12k+3)^2,\\ (2k+2)(12k+1)^2 + (7k)(12k+4)^2 &= (3k+5)(12k+2)^2 + (6k-2)(12k+3)^2, \end{align}\tag{82}\]

Analogously as before, one can check that the figure \(T\), carved out using all the above equations, has the volume \((12k+1)^2\), which implies that it is an \(L\)-shape.

Figure 7: the figure T for n=12k+1 and k=2

4.4.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(6k-1)(12k+3)^2 + (5k+1)(12k+4)^2 =1584 k^3 + 912 k^2 + 158 k + 7,\] which gives \[F(S) = 1584 k^3 + 768 k^2 + 134 k + 6.\] One can find that the sum of the labels of \(T\) is \[120960 k^5 + 107424 k^4 + 31944 k^3 + 4230 k^2 + 259 k + 6,\] which gives \[G(S) = 840 k^3 + 534 k^2 + 103 k + 6.\]

4.4.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 74 77 are in fact the minimal relations.

By Lemmas 6 and 8, the common values of each of equations 74 82 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(4k+5\) of them.

Similarly as before, using Lemma 8, one can check that the largest catenary degree among the common values of equations 78 82 is \(\mathrm{c}((2k)(12k+1)^2 + (9k+4)(12k+2)^2 ) = 11k+4\) and that the catenary degrees of the common values of equations 74 77 are smaller than that, which gives \[\mathrm{c}(S) = 11k+4.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(4k+5\).

4.5 \(n = 12k + 5, \;k>0\)↩︎

4.5.1 Apéry set↩︎

We have the following: \[\begin{align} (6k+4)(12k+5)^2 &= 1(12k+6)^2 + (6k)(12k+7)^2 + 1(12k+8)^2, \tag{83} \\ (9k+7)(12k+6)^2 &= (4k+3)(12k+5)^2 + 1(12k+7)^2 + (5k+2)(12k+8)^2, \tag{84} \\ (6k+3)(12k+7)^2 &= (6k+3)(12k+5)^2 + 2(12k+6)^2 + 0(12k+8)^2, \tag{85}\\ (7k+4)(12k+8)^2 &= (4k+2)(12k+5)^2 + (3k+3)(12k+6)^2 + 2(12k+7)^2, \tag{86} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (4k+1)(12k+5)^2 + (3k+6)(12k+6)^2 &= (12k+7)^2 + (7k+3)(12k+8)^2, \tag{87}\\ (12k+5)^2 + 3(12k+7)^2 &= 3(12k+6)^2 + (12k+8)^2,\tag{88}\\ (4k+2)(12k+5)^2 + (5k+3)(12k+8)^2 &= (9k+4)(12k+6)^2 + 2(12k+7)^2.\tag{89} \end{align}\] Subtracting equation 88 from 87 , we obtain additional \(2k\) relations: \[\label{12k435952kequations951} \begin{align} (4k)(12k+5)^2 + (3k+9)(12k+6)^2 &= 4(12k+7)^2 + (7k+2)(12k+8)^2,\\ (4k-1)(12k+5)^2 + (3k+12)(12k+6)^2 &= 7(12k+7)^2 + (7k+1)(12k+8)^2,\\ &\vdots \\ (2k+2)(12k+5)^2 + (9k+3)(12k+6)^2 &= (6k-2)(12k+7)^2 + (5k+4)(12k+8)^2,\\ (2k+1)(12k+5)^2 + (9k+6)(12k+6)^2 &= (6k+1)(12k+7)^2 + (5k+3)(12k+8)^2. \end{align}\tag{90}\] Similarly, we can subtract equation 88 from 89 and obtain further \(2k\) relations: \[\label{12k435952kequations952} \begin{align} (4k+1)(12k+5)^2 + (5k+4)(12k+8)^2 = (9k+1)(12k+6)^2 + 5(12k+7)^2,\\ (4k)(12k+5)^2 + (5k+5)(12k+8)^2 = (9k-2)(12k+6)^2 + 8(12k+7)^2,\\ &\vdots \\ (2k+3)(12k+5)^2 + (7k+2)(12k+8)^2 = (3k+7)(12k+6)^2 + (6k-1)(12k+7)^2,\\ (2k+2)(12k+5)^2 + (7k+3)(12k+8)^2 = (3k+4)(12k+6)^2 + (6k+2)(12k+7)^2. \end{align}\tag{91}\]

Analogously as before, one can check that the figure \(T\), carved out using all the above equations, has the volume \((12k+5)^2\), which implies that it is an \(L\)-shape.

Figure 8: the figure T for n=12k+5 and k=2

4.5.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(6k+2)(12k+7)^2 + (5k+2)(12k+8)^2 =1584 k^3 + 2544 k^2 + 1334 k + 226,\] which gives \[F(S) = 1584 k^3 + 2400 k^2 + 1214 k + 201.\] One can find that the sum of the labels of \(T\) is \[120960 k^5 + 309024 k^4 + 309288 k^3 + 152094 k^2 + 36845 k + 3525,\] which gives \[G(S) = 840 k^3 + 1374 k^2 + 737 k + 129.\]

4.5.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 83 86 are in fact the minimal relations.

By Lemmas 6 and 8, the common values of each of equations 83 91 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(4k+7\) of them.

Similarly as before, using Lemma 8, one can check that the largest catenary degree among the common values of equations 87 91 is \(\mathrm{c}((2k+1)(12k+5)^2 + (9k+6)(12k+6)^2 ) = 11k+7\) and that the catenary degrees of the common values of equations 83 86 are smaller than that, which gives \[\mathrm{c}(S) = 11k+7.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(4k+7\).

4.6 \(n = 12k +9, \;k \geq 0\)↩︎

4.6.1 Apéry set↩︎

We have the following: \[\begin{align} (6k+6)(12k+9)^2 &= 1(12k+10)^2 + (6k+2)(12k+11)^2 + 1(12k+12)^2, \tag{92} \\ (9k+9)(12k+10)^2 &= (4k+4)(12k+9)^2 + 0(12k+11)^2 + (5k+4)(12k+12)^2, \tag{93} \\ (6k+5)(12k+11)^2 &= (6k+5)(12k+9)^2 + 2(12k+10)^2 + 0(12k+12)^2, \tag{94}\\ (7k+6)(12k+12)^2 &= (4k+3)(12k+9)^2 + (3k+5)(12k+10)^2 + 1(12k+11)^2, \tag{95} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (4k+2)(12k+9)^2 + (3k+8)(12k+10)^2 &= 2(12k+11)^2 + (7k+5)(12k+12)^2,\tag{96}\\ (12k+9)^2 + 3(12k+11)^2 &= 3(12k+10)^2 + (12k+12)^2,\tag{97}\\ (4k+3)(12k+9)^2 + (5k+5)(12k+12)^2 &= (9k+6)(12k+10)^2 + 3(12k+11)^2.\tag{98} \end{align}\] Subtracting equation 97 from 96 , we obtain additional \(2k\) relations: \[\label{12k439952kequations951} \begin{align} (4k+1)(12k+9)^2 + (3k+11)(12k+10)^2 &= 5(12k+11)^2 + (7k+4)(12k+12)^2,\\ (4k)(12k+9)^2 + (3k+14)(12k+10)^2 &= 8(12k+11)^2 + (7k+3)(12k+12)^2,\\ &\vdots \\ (2k+3)(12k+9)^2 + (9k+5)(12k+10)^2 &= (6k-1)(12k+11)^2 + (5k+6)(12k+12)^2,\\ (2k+2)(12k+9)^2 + (9k+8)(12k+10)^2 &= (6k+2)(12k+11)^2 + (5k+5)(12k+12)^2. \end{align}\tag{99}\] Similarly, we can subtract equation 97 from 98 and obtain further \(2k\) relations: \[\label{12k439952kequations952} \begin{align} (4k+2)(12k+9)^2 + (5k+6)(12k+12)^2 &= (9k+3)(12k+10)^2 + 6(12k+11)^2,\\ (4k+1)(12k+9)^2 + (5k+7)(12k+12)^2 &= (9k)(12k+10)^2 + 9(12k+11)^2,\\ &\vdots \\ (2k+4)(12k+9)^2 + (7k+4)(12k+12)^2 &= (3k+9)(12k+10)^2 + (6k)(12k+11)^2,\\ (2k+3)(12k+9)^2 + (7k+5)(12k+12)^2 &= (3k+6)(12k+10)^2 + (6k+3)(12k+11)^2. \end{align}\tag{100}\]

Now analogously as before, one can check that the figure \(T\), carved out using all the above equations, has the volume \((12k+9)^2\), which implies that it is an \(L\)-shape.

Figure 9: the figure T for n=12k+9 and k=2

4.6.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(6k+4)(12k+11)^2 +(5k+4)(12k+12)^2 =1584 k^3 + 4176 k^2 + 3654 k + 1060,\] which gives \[F(S) = 1584 k^3 + 4032 k^2 + 3438 k + 979.\] One can find that the sum of the labels of \(T\) is \[120960 k^5 + 510624 k^4 + 856008 k^3 + 712854 k^2 + 295083 k + 48600,\] which gives \[G(S) = 840 k^3 + 2214 k^2 + 1935 k + 560.\]

4.6.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 92 95 are in fact the minimal relations.

By Lemmas 6 and 8, the common values of each of equations 92 100 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(4k+7\) of them.

Similarly as before, using Lemma 8, one can check that the largest catenary degree among the common values of equations 96 100 is \(\mathrm{c}((2k+2)(12k+9)^2 + (9k+8)(12k+10)^2 ) = 11k+10\) and that the catenary degrees of the common values of equations 92 95 are smaller than that, which gives \[\mathrm{c}(S) = 11k+10.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(4k+7\).

4.7 \(n = 4m+2, \;m>1\)↩︎

4.7.1 Apéry set↩︎

We have the following: \[\begin{align} (4m+5)(4m+2)^2 &= 2(4m+3)^2 + (4m-3)(4m+4)^2 + 2(4m+5)^2, \tag{101} \\ (m+4)(4m+3)^2 &= 1(4m+2)^2 + 2(4m+4)^2 + m(4m+5)^2, \tag{102} \\ (4m+3)(4m+4)^2 &= 4(4m+2)^2 + (4m+3)(4m+3)^2 + 0(4m+5)^2, \tag{103}\\ (m+1)(4m+5)^2 &= 0(4m+2)^2 + (m+1)(4m+3)^2 + 1(4m+4)^2, \tag{104} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (4m+4)(4m+2)^2 + (4m+3)^2 &= (4m)(4m+4)^2 + (4m+5)^2,\tag{105}\\ (4m+2)^2+3(4m+4)^2 &= 3(4m+3)^2 + (4m+5)^2,\tag{106}\\ (4m+5)(4m+2)^2 + (m-1)(4m+5)^2 &= (m+3)(4m+3)^2 + (4m-2)(4m+4)^2.\tag{107} \end{align}\] Subtract equation 106 from 107 to get \[\label{4m432eq4} (4m+4)(4m+2)^2 + (m)(4m+5)^2 = (m)(4m+3)^2 + (4m+1)(4m+4)^2.\tag{108}\]

Now analogously as before, one can check that the figure \(T\), carved out using all the above equations, has the volume \((4m+2)^2\), which implies that it is an \(L\)-shape.

Figure 10: the figure T for n =4m+2 and m=7

4.7.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(m+2)(4m+3)^2 + (4m)(4m+4)^2 =80 m^3 + 184 m^2 + 121 m + 18,\] which gives \[F(S) = 80 m^3 + 168 m^2 + 105 m + 14.\] One can find that the sum of the labels of \(T\) is \[640 m^5 + 2208 m^4 + 2816 m^3 + 1696 m^2 + 488 m + 54,\] which gives \[G(S) = 40 m^3 + 90 m^2 + 60 m + 12.\]

4.7.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 101 104 are in fact the minimal relations.

The common value of equation 107 is not a Betti element, by Lemma 9. By Lemmas 6 and 8, the common values of each of equations 101 106 , 108 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(7\) of them.

Similarly as before, using Lemma 8, one can check that the largest catenary degree among the common values of equations 105 , 106 , 108 is \(\mathrm{c}((4m+4)(4m+2)^2 + (m)(4m+5)^2) = 5m+4\) and that the catenary degrees of the common values of equations 101 104 are smaller than that, which gives \[\mathrm{c}(S) = 5m+4.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(7\).

4.8 \(n = 4m+3, \;m > 1\)↩︎

4.8.1 Apéry set↩︎

We have the following: \[\begin{align} (m+2)(4m+3)^2 &= 2(4m+4)^2 + (m-2)(4m+5)^2 + 1(4m+6)^2, \tag{109} \\ (4m+11)(4m+4)^2 &= 2(4m+3)^2 + 2(4m+5)^2 + (4m+3)(4m+6)^2, \tag{110} \\ (m+1)(4m+5)^2 &= (m+1)(4m+3)^2 + 1(4m+4)^2 + 0(4m+6)^2, \tag{111}\\ (4m+5)(4m+6)^2 &= 0(4m+3)^2 + (4m+5)(4m+4)^2 + 4(4m+5)^2, \tag{112} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (m)(4m+3)^2 + (4m+9)(4m+4)^2 &= (m)(4m+5)^2 + (4m+4)(4m+6)^2, \tag{113}\\ (4m+3)^2+3(4m+5)^2 &= 3(4m+4)^2 + (4m+6)^2,\tag{114}\\ (4m+3)^2+(4m+4)(4m+6)^2 &= (4m+8)(4m+4)^2 + (4m+5)^2,\tag{115} \end{align}\]

Now analogously as before, one can check that the figure \(T\), carved out using all the above equations, has the volume \((4m+3)^2\), which implies that it is an \(L\)-shape.

Figure 11: the figure T for n =4m+3 and m=6

4.8.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(4m+4)^2 + (m-1)(4m+5)^2 + (4m+4)(4m+6)^2 =80 m^3 + 296 m^2 + 353 m + 135,\] which gives \[F(S) = 80 m^3 + 280 m^2 + 329 m + 126.\] One can find that the sum of the labels in \(T\) is \[640 m^5 + 3488 m^4 + 7224 m^3 + 7246 m^2 + 3552 m + 684,\] which gives \[G(S) = 40 m^3 + 150 m^2 + 180 m + 72.\]

4.8.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that equations 109 112 are in fact the minimal relations.

By Lemmas 6 and 8, the common values of each of equations 109 115 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(7\) of them.

Similarly as before, using Lemma 8, one can check that the largest catenary degree among the common values of equations 113 115 is \(\mathrm{c}((m)(4m+3)^2 + (4m+9)(4m+4)^2) = 5m+9\) and that the catenary degrees of the common values of equations 109 112 are smaller than that, which gives \[\mathrm{c}(S) = 5m+9.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(7\).

4.9 Summary↩︎

We can use numericalsgps [24] GAP [25] package to supplement the above results, with all small cases of \(n\), which were not covered so far.

Corollary 13. The Frobenius number of the numerical semigroup generated by the four consecutive squares \(n^2\), \((n+1)^2\), \((n+2)^2\), \((n+3)^2\) is as follows: \[\begin{cases} \begin{align} &\frac{11}{12} n^3 + 4 n^2 + \frac{9}{2} n - 2 &&\text{if} \;\;n \equiv 0 \pmod{12},\;\text{and } n \ge 24,\\ &\frac{11}{12} n^3 + \frac{10}{3} n^2 + \frac{9}{2} n - 2 &&\text{if} \;\;n \equiv 4 \pmod{12},\;\text{and } n \ge 16,\\ &\frac{11}{12} n^3 + \frac{11}{3} n^2 + \frac{9}{2} n - 2 &&\text{if} \;\;n \equiv 8 \pmod{12},\;\text{and } n \ge 20,\\ &\frac{11}{12} n^3 + \frac{31}{12} n^2 + \frac{13}{4} n - \frac{3}{4} &&\text{if} \;\;n \equiv 1 \pmod{12},\;\text{and } n \ge 25,\\ &\frac{11}{12} n^3 + \frac{35}{12} n^2 + \frac{13}{4} n - \frac{11}{4} &&\text{if} \;\;n \equiv 5 \pmod{12},\;\text{and } n \ge 17,\\ &\frac{11}{12} n^3 + \frac{13}{4} n^2 + \frac{21}{4} n + \frac{1}{4} &&\text{if} \;\;n \equiv 9 \pmod{12},\;\text{and } n \ge 9,\\ &\frac{5}{4} n^3 + 3 n^2 - \frac{3}{4} n - \frac{13}{2} &&\text{if} \;\;n \equiv 2 \pmod{4},\;\text{and } n \ge 6,\\ &\frac{5}{4} n^3 + \frac{25}{4} n^2 + 11 n + 3 &&\text{if} \;\;n \equiv 3 \pmod{4},\;\text{and } n \ge 7. \end{align} \end{cases}\] Moreover: \(F(\langle 2^2, 3^2, 4^2, 5^2 \rangle) = 23\), \(F(\langle 3^2, 4^2, 5^2, 6^2 \rangle) = 119\), \(F(\langle 4^2, 5^2, 6^2, 7^2 \rangle) = 119\), \(F(\langle 5^2, 6^2, 7^2, 8^2 \rangle) \\ = 240\), \(F(\langle 8^2, 9^2, 10^2, 11^2 \rangle) = 659\), \(F(\langle12^2,13^2,14^2,15^2 \rangle) = 2045\), \(F(\langle 13^2, 14^2, 15^2, 16^2 \rangle) = 2553\).

Corollary 14. The genus of the numerical semigroup generated by the four consecutive squares \(n^2\), \((n+1)^2\), \((n+2)^2\), \((n+3)^2\) is as follows: \[\begin{cases} \begin{align} &\frac{35}{72} n^3 + \frac{17}{8} n^2 + \frac{9}{4} n &&\text{if} \;\;n \equiv 0 \pmod{12},\;\text{and } n \ge 24,\\ &\frac{35}{72} n^3 + \frac{17}{8} n^2 + \frac{25}{12} n - \frac{4}{9} &&\text{if} \;\;n \equiv 4 \pmod{12},\;\text{and } n \ge 16,\\ &\frac{35}{72} n^3 + \frac{17}{8} n^2 + \frac{9}{4} n - \frac{8}{9} &&\text{if} \;\;n \equiv 8 \pmod{12},\;\text{and } n \ge 20,\\ &\frac{35}{72} n^3 + \frac{9}{4} n^2 + \frac{21}{8} n + \frac{23}{36} &&\text{if} \;\;n \equiv 1 \pmod{12},\;\text{and } n \ge 13,\\ &\frac{35}{72} n^3 + \frac{9}{4} n^2 + \frac{59}{24} n - \frac{11}{36} &&\text{if} \;\;n \equiv 5 \pmod{12},\;\text{and } n \ge 5,\\ &\frac{35}{72} n^3 + \frac{9}{4} n^2 + \frac{21}{8} n - \frac{1}{4} &&\text{if} \;\;n \equiv 9 \pmod{12},\;\text{and } n \ge 9,\\ &\frac{5}{8} n^3 + \frac{15}{8} n^2 - \frac{1}{2} &&\text{if} \;\;n \equiv 2 \pmod{4},\;\text{and } n \ge 2,\\ &\frac{5}{8} n^3 + \frac{15}{4} n^2 + \frac{45}{8} n + \frac{9}{2} &&\text{if} \;\;n \equiv 3 \pmod{4},\;\text{and } n \ge 11. \end{align} \end{cases}\] Moreover: \(G(\langle 3^2,4^2,5^2,6^2 \rangle) = 60\), \(G(\langle 4^2,5^2,6^2,7^2 \rangle) = 66\), \(G(\langle 7^2,8^2,9^2,10^2 \rangle) = 427\),
\(G(\langle 8^2,9^2,10^2,11^2 \rangle) = 389\), \(G(\langle12^2,13^2,14^2,15^2 \rangle) = 1161\).

Corollary 15. The catenary degree of the numerical semigroup generated by the four consecutive squares \(n^2\), \((n+1)^2\), \((n+2)^2\), \((n+3)^2\) is as follows: \[\begin{cases} \begin{align} &\frac{11}{12}n + 2 &&\text{if} \;\;n \equiv 0 \pmod{12},\;\text{and } n \ge 24,\\ &\frac{11}{12}n + \frac{10}{3} &&\text{if} \;\;n \equiv 4 \pmod{12},\;\text{and } n \ge 16,\\ &\frac{11}{12}n + \frac{8}{3} &&\text{if} \;\;n \equiv 8 \pmod{12},\;\text{and } n \ge 20,\\ &\frac{11}{12}n + \frac{37}{12} &&\text{if} \;\;n \equiv 1 \pmod{12},\;\text{and } n \ge 13,\\ &\frac{11}{12}n + \frac{29}{12} &&\text{if} \;\;n \equiv 5 \pmod{12},\;\text{and } n \ge 5,\\ &\frac{11}{12}n + \frac{7}{4} &&\text{if} \;\;n \equiv 9 \pmod{12},\;\text{and } n \ge 9,\\ &\frac{5}{4}n + \frac{3}{2} &&\text{if} \;\;n \equiv 2 \pmod{4},\;\text{and } n \ge 14,\\ &\frac{5}{4}n + \frac{21}{4} &&\text{if} \;\;n \equiv 3 \pmod{4},\;\text{and } n \ge 7. \end{align} \end{cases}\] Moreover: \(\mathrm{c}(\langle 2^2,3^2,4^2,5^2 \rangle) = 9\), \(\mathrm{c}(\langle 3^2,4^2,5^2,6^2 \rangle) = 16\), \(\mathrm{c}(\langle 4^2,5^2,6^2,7^2 \rangle) = 9\), \(\mathrm{c}(\langle 6^2,7^2,8^2,9^2 \rangle) = 11\), \(\mathrm{c}(\langle 8^2,9^2,10^2,11^2 \rangle) = 11\), \(\mathrm{c}(\langle 10^2,11^2,12^2,13^2 \rangle) = 15\), \(\mathrm{c}(\langle12^2,13^2,14^2,15^2 \rangle) = 15\).

Corollary 16. The cardinality of the minimal presentation of the numerical semigroup generated by the four consecutive squares \(n^2\), \((n+1)^2\), \((n+2)^2\), \((n+3)^2\) is as follows: \[\begin{cases} \begin{align} &\frac{1}{3}n+6 &&\text{if} \;\;n \equiv 0 \pmod{12},\;\text{and} \;n \ge 24,\\ &\frac{1}{3}n+\frac{20}{3} &&\text{if} \;\;n \equiv 4 \pmod{12},\;\text{and } n \ge 16,\\ &\frac{1}{3}n + \frac{16}{3} &&\text{if} \;\;n \equiv 8 \pmod{12},\;\text{and } n \ge 20,\\ &\frac{1}{3}n + \frac{14}{3} &&\text{if} \;\;n \equiv 1 \pmod{12},\;\text{and } n \ge 13,\\ &\frac{1}{3}n + \frac{16}{3} &&\text{if} \;\;n \equiv 5 \pmod{12},\;\text{and } n \ge 17,\\ &\frac{1}{3}n + 4 &&\text{if} \;\;n \equiv 9 \pmod{12},\;\text{and } n \ge 9,\\ &7 &&\text{if} \;\;n \equiv 2 \pmod{4},\;\text{and } n \ge 6, \\ &7 &&\text{if} \;\;n \equiv 3 \pmod{4},\;\text{and } n \ge 15. \end{align} \end{cases}\] Moreover: \(\# \rho(\langle 2^2,3^2,4^2,5^2 \rangle) = 1\), \(\# \rho(\langle 3^2,4^2,5^2,6^2 \rangle) = 1\), \(\# \rho(\langle 4^2,5^2,6^2,7^2 \rangle) = 6\), \(\# \rho(\langle 5^2,6^2,7^2,8^2 \rangle) = 6\), \(\# \rho(\langle 7^2,8^2,9^2,10^2 \rangle) = 7\), \(\# \rho(\langle 8^2,9^2,10^2,11^2 \rangle) = 10\), \(\# \rho(\langle 11^2,12^2,13^2,14^2 \rangle) = 6\),
\(\# \rho(\langle 12^2,13^2,14^2,15^2 \rangle) = 11\).

5 Four consecutive triangular numbers↩︎

In this section, we will find the Frobenius number, the genus, the set of Betti elements, the catenary degree, and a minimal presentation of the numerical semigroup generated by four consecutive triangular numbers; \(S = \langle \binom{n+1}{2},\binom{n+2}{2}, \binom{n+3}{2}, \binom{n+4}{2} \rangle\). We will use the method proposed in Sections 2 and 3, where we put (for now) \((d_0,d_1,d_2,d_3) = \left(\binom{n+1}{2},\binom{n+2}{2}, \binom{n+3}{2}, \binom{n+4}{2} \right)\).

We will call \(T\) the figure that will be obtained by removing regions from the initial collection of cubes in each case of \(n \pmod{6}\). The cubes of \(T\) will be labeled (as always), where the cube \([[a,b,c]]\) will be labeled with \(ad_1 + bd_2 + cd_3\). We will know that the set of labels of \(T\) is the Apéry set with respect to \(d_0\) after we calculate that \(T\) has exactly \(d_0\) cubes.

We sum up the results of this section in Corollaries 17-20.

5.1 \(n = 6k, k>1\)↩︎

5.1.1 Apéry set↩︎

We have the following: \[\begin{align} (3k+1)\binom{6k+1}{2} &= 3k \binom{6k+2}{2} + 0 \binom{6k+3}{2} + 0\binom{6k+4}{2}, \tag{116}\\ 3k \binom{6k+2}{2} &= (3k+1)\binom{6k+1}{2}+ 0 \binom{6k+3}{2} + 0\binom{6k+4}{2}, \tag{117}\\ 3k \binom{6k+3}{2} &= (2k+1)\binom{6k+1}{2} + 0\binom{6k+2}{2} + k\binom{6k+4}{2}, \tag{118}\\ (2k+1)\binom{6k+4}{2} &= (2k+1)\binom{6k+1}{2} + 0\binom{6k+2}{2} + 2\binom{6k+3}{2}.\tag{119} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} 2k \binom{6k+1}{2} + 3 \binom{6k+2}{2} &= \binom{6k+3}{2} + 2k\binom{6k+4}{2},\tag{120}\\ \binom{6k+1}{2} + 3 \binom{6k+3}{2} &= 3\binom{6k+2}{2} + \binom{6k+4}{2},\tag{121}\\ 3k \binom{6k+1}{2} + \binom{6k+4}{2} &= (3k-3)\binom{6k+2}{2} + 3\binom{6k+3}{2} .\tag{122} \end{align}\] Subtracting equation 121 from 120 we obtain additional \(k-1\) relations: \[\label{6k95k-1equations951} \begin{align} (2k-1) \binom{6k+1}{2} + 6 \binom{6k+2}{2} &= 4\binom{6k+3}{2} + (2k-1)\binom{6k+4}{2},\\ (2k-2) \binom{6k+1}{2} + 9 \binom{6k+2}{2} &= 7\binom{6k+3}{2} + (2k-2)\binom{6k+4}{2},\\ &\vdots\\ (k+2)\binom{6k+1}{2} + (3k-3) \binom{6k+2}{2} &= (3k-5)\binom{6k+3}{2} + (k+2)\binom{6k+4}{2},\\ (k+1)\binom{6k+1}{2} + 3k \binom{6k+2}{2} &= (3k-2)\binom{6k+3}{2} + (k+1)\binom{6k+4}{2}. \end{align}\tag{123}\] Similarly, we can subtract equation 121 from 122 and obtain further \(k-2\) relations: \[\label{6k95k-2equations952} \begin{align} (3k-1) \binom{6k+1}{2} + 2\binom{6k+4}{2} &= (3k-6)\binom{6k+2}{2} + 6\binom{6k+3}{2},\\ (3k-2) \binom{6k+1}{2} + 3\binom{6k+4}{2} &= (3k-9)\binom{6k+2}{2} + 9\binom{6k+3}{2},\\ &\vdots\\ (2k+3) \binom{6k+1}{2} + (k-2)\binom{6k+4}{2} &= 6\binom{6k+1}{2} + (3k-6)\binom{6k+2}{2},\\ (2k+2) \binom{6k+1}{2} + (k-1)\binom{6k+4}{2} &= 3\binom{6k+2}{2} + (3k-3)\binom{6k+3}{2}.\\ \end{align}\tag{124}\]

Analogously as always, one can check that the figure \(T\), carved out using all the above equations, has the volume \(\binom{6k+1}{2}\), which implies that it is an \(L\)-shape.

Figure 12: the figure T for n = 6k and k=6

5.1.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[2\binom{6k+2}{2} + (3k-1)\binom{6k+3}{2} + k\binom{6k+4}{2} = 72 k^3 + 84 k^2 + 18 k - 1,\] which gives \[F(S) = 72 k^3 + 66 k^2 + 15k - 1.\] One can also find that the sum of the labels in \(T\) is \[675 k^5 + \frac{1845}{2} k^4 + 297 k^3 + 18 k^2 - \frac{3}{2} k,\] which gives \[G(S) = \frac{75}{2}k^3 + 36k^2 + \frac{15}{2}k.\]

5.1.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that 116 119 are in fact the minimal relations.

By Lemmas 6 and 7, the common values of each of equations 116 124 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(2k+3\) of them (as the common values of 116 and 117 are equal).

From Lemmas 8 and 9, we obtain the sets of factorizations of the common values of each of equations 120 124 . One can easily check that the largest catenary degree among these values is
\(\mathrm{c} \left((k+1)\binom{6k+1}{2} + 3k \binom{6k+2}{2} \right) = 4k+1\) and that the catenary degrees of the common values of equations 116 119 are smaller than that, which implies \[\mathrm{c}(S) = 4k+1.\]

Lastly, to obtain a minimal presentation, we apply Theorem 9. Similarly as always, we do not have the sets of factorizations of the common values of the minimal relations. However, we can see that \((3k)\binom{6k+3}{2}, (2k+1)\binom{6k+4}{2} \notin \langle \binom{6k+2}{2} \rangle\) and that \((3k+1)\binom{6k+1}{2} = 3k \binom{6k+2}{2} \notin \langle \binom{6k+3}{2}, \binom{6k+4}{2} \rangle,\) as \(\gcd \left( \binom{6k+3}{2}, \binom{6k+4}{2} \right) = 6k+3 \nmid (3k+1)\binom{6k+1}{2}\). This means that we can construct the minimal presentation as always, and it has cardinality \(2k+3\).

5.2 \(n = 6k+2, k>1\)↩︎

5.2.1 Apéry set↩︎

We have the following: \[\begin{align} (3k+2)\binom{6k+3}{2} &= (3k+1) \binom{6k+4}{2} + 0 \binom{6k+5}{2} + 0\binom{6k+6}{2}, \tag{125}\\ (3k+1) \binom{6k+4}{2} &= (3k+2)\binom{6k+3}{2}+ 0 \binom{6k+5}{2} + 0\binom{6k+6}{2}, \tag{126}\\ (3k+3) \binom{6k+5}{2} &= (2k+1)\binom{6k+3}{2} + 2\binom{6k+4}{2} + (k+1)\binom{6k+6}{2}, \tag{127}\\ (2k+1)\binom{6k+6}{2} &= (2k+1)\binom{6k+3}{2} + 2\binom{6k+4}{2} + 0\binom{6k+5}{2}.\tag{128} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} 2k \binom{6k+3}{2} + 5 \binom{6k+4}{2} &= 3\binom{6k+5}{2} + 2k\binom{6k+6}{2},\tag{129}\\ \binom{6k+3}{2} + 3 \binom{6k+5}{2} &= 3\binom{6k+4}{2} + \binom{6k+6}{2},\tag{130}\\ (3k+1)\binom{6k+3}{2} + \binom{6k+6}{2} &= (3k-2)\binom{6k+4}{2} + 3\binom{6k+5}{2} .\tag{131} \end{align}\] Subtracting equation 130 from 129 , we obtain additional \(k-1\) relations: \[\label{6k43295k-1equations951} \begin{align} (2k-1) \binom{6k+3}{2} + 8 \binom{6k+4}{2} &= 6\binom{6k+5}{2} + (2k-1)\binom{6k+6}{2},\\ (2k-2) \binom{6k+3}{2} + 11 \binom{6k+4}{2} &= 9\binom{6k+5}{2} + (2k-2)\binom{6k+6}{2},\\ &\vdots\\ (k+2) \binom{6k+3}{2} + (3k-1) \binom{6k+4}{2} &= (3k-3)\binom{6k+5}{2} + (k+2)\binom{6k+6}{2},\\ (k+1) \binom{6k+3}{2} + (3k+2) \binom{6k+4}{2} &= (3k)\binom{6k+5}{2} + (k+1)\binom{6k+6}{2}. \end{align}\tag{132}\] Similarly, we can subtract equation 130 from 131 and obtain further \(k-1\) relations: \[\label{6k43295k-1equations952} \begin{align} (3k)\binom{6k+3}{2} + 2\binom{6k+6}{2} &= (3k-5)\binom{6k+4}{2} + 6\binom{6k+5}{2},\\ (3k-1)\binom{6k+3}{2} + 3\binom{6k+6}{2} &= (3k-8)\binom{6k+4}{2} + 9\binom{6k+5}{2},\\ &\vdots\\ (2k+3)\binom{6k+3}{2} + (k-1)\binom{6k+6}{2} &= 4\binom{6k+4}{2} + (3k-3)\binom{6k+5}{2},\\ (2k+2)\binom{6k+3}{2} + (k)\binom{6k+6}{2} &= 1\binom{6k+4}{2} + (3k)\binom{6k+5}{2}. \end{align}\tag{133}\]

Analogously as always, one can check that the figure \(T\), carved out using all the above equations, has the volume \(\binom{6k+3}{2}\), which implies that it is an \(L\)-shape.

Figure 13: the figure T for n = 6k+2 and k=6

5.2.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(3k+2)\binom{6k+5}{2} + k\binom{6k+6}{2} = 72 k^3 + 150 k^2 + 99 k + 20,\] which gives \[F(S) =72 k^3 + 132 k^2 + 84 k + 17.\] One can also find that the sum of the labels in \(T\) is \[675 k^5 + \frac{4095}{2} k^4 + 2295 k^3 + 1215 k^2 + \frac{615}{2}k + 30 ,\] which gives \[G(S) = \frac{75}{2} k^3 + \frac{147}{2} k^2 + 45 k + 9.\]

5.2.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that 125 128 are in fact the minimal relations.

By Lemmas 6 and 7, the common values of each of equations 125 133 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(2k+4\) of them (as the common values of 125 and 126 are equal).

From Lemmas 8 and 9, we obtain the sets of factorizations of the common values of each of equations 129 133 . One can check that the largest catenary degree among these values is \(\mathrm{c} \left((k+1) \binom{6k+3}{2} + (3k+2) \binom{6k+4}{2} \right) = 4k+3\) and that the catenary degrees of the common values of equations 125 128 is smaller than that, which gives \[\mathrm{c}(S) = 4k+3.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(2k+4\).

5.3 \(n = 6k+4, k>1\)↩︎

5.3.1 Apéry set↩︎

We have the following: \[\begin{align} (3k+3)\binom{6k+5}{2} &= (3k+2)\binom{6k+6}{2} + 0\binom{6k+7}{2} + 0\binom{6k+8}{2}, \tag{134} \\ (3k+2)\binom{6k+6}{2} &= (3k+3)\binom{6k+5}{2} + 0\binom{6k+7}{2} + 0\binom{6k+8}{2}, \tag{135} \\ (3k+3)\binom{6k+7}{2} &= (2k+2)\binom{6k+5}{2} + 1\binom{6k+6}{2} + (k+1)\binom{6k+8}{2}, \tag{136} \\ (2k+2)\binom{6k+8}{2} &= (2k+2)\binom{6k+5}{2} + 1\binom{6k+6}{2} + 1\binom{6k+7}{2}, \tag{137} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} (2k+1) \binom{6k+5}{2} + 4 \binom{6k+6}{2} &= 2\binom{6k+7}{2} + (2k+1)\binom{6k+8}{2}, \tag{138}\\ \binom{6k+5}{2} + 3 \binom{6k+7}{2} &= 3\binom{6k+6}{2} + \binom{6k+8}{2}, \tag{139}\\ (3k+2)\binom{6k+5}{2} + \binom{6k+8}{2} &= (3k-1)\binom{6k+6}{2} + 3\binom{6k+7}{2} . \tag{140} \end{align}\] Subtracting equation 139 from 138 , we obtain additional \(k\) relations: \[\label{6k43495kequations951} \begin{align} (2k) \binom{6k+5}{2} + 7 \binom{6k+6}{2} &= 5\binom{6k+7}{2} + (2k)\binom{6k+8}{2},\\ (2k-1) \binom{6k+5}{2} + 10 \binom{6k+6}{2} &= 8\binom{6k+7}{2} + (2k-1)\binom{6k+8}{2},\\ &\vdots \\ (k+2) \binom{6k+5}{2} + (3k+1) \binom{6k+6}{2} &= (3k-1)\binom{6k+7}{2} + (k+2)\binom{6k+8}{2}, \\ (k+1) \binom{6k+5}{2} + (3k+4) \binom{6k+6}{2} &= (3k+2)\binom{6k+7}{2} + (k+1)\binom{6k+8}{2}. \end{align}\tag{141}\] Similarly, we can subtract equation 139 from 140 and obtain further \(k-1\) relations: \[\label{6k43495kequations952} \begin{align} (3k+1)\binom{6k+5}{2} + 2\binom{6k+8}{2} &= (3k-4)\binom{6k+6}{2} + 6\binom{6k+7}{2},\\ (3k)\binom{6k+5}{2} + 3\binom{6k+8}{2} &= (3k-7)\binom{6k+6}{2} + 9 \binom{6k+7}{2},\\ &\vdots \\ (2k+4)\binom{6k+5}{2} + (k-1)\binom{6k+8}{2} &= 5\binom{6k+6}{2} + (3k-3)\binom{6k+7}{2}, \\ (2k+3)\binom{6k+5}{2} + (k)\binom{6k+8}{2} &= 2\binom{6k+6}{2} + (3k)\binom{6k+7}{2}. \end{align}\tag{142}\]

Analogously as always, one can check that the figure \(T\), carved out using all the above equations, has the volume \(\binom{6k+5}{2}\), which implies that it is an \(L\)-shape.

Figure 14: the figure T for n = 6k+4 and k=6

5.3.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[\binom{6k+6}{2} + (3k+1)\binom{6k+7}{2} + (k+1)\binom{6k+8}{2} = 72 k^3 + 216 k^2 + 208 k + 64,\] which gives \[F(S) = 72 k^3 + 198 k^2 + 181 k + 54.\] One can also find that the sum of the labels in \(T\) is \[675 k^5 + \frac{6345}{2} k^4 + 5739 k^3 + 5025 k^2 + \frac{4277}{2}k + 355 ,\] which gives \[G(S) = \frac{75}{2} k^3 + 111 k^2 + \frac{209}{2} k + 31.\]

5.3.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that 134 137 are in fact the minimal relations.

By Lemmas 6 and 7, the common values of each of equations 134 142 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(2k+5\) of them (as the common values of 134 and 135 are equal).

From Lemmas 8 and 9, we obtain the sets of factorizations of the common values of each of equations 138 142 . One can easily check that the largest catenary degree among these values is \(\mathrm{c} \left((k+1) \binom{6k+5}{2} + (3k+4) \binom{6k+6}{2} \right) = 4k+5\) and that the catenary degrees of the common values of equations 134 137 is smaller than that, which gives \[\mathrm{c}(S) = 4k+5.\]

Lastly, we apply Theorem 9 and construct a minimal presentation, analogously as before. The cardinality of the minimal presentation is \(2k+5\).

5.4 \(n = 6k+1, k>1\)↩︎

For the rest of this section, we put \((d_0,d_1,d_2,d_3) = \left(\binom{n+2}{2},\binom{n+1}{2},\binom{n+3}{2},\binom{n+4}{2} \right)\), and we will look for the Apéry set with respect to \(\binom{n+2}{2}\) instead.

5.4.1 Apéry set↩︎

We have the following: \[\begin{align} (6k+3)\binom{6k+2}{2} &= (3k-1)\binom{6k+3}{2} + (3k+1)\binom{6k+4}{2} + 0\binom{6k+5}{2}, \tag{143} \\ (3k+2)\binom{6k+3}{2} &= 0\binom{6k+2}{2} + (3k+1)\binom{6k+4}{2} + 0\binom{6k+5}{2}, \tag{144} \\ (3k+1)\binom{6k+4}{2} &= 0\binom{6k+2}{2} + (3k+2)\binom{6k+3}{2} + 0\binom{6k+5}{2}, \tag{145} \\ (2k+1)\binom{6k+5}{2} &= (2k+1)\binom{6k+2}{2} + 1\binom{6k+3}{2} + 1\binom{6k+4}{2}, \tag{146} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} 2 \binom{6k+3}{2} + k \binom{6k+2}{2} &= \binom{6k+4}{2} + k\binom{6k+5}{2}, \tag{147}\\ (6k-2)\binom{6k+3}{2} + 3\binom{6k+4}{2} &= (6k+2)\binom{6k+2}{2} + \binom{6k+5}{2} , \tag{148}\\ 3\binom{6k+3}{2} + \binom{6k+5}{2} &= \binom{6k+2}{2} + 3 \binom{6k+4}{2}, \tag{149} \\ \binom{6k+3}{2} + (k+1)\binom{6k+5}{2} &= (k+1)\binom{6k+2}{2} + 2 \binom{6k+4}{2}. \tag{150} \end{align}\] Adding equation 149 to 147 , we obtain additional \(k-1\) relations: \[\label{6k43195k-1equations951} \begin{align} 5 \binom{6k+3}{2} + (k-1) \binom{6k+2}{2} &= 4\binom{6k+4}{2} + (k-1)\binom{6k+5}{2},\\ 8 \binom{6k+3}{2} + (k-2) \binom{6k+2}{2} &= 7\binom{6k+4}{2} + (k-2)\binom{6k+5}{2},\\ &\vdots \\ (3k-4) \binom{6k+3}{2} + 2 \binom{6k+2}{2} &= (3k-5)\binom{6k+4}{2} + 2\binom{6k+5}{2}, \\ (3k-1) \binom{6k+3}{2} + 1 \binom{6k+2}{2} &= (3k-2)\binom{6k+4}{2} + 1\binom{6k+5}{2}. \end{align}\tag{151}\] Subtracting equation 149 from 148 , we obtain further \(2k-1\) relations: \[\label{6k431952k-1equations952} \begin{align} (6k-5)\binom{6k+3}{2} + 6\binom{6k+4}{2} &= (6k+1)\binom{6k+2}{2} + 2\binom{6k+5}{2},\\ (6k-8)\binom{6k+3}{2} + 9\binom{6k+4}{2} &= (6k)\binom{6k+2}{2} + 3\binom{6k+5}{2},\\ &\vdots \\ 4\binom{6k+3}{2} + (6k-3)\binom{6k+4}{2} &= (4k+4)\binom{6k+2}{2} + (2k-1)\binom{6k+5}{2}, \\ 1\binom{6k+3}{2} + (6k)\binom{6k+4}{2} &= (4k+3)\binom{6k+2}{2} + (2k)\binom{6k+5}{2}. \end{align}\tag{152}\]

One can check that the figure \(T\), carved out using all the above equations, has the volume \(\binom{6k+3}{2}\), which implies that it is an \(L\)-shape.

Figure 15: the figure T for n = 6k+1 and k=5

5.4.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(4k+2)\binom{6k+2}{2} + 2k\binom{6k+5}{2} = 108 k^3 + 126 k^2 + 42 k + 2 ,\] which gives \[F(S) = 108 k^3 + 108 k^2 + 27 k - 1.\] One can also find that the sum of the labels in \(T\) is \[999 k^5 + \frac{4149}{2} k^4 + \frac{3231}{2} k^3 + 570 k^2 + 84 k + 3 ,\] which gives \[G(S) = \frac{111}{2}k^3 + 60k^2 + \frac{31}{2}k.\]

5.4.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that 143 146 are in fact the minimal relations.

By Lemmas 6, 8, and 9, the common values of each of equations 143 152 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(3k+5\) of them (as the common values of 144 and 145 are equal).

From Lemmas 8 and 9, we obtain the sets of factorizations of the common values of each of equations 147 152 . One can easily check that the largest catenary degree among these values is \(6k+3\), attained for 143 , 148 , and all of 152 , hence \[\mathrm{c}(S) = 6k+3.\]

Lastly, to obtain a minimal presentation, we apply Theorem 9. Similarly as always, we do not have the sets of factorizations of the common values of the minimal relations. However, we can see that \((6k+3)\binom{6k+2}{2} \notin \langle \binom{6k+5}{2} \rangle\) and that \((3k+2)\binom{6k+3}{2} = (3k+1) \binom{6k+4}{2} \notin \langle \binom{6k+2}{2}, \binom{6k+5}{2} \rangle,\) as \[(3k+2)\binom{6k+3}{2} = (9k^2 + 15k + 6)\binom{6k+2}{2} - (9k^2 + 3k)\binom{6k+5}{2},\] where \((9k^2 + 15k + 6)\binom{6k+2}{2} \in \mathrm{Ap}(\langle \binom{6k+2}{2}, \binom{6k+5}{2} \rangle,\binom{6k+5}{2})\) (because \(9k^2 + 15k + 6 < \binom{6k+5}{2}\)) . This means that we can construct the minimal presentation as always, and it has cardinality \(3k+5\).

5.5 \(n = 6k+3, k>1\)↩︎

5.5.1 Apéry set↩︎

We have the following: \[\begin{align} (6k+5)\binom{6k+4}{2} &= 3k\binom{6k+5}{2} + (3k+2)\binom{6k+6}{2} + 0\binom{6k+7}{2}, \tag{153} \\ (3k+3)\binom{6k+5}{2} &= 0\binom{6k+4}{2} + (3k+2)\binom{6k+6}{2} + 0\binom{6k+7}{2}, \tag{154} \\ (3k+2)\binom{6k+6}{2} &= 0\binom{6k+4}{2} + (3k+3)\binom{6k+5}{2} + 0\binom{6k+7}{2}, \tag{155} \\ (k+1)\binom{6k+7}{2} &= (k+1)\binom{6k+4}{2} + 0\binom{6k+5}{2} + 1\binom{6k+6}{2}, \tag{156} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} 3 \binom{6k+5}{2} + k \binom{6k+4}{2} &= 2\binom{6k+6}{2} + k\binom{6k+7}{2}, \tag{157}\\ 6k\binom{6k+5}{2} + 3\binom{6k+6}{2} &= (6k+4)\binom{6k+4}{2} + \binom{6k+7}{2} , \tag{158}\\ 3\binom{6k+5}{2} + \binom{6k+7}{2} &= \binom{6k+4}{2} + 3 \binom{6k+6}{2}. \tag{159} \end{align}\] Adding equation 159 to 157 , we obtain additional \(k-1\) relations: \[\label{6k43395k-1equations951} \begin{align} 6 \binom{6k+5}{2} + (k-1) \binom{6k+4}{2} &= 5\binom{6k+6}{2} + (k-1)\binom{6k+7}{2},\\ 9 \binom{6k+5}{2} + (k-2) \binom{6k+4}{2} &= 8\binom{6k+6}{2} + (k-2)\binom{6k+7}{2},\\ &\vdots \\ (3k-3) \binom{6k+5}{2} + 2 \binom{6k+4}{2} &= (3k-4)\binom{6k+6}{2} + 2\binom{6k+7}{2}, \\ (3k) \binom{6k+5}{2} + 1 \binom{6k+4}{2} &= (3k-1)\binom{6k+6}{2} + 1\binom{6k+7}{2}. \end{align}\tag{160}\] Subtracting equation 159 from 158 , we obtain further \(k-1\) relations: \[\label{6k43395k-1equations952} \begin{align} (6k-3)\binom{6k+5}{2} + 6\binom{6k+6}{2} &= (6k+3)\binom{6k+4}{2} + 2\binom{6k+7}{2},\\ (6k-6)\binom{6k+5}{2} + 9\binom{6k+6}{2} &= (6k+2)\binom{6k+4}{2} + 3\binom{6k+7}{2},\\ &\vdots \\ (3k+6)\binom{6k+5}{2} + (3k-3)\binom{6k+6}{2} &= (5k+6)\binom{6k+4}{2} + (k-1)\binom{6k+7}{2}, \\ (3k+3)\binom{6k+5}{2} + 3k\binom{6k+6}{2} &= (5k+5)\binom{6k+4}{2} + k\binom{6k+7}{2}. \end{align}\tag{161}\]

One can check that the figure \(T\), carved out using all the above equations, has the volume \(\binom{6k+5}{2}\), which implies that it is an \(L\)-shape.

Figure 16: the figure T for n = 6k+3 and k=5

5.5.2 Frobenius number and genus↩︎

The largest label in \(T\) is \[(5k+5)\binom{6k+4}{2} + 2\binom{6k+6}{2} + (k-1)\binom{6k+7}{2} = 108 k^3 + 252 k^2 + 183 k + 39 ,\] which gives \[F(S) = 108 k^3 + 234 k^2 + 156 k + 29.\] One can also find that the sum of the labels in \(T\) is \[999k^5 + \frac{7641}{2}k^4 + 5712k^3 + 4152k^2 + \frac{2913}{2}k + 195 ,\] which gives \[G(S) = \frac{111}{2}k^3 + 120k^2 + \frac{159}{2}k + 15 .\]

5.5.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, equations 153 156 are in fact the minimal relations.

By Lemmas 6, 8, and 9, the common values of each of we find that 153 161 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(2k+4\) of them (as the common values of 154 and 155 are equal).

From Lemmas 8 and 9, we obtain the sets of factorizations of the common values of each of equations 147 161 . One can easily check that the largest catenary degree among these values is \(6k+5\), attained for 153 , 158 , and 161 , hence \[\mathrm{c}(S) = 6k+5.\]

Lastly, to obtain a minimal presentation, we apply Theorem 9. Similarly as always, we do not have the sets of factorizations of the common values of the minimal relations. However, we can see that \((6k+5)\binom{6k+4}{2} \notin \langle \binom{6k+7}{2} \rangle\), \((k+1)\binom{6k+7}{2} \notin \langle \binom{6k+5}{2} \rangle\), and that \((3k+3)\binom{6k+5}{2} = (3k+2) \binom{6k+6}{2} \notin \langle \binom{6k+4}{2}, \binom{6k+7}{2} \rangle,\) as \[(3k+3)\binom{6k+5}{2} = (3k^2 + 8k + 5)\binom{6k+4}{2} - (3k^2+2k)\binom{6k+7}{2},\] where \((3k^2 + 8k + 5)\binom{6k+4}{2} \in \mathrm{Ap}(\langle \binom{6k+4}{2}, \binom{6k+7}{2} \rangle,\binom{6k+7}{2})\) (because \(3k^2 + 8k + 5 < \binom{6k+7}{2}\)) . This means that we can construct the minimal presentation as always, and it has cardinality \(2k+4\).

5.6 \(n = 6k+5, k>1\)↩︎

5.6.1 Apéry set↩︎

We have the following: \[\begin{align} (6k+7)\binom{6k+6}{2} &= (3k+1)\binom{6k+7}{2} + (3k+3)\binom{6k+8}{2} + 0\binom{6k+9}{2}, \tag{162} \\ (3k+4)\binom{6k+7}{2} &= 0\binom{6k+6}{2} + (3k+3)\binom{6k+8}{2} + 0\binom{6k+9}{2}, \tag{163} \\ (3k+3)\binom{6k+8}{2} &= 0\binom{6k+6}{2} + (3k+4)\binom{6k+7}{2} + 0\binom{6k+9}{2}, \tag{164} \\ (k+1)\binom{6k+9}{2} &= (k+1)\binom{6k+6}{2} + 1\binom{6k+7}{2} + 0\binom{6k+8}{2}, \tag{165} \end{align}\] and by Lemmas 1 and 2, constructing points from the above equations and deleting their associated regions, the Apéry set is contained in the set of labels of the remaining figure. Furthermore, we have the following relations that satisfy the conditions of Theorem 1: \[\begin{align} 4 \binom{6k+7}{2} + k \binom{6k+6}{2} &= 3\binom{6k+8}{2} + k\binom{6k+9}{2}, \tag{166}\\ (6k+2)\binom{6k+7}{2} + 3\binom{6k+8}{2} &= (6k+6)\binom{6k+6}{2} + \binom{6k+9}{2}, \tag{167}\\ 3\binom{6k+7}{2} + \binom{6k+9}{2} &= \binom{6k+6}{2} + 3 \binom{6k+8}{2}. \tag{168} \end{align}\] Adding equation 168 to 166 , we obtain additional \(k-1\) relations: \[\label{6k43595k-1equations951} \begin{align} 7 \binom{6k+7}{2} + (k-1) \binom{6k+6}{2} &= 6\binom{6k+8}{2} + (k-1)\binom{6k+9}{2},\\ 10 \binom{6k+7}{2} + (k-2) \binom{6k+6}{2} &= 9\binom{6k+8}{2} + (k-2)\binom{6k+9}{2},\\ &\vdots \\ (3k-2) \binom{6k+7}{2} + 2 \binom{6k+6}{2} &= (3k-3)\binom{6k+8}{2} + 2\binom{6k+9}{2}, \\ (3k+1) \binom{6k+7}{2} + 1 \binom{6k+6}{2} &= (3k)\binom{6k+8}{2} + 1\binom{6k+9}{2}. \end{align}\tag{169}\] Subtracting equation 168 from 167 , we obtain further \(k-1\) relations: \[\label{6k43595k-1equations952} \begin{align} (6k-1)\binom{6k+7}{2} + 6\binom{6k+8}{2} &= (6k+5)\binom{6k+6}{2} + 2\binom{6k+9}{2},\\ (6k-4)\binom{6k+7}{2} + 9\binom{6k+8}{2} &= (6k+4)\binom{6k+6}{2} + 3\binom{6k+9}{2},\\ &\vdots \\ (3k+8)\binom{6k+7}{2} + (3k-3)\binom{6k+8}{2} &= (5k+8)\binom{6k+6}{2} + (k-1)\binom{6k+9}{2}, \\ (3k+5)\binom{6k+7}{2} + (3k)\binom{6k+8}{2} &= (5k+7)\binom{6k+6}{2} + (k)\binom{6k+9}{2}. \end{align}\tag{170}\]

One can check that the figure \(T\), carved out using all the above equations, has the volume \(\binom{6k+7}{2}\), which implies that it is an \(L\)-shape.

Figure 17: the figure T for n = 6k+5 and k=5

5.6.2 Frobenius number and genus↩︎

One can check that the largest label in \(T\) is \[(5k+6)\binom{6k+6}{2} + 2\binom{6k+8}{2} + k\binom{6k+9}{2} =108 k^3 + 360 k^2 + 399 k + 146 ,\] which gives \[F(S) = 108 k^3 + 342 k^2 + 360 k + 125.\] One can also find that the sum of the labels in \(T\) is \[999 k^5 + \frac{10971}{2}k^4 + 12006k^3 + 13086k^2 + \frac{14199}{2}k + 1533 ,\] which gives \[G(S) = \frac{111}{2}k^3 + \frac{351}{2}k^2 + 183k + 63.\]

5.6.3 Catenary degree↩︎

Using Proposition 5 and Remark 12, we find that 162 165 are in fact the minimal relations.

By Lemmas 6, 8, and 9, the common values of each of equations 162 170 are Betti elements. By Theorem 10, they are all the Betti elements, and there are \(2k+4\) of them (as the common values of 163 and 164 are equal).

From Lemmas 8 and 9, we obtain the sets of factorizations of the common values of each of equations 166 170 . One can easily check that the largest catenary degree among these values is \(6k+7\), attained for 162 , 167 , and 170 , hence \[\mathrm{c}(S) = 6k+7.\]

Lastly, to obtain a minimal presentation, we apply Theorem 9. Similarly as always, we do not have the sets of factorizations of the common values of the minimal relations. However, we can see that \((6k+7)\binom{6k+6}{2} \notin \langle \binom{6k+9}{2} \rangle\), \((k+1)\binom{6k+9}{2} \notin \langle \binom{6k+8}{2} \rangle\), and that \((3k+4)\binom{6k+7}{2} = (3k+3) \binom{6k+8}{2} \notin \langle \binom{6k+6}{2}, \binom{6k+9}{2} \rangle,\) as \[\frac{1}{3}(3k+4)\binom{6k+7}{2} = \frac{1}{3}(3k^2 + 10k + 8)\binom{6k+6}{2} - \frac{1}{3}(3k^2 + 4k +1)\binom{6k+9}{2},\] where \(\frac{1}{3}(3k^2 + 10k + 8)\binom{6k+6}{2} \in \mathrm{Ap}(\langle \frac{1}{3}\binom{6k+6}{2}, \frac{1}{3}\binom{6k+9}{2} \rangle,\frac{1}{3}\binom{6k+7}{2})\) (because \(3k^2 + 10k + 8 < \frac{1}{3}\binom{6k+9}{2}\)) . This means that we can construct the minimal presentation as always, and it has cardinality \(2k+4\).

5.7 Summary↩︎

Corollary 17. The Frobenius number of the numerical semigroup generated by the four consecutive triangular numbers \(\binom{n+1}{2},\binom{n+2}{2}, \binom{n+3}{2}, \binom{n+4}{2}\) is as follows: \[\begin{cases} \begin{align} &\frac{1}{3} n^3 + \frac{11}{6} n^2 + \frac{5}{2} n - 1 &&\text{if} \;\;n \equiv 0 \pmod{6},\;n \ge 6,\\ &\frac{1}{3} n^3 + \frac{5}{3} n^2 + \frac{10}{3} n + 1 &&\text{if} \;\;n \equiv 2 \pmod{6},\;n \ge 2,\\ &\frac{1}{3} n^3 + \frac{3}{2} n^2 + \frac{13}{6} n &&\text{if} \;\;n \equiv 4 \pmod{6},\;n \ge 4,\\ &\frac{1}{2} n^3 + \frac{3}{2} n^2 - 3 &&\text{if} \;\;n \equiv 1 \pmod{6},\;n \ge 1,\\ &\frac{1}{2} n^3 + 2 n^2 + \frac{1}{2} n - 4 &&\text{if} \;\;n \equiv 3 \pmod{6},\;n \ge 3,\\ &\frac{1}{2} n^3 + 2 n^2 + \frac{5}{2} n &&\text{if} \;\;n \equiv 5 \pmod{6},\;n \ge 5. \end{align} \end{cases}\]

Corollary 18. The genus of the numerical semigroup generated by the four consecutive triangular numbers \(\binom{n+1}{2},\binom{n+2}{2}, \binom{n+3}{2}, \binom{n+4}{2}\) is as follows: \[\begin{cases} \begin{align} &\frac{25}{144} n^3 + n^2 + \frac{5}{4} n &&\text{if} \;\;n \equiv 0 \pmod{6},\;n \ge 6,\\ &\frac{25}{144} n^3 + n^2 + \frac{17}{12} n + \frac{7}{9} &&\text{if} \;\;n \equiv 2 \pmod{6},\;n \ge 2,\\ &\frac{25}{144} n^3 + n^2 + \frac{13}{12} n - \frac{4}{9} &&\text{if} \;\;n \equiv 4 \pmod{6},\;n \ge 4,\\ &\frac{37}{144} n^3 + \frac{43}{48} n^2 + \frac{1}{48}n - \frac{169}{144} &&\text{if} \;\;n \equiv 1 \pmod{6},\;n \ge 1,\\ &\frac{37}{144} n^3 + \frac{49}{48} n^2 + \frac{3}{16}n - \frac{27}{16} &&\text{if} \;\;n \equiv 3 \pmod{6},\;n \ge 3,\\ &\frac{37}{144} n^3 + \frac{49}{48} n^2 + \frac{49}{48}n + \frac{37}{144} &&\text{if} \;\;n \equiv 5 \pmod{6},\;n \ge 5. \end{align} \end{cases}\]

Corollary 19. The catenary degree of the numerical semigroup generated by the four consecutive triangular numbers \(\binom{n+1}{2},\binom{n+2}{2}, \binom{n+3}{2}, \binom{n+4}{2}\) is as follows: \[\begin{cases} \begin{align} &\frac{2}{3}n + 1 &&\text{if} \;\;n \equiv 0 \pmod{6},\;n \ge 6,\\ &\frac{2}{3}n + \frac{5}{3} &&\text{if} \;\;n \equiv 2 \pmod{6},\;n \ge 8,\\ &\frac{2}{3}n + \frac{7}{3} &&\text{if} \;\;n \equiv 4 \pmod{6},\;n \ge 4,\\ &n+2 &&\text{if} \;\;n \equiv 1 \pmod{2},\;n \ge 3.\\ \end{align} \end{cases}\] Moreover: \(\mathrm{c} \left( \langle \binom{3}{2},\binom{4}{2},\binom{5}{2},\binom{6}{2} \rangle \right) = 10\).

Corollary 20. The cardinality of the minimal presentation of the numerical semigroup generated by the four consecutive triangular numbers \(\binom{n+1}{2},\binom{n+2}{2}, \binom{n+3}{2}, \binom{n+4}{2}\) is as follows: \[\begin{cases} \begin{align} &\frac{1}{3}n + 3 &&\text{if} \;\;n \equiv 0 \pmod{6},\;n \ge 12,\\ &\frac{1}{3}n + \frac{10}{3} &&\text{if} \;\;n \equiv 2 \pmod{6},\;n \ge 8,\\ &\frac{1}{3}n + \frac{11}{3} &&\text{if} \;\;n \equiv 4 \pmod{6},\;n \ge 10,\\ &\frac{1}{2}n + \frac{9}{2} &&\text{if} \;\;n \equiv 1 \pmod{6},\;n \ge 7,\\ &\frac{1}{3}n + 3 &&\text{if} \;\;n \equiv 3 \pmod{6},\;n \ge 9,\\ &\frac{1}{3}n + \frac{7}{3} &&\text{if} \;\;n \equiv 5 \pmod{6},\;n \ge 11. \end{align} \end{cases}\] Moreover: \(\# \rho \left( \langle \binom{3}{2},\binom{4}{2},\binom{5}{2},\binom{6}{2} \rangle \right) = 1\), \(\# \rho \left( \langle \binom{4}{2},\binom{6}{2},\binom{7}{2},\binom{8}{2} \rangle \right) = 1\), \(\# \rho \left( \langle \binom{5}{2},\binom{6}{2},\binom{7}{2},\binom{8}{2} \rangle \right) = 4\), \(\#\rho \left( \langle \binom{6}{2},\binom{7}{2},\binom{8}{2},\binom{9}{2} \rangle \right) = 2\), \(\# \rho \left( \langle \binom{7}{2},\binom{8}{2},\binom{9}{2},\binom{10}{2} \rangle \right) = 4\).

6 Closing remarks↩︎

In [18], Moscariello demonstrated that the Frobenius number of numerical semigroups generated by the infinite sequences \(n^2,(n+1)^2, (n+2)^2, \dots\) is asymptotically \(O(n^2)\). This result was used in [19] to show that the embedding dimension of such semigroups is asymptotically \(O(n)\). In [14], the Frobenius number of the numerical semigroup generated by \(n^2,(n+1)^2,(n+2)^2\) was determined, and it turned out to be given by a finite set of degree-three polynomials in \(n\). This matches the results of this paper on four consecutive squares, as in this case we also obtain polynomials of degree three in \(n\). Since for infinite sequences of squares the answer is asymptotically \(O(n^2)\), the question arises whether there exists a positive integer \(k\) such that \(F(\langle n^2,(n+1)^2, \dots, (n+k)^2\rangle)\) is found by a finite set of quadratic polynomials in \(n\). Using the following lower bound on the Frobenius number, proved in [27] (see also [7]), the answer is negative.

Theorem 21. Let \(a_1,\dots,a_m\) be positive integers such that \(\gcd(a_1,\dots,a_m) = 1\). Then \[F(\langle a_1, \dots,a_m \rangle) \geq ( (m-1)!a_1a_2 \cdots a_m)^{\frac{1}{m-1}} -\sum_{i=1}^m a_i .\]

Substituting into Theorem 21, we obtain \[F(\langle n^2,(n+1)^2, \dots, (n+k)^2\rangle) \geq (k! (n(n+1) \cdots (n+k))^2)^{\frac{1}{k}} - \sum_{i = 0}^k (n+i)^2 \geq (k! (n^{k+1})^2)^{\frac{1}{k}} - \sum_{i = 0}^k (n+i)^2.\] Hence, for \(n\) large enough, the right-hand side is \(\geq C \cdot (n^2)^{ \frac{k+1}{k}}\) for some positive constant \(C\), which shows that the Frobenius number cannot be a quadratic polynomial in \(n\).

In view of the results of Sections 2 and 3, we propose the following:

Problem 22. Apply the methods from Sections 2 and 3 to other families of numerical semigroups with embedding dimension four.

In Section 3, we restricted ourselves to work under the hypotheses of Proposition 2, since the families of numerical semigroups examined in Sections 4 and 5 satisfy these assumptions. The author did not attempt to extend the procedure developed in Section 3 to all numerical semigroups with embedding dimension four. By Lemma 4, any numerical semigroup with embedding dimension four satisfies the assumptions of Proposition 2 (for some arrangement of its generators) or \(a_{ii}d_i = a_{jj}d_j\) and \(a_{kk}d_k = a_{ll}d_l\) where \(\{i,j,k,l\} = \{0,1,2,3\}\). As a next problem, we propose the following:

Problem 23. Formulate and prove a version of Proposition 5 and of the procedure from Section 3 that applies to numerical semigroups with embedding dimension four for which \(a_{ii}d_i = a_{jj}d_j\) and \(a_{kk}d_k = a_{ll}d_l\) where \(\{i,j,k,l\} = \{0,1,2,3\}\).

The tame degree is a central invariant in factorization theory (see [22] and [21]). Catenary and tame degrees are often considered together; however, the tame degree is harder to obtain. In particular, obtaining it requires the sets \(\mathrm{Minimals}_{\leq} \varphi^{-1}(d_i + S)\). See [22]. Also, compare [22] with Remark 11.

Problem 24. Develop a procedure for finding the tame degree of any numerical semigroup with embedding dimension four.

7 Acknowledgments↩︎

At the time of writing this paper, the author was a high school student. The author thanks his tutor, Tomasz Kowalczyk, for suggesting the topic of numerical semigroups. The joint work of the author and Tomasz Kowalczyk is a part of the individual care of highly mathematically talented highschool students held by Jagiellonian University.

The author would like to also thank Pedro A. García-Sánchez and Alfred Geroldinger for their valuable comments and suggestions offered during our correspondence, throughout the development of this paper.

Kazimierz Chomicz

Institute of Mathematics

Faculty of Mathematics and Computer Science

Jagiellonian University

ul. Łojasiewicza 6, 30-348 Kraków, Poland

e-mail: kazikchomicz@gmail.com

References↩︎

[1]
J. C. Rosales and P. A. García-Sánchez, Numerical semigroups, vol. 20. New York: Springer, 2009.
[2]
J. J. Sylvester, Solution by W. J. Curran Sharp, ibidem, 36(271):315, 1883.“Problem 7382,” The Educational Times, and Journal of the College of Preceptors, vol. 36, no. 266, p. 177, 1883.
[3]
F. Curtis, On formulas for the Frobenius number of a numerical semigroup. Mathematica Scandinavica, vol. 67, no. 2, pp. 190–192, 1990, [Online]. Available: http://eudml.org/doc/167131.
[4]
J. L. Ramírez-Alfonsín, Complexity of the Frobenius problem,” Combinatorica, vol. 16, pp. 143–147, 1996, [Online]. Available: https://api.semanticscholar.org/CorpusID:118624008.
[5]
S. M. Johnson, A Linear Diophantine Problem,” Canadian Journal of Mathematics, vol. 12, pp. 390–398, 1960, doi: 10.4153/CJM-1960-033-6.
[6]
A. Brauer and J. E. Shockley, On a problem of Frobenius. Journal für die reine und angewandte Mathematik, vol. 211, pp. 215–220, 1962, [Online]. Available: http://eudml.org/doc/150562.
[7]
J. L. Ramírez-Alfonsín, The diophantine frobenius problem, vol. 30. Oxford: Oxford University Press, 2005.
[8]
A. Brauer, On a problem of partitions,” American Journal of Mathematics, vol. 64, pp. 299–312, 1942, doi: 10.2307/2371684.
[9]
J. B. Roberts, Note on linear forms,” Proceedings of the American Mathematical Society, vol. 7, pp. 465–469, 1956.
[10]
M. Lewin, An algorithm for a solution of a problem of Frobenius. Journal für die reine und angewandte Mathematik, vol. 276, pp. 68–82, 1975, [Online]. Available: http://eudml.org/doc/151602.
[11]
E. S. Selmer, On the linear diophantine problem of Frobenius. Journal für die reine und angewandte Mathematik, vol. 293/294, pp. 1–17, 1977, [Online]. Available: http://eudml.org/doc/151886.
[12]
D. C. Ong and V. Ponomarenko, The Frobenius number of geometric sequences. Integers, vol. 8, p. A33, 2008, [Online]. Available: http://eudml.org/doc/117381.
[13]
L. G. Fel, Numerical semigroups generated by squares and cubes of three consecutive integers,” in Combinatorial and additive number theory III, 2020, pp. 101–121.
[14]
M. Lepilov, J. O’Rourke, and I. Swanson, Frobenius numbers of numerical semigroups generated by three consecutive squares or cubes,” Semigroup Forum, vol. 91, pp. 238–259, 2015, doi: 10.1007/s00233-014-9687-8.
[15]
J. M. Marín, J. L. Ramírez-Alfonsín, and M. P. Revuelta, On the Frobenius number of Fibonacci numerical semigroups. Integers: Electronic Journal of Combinatorial Number Theory, vol. 7, p. A14, 2007, [Online]. Available: http://eudml.org/doc/116771.
[16]
A. M. Robles-Pérez and J. C. Rosales, arXiv:2507.01898 [math.NT]The Frobenius number corresponding to the squares of three consecutive Fibonacci numbers: comparison of three algorithmic processes.”
[17]
A. M. Robles-Pérez and J. C. Rosales, The Frobenius number for sequences of triangular and tetrahedral numbers,” Journal of Number Theory, vol. 186, pp. 473–492, 2017, doi: 10.1016/j.jnt.2017.10.014.
[18]
A. Moscariello, On integers which are representable as sums of large squares,” International Journal of Number Theory, vol. 11, no. 8, pp. 2505–2511, 2015.
[19]
F. Arias, J. Borja, and J. Terán, A note on numerical semigroups generated by k-th powers,” Integers, vol. 25, p. A11, 2025, doi: 10.5281/zenodo.14907270.
[20]
M. Hashuga, M. Herbine, and A. Jensen, Numerical semigroups generated by quadratic sequences,” Semigroup Forum, vol. 104, pp. 330–357, 2022, doi: 10.1007/s00233-022-10263-9.
[21]
A. Geroldinger and A. Moscariello, arXiv:2505.05330 [math.AC]There is no polynomial formula for the catenary and the tame degree of finitely generated monoids.”
[22]
A. Assi, M. D’Anna, and P. A. García-Sánchez, Numerical semigroups and applications, 2nd ed., vol. 3. Springer, 2020.
[23]
W. R. Inc., Champaign, Illinois, 2025“Mathematica, Version 14.3.” [Online]. Available: https://www.wolfram.com/mathematica.
[24]
M. Delgado, P. A. García-Sánchez, and J. Morais, NumericalSgps, A GAP package for numerical semigroups, Version 1.4.0.” https://gap-packages.github.io/numericalsgps, 2024.
[25]
T. G. Group, GAP \(-\) Groups, Algorithms, and Programming, Version 4.15.1.” https://www.gap-system.org, 2025.
[26]
R. Apéry, Sur les branches superlinéaires des courbes algébriques,” Comptes Rendus de l’Académie des Sciences de Paris, vol. 222, 1946.
[27]
H. G. Killingbergtrø, Betjening av figur i Frobenius’ problem,” Normat, vol. 2, pp. 75–82, 2000.
[28]
R. Kannan, Lattice translates of a polytope and the Frobenius problem,” Combinatorica, vol. 12, no. 2, pp. 161–177, 1992.
[29]
F. Aguiló-Gost, P. A. García-Sánchez, and D. Llena, On the number of L-shapes in embedding dimension four numerical semigroups,” Discrete Mathematics, vol. 338, no. 12, pp. 2168–2178, 2015, doi: https://doi.org/10.1016/j.disc.2015.05.019.
[30]
J. C. Rosales, Numerical semigroups with Apéry sets of unique expression,” Journal of Algebra, vol. 226, pp. 479–487, 2000.
[31]
F. Aicardi, On the geometry of the Frobenius problem,” Functional Analysis and Other Mathematics, vol. 2, no. 2, pp. 111–127, 2009, doi: 10.1007/s11853-009-0033-8.
[32]
H. Bresinsky, Binomial generating sets for monomial curves, with applications in \(\mathbb{A}^4\),” Rendiconti del Seminario Matematico Università e Politecnico di Torino, vol. 46, pp. 353–370, 1988.
[33]
J. C. Rosales, An algorithmic method to compute a minimal relation for any numerical semigroup,” International Journal of Algebra and Computation, vol. 6, no. 4, pp. 441–455, 1996.