Let \( S \) be a numerical semigroup minimally generated by \( \{m_1,\ldots,m_n\} \). A factorization of an element \(s\in S\) is an n-tuple \( a=(a_1,\ldots,a_n) \) of nonnegative integers such that \( n=a_1 n_1+\cdots+a_n m_n\). The lenght of \(a\) is \(|a|=a_1+\cdots+a_n\). Given two factorizations \(a\) and \(b\) of \(n\), the distance between \(a\) and \(b\) is \(d(a,b)=\max \{ |a-\gcd(a,b)|,|b-\gcd(a,b)|\}\), where \(\gcd((a_1,\ldots,a_n),(b_1,\ldots,b_n))=(\min(a_1,b_1),\ldots,\min(a_n,b_n))\).
If \(l_1>\cdots > l_k\) are the lenghts of all the factorizations of \(s \in S\), the Delta set associated to \(s\) is \(\Delta(s)=\{l_1-l_2,\ldots,l_k-l_{k-1}\}\).
The catenary degree of an element in \(S\) is the least positive integer \(c\) such that for any two of its factorizations \(a\) and \(b\), there exists a chain of factorizations starting in \(a\) and ending in \(b\) and so that the distance between two consecutive links is at most \(c\). The catenary degree of \(S\) is the supremum of the catenary degrees of the elements in \(S\).
The tame degree of \(S\) is the least positive integer \(t\) for any factorization \(a\) of an element \(s\) in \(S\), and any \(i\) such that \(s-m_i\in S\), there exists another factorization \(b\) of \(s\) so that the distance to \(a\) is at most \(t\) and \(b_i\not = 0\).
The \(\omega\)-primality of an elment \(s\) in \(S\) is the least positive integer \(k\) such that if \((\sum_{i\in I} s_i)-s\in S, s_i\in S\), then there exists \(\Omega\subseteq I\) with cardinality \(k\) such that \((\sum_{i\in \Omega} s_i)-s\in S\). The \(\omega\)-primality is the maximum of the \(\omega\)-primality of its minimal generators.
The basic properties of these constants can be found in [GH06]. The algorithm used to compute the catenary and tame degree is an adaptation of the algorithms appearing in [CGLPR06] for numerical semigroup (see [CGD07]). The computation of the elascitiy of a numerical semigroup reduces to \(m/n\) with \(m\) the multiplicity of the semigroup and \(n\) its largest minimal generator (see [CHM06] or [GH06]).
‣ FactorizationsIntegerWRTList( n, ls ) | ( function ) |
ls is a list of integers and n an integer. The output is the set of factorizations of n in terms of the elements in the list ls. This function uses RestrictedPartitions.
gap> FactorizationsIntegerWRTList(100,[11,13,15,19]); [ [ 2, 6, 0, 0 ], [ 3, 4, 1, 0 ], [ 4, 2, 2, 0 ], [ 5, 0, 3, 0 ], [ 5, 2, 0, 1 ], [ 6, 0, 1, 1 ], [ 0, 1, 2, 3 ], [ 1, 1, 0, 4 ] ]
‣ FactorizationsElementWRTNumericalSemigroup( n, S ) | ( function ) |
S is a numerical semigroup and n a nonnegative integer. The output is the set of factorizations of n in terms of the minimal generating set of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> FactorizationsElementWRTNumericalSemigroup(1100,s); [ [ 0, 8, 1, 0, 0, 0 ], [ 0, 0, 0, 2, 2, 0 ], [ 5, 1, 1, 0, 0, 1 ], [ 0, 2, 3, 0, 0, 1 ] ]
‣ LengthsOfFactorizationsIntegerWRTList( n, ls ) | ( function ) |
ls is a list of integers and n an integer. The output is the set of lengths of the factorizations of n in terms of the elements in ls.
gap> LengthsOfFactorizationsIntegerWRTList(100,[11,13,15,19]); [ 6, 8 ]
‣ RClassesOfSetOfFactorizations( ls ) | ( function ) |
ls is a set of factorizations (a list of lists of nonnegative integers with the same lenght). The output is the set of \(\mathcal R\)-classes of this set of factorizations as defined in Chapter 7 of [RG09].
gap> s:=NumericalSemigroup(10,11,19,23);; gap> BettiElementsOfNumericalSemigroup(s); [ 30, 33, 42, 57, 69 ] gap> FactorizationsElementWRTNumericalSemigroup(69,s); [ [ 5, 0, 1, 0 ], [ 2, 1, 2, 0 ], [ 0, 0, 0, 3 ] ] gap> RClassesOfSetOfFactorizations(last); [ [ [ 2, 1, 2, 0 ], [ 5, 0, 1, 0 ] ], [ [ 0, 0, 0, 3 ] ] ]
‣ LengthsOfFactorizationsElementWRTNumericalSemigroup( n, S ) | ( function ) |
S is a numerical semigroup and n a nonnegative integer. The output is the set of lengths of the factorizations of n in terms of the minimal generating set of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> LengthsOfFactorizationsElementWRTNumericalSemigroup(1100,s); [ 4, 6, 8, 9 ]
‣ ElasticityOfFactorizationsElementWRTNumericalSemigroup( n, S ) | ( function ) |
S is a numerical semigroup and n a positive integer. The output is the maximum length divided by the minimum length of the factorizations of n in terms of the minimal generating set of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> ElasticityOfFactorizationsElementWRTNumericalSemigroup(1100,s); 9/4
‣ ElasticityOfNumericalSemigroup( S ) | ( function ) |
S is a numerical semigroup. The output is the elasticity of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> ElasticityOfNumericalSemigroup(s); 286/101
‣ DeltaSetOfSetOfIntegers( ls ) | ( function ) |
ls is list of integers. The output is the Delta set of the elements in ls, that is, the set of differences of consecutive elements in the list.
gap> LengthsOfFactorizationsIntegerWRTList(100,[11,13,15,19]); [ 6, 8 ] gap> DeltaSetOfSetOfIntegers(last); [ 2 ]
‣ DeltaSetOfFactorizationsElementWRTNumericalSemigroup( n, S ) | ( function ) |
S is a numerical semigroup and n a nonnegative integer. The output is the Delta set of the factorizations of n in terms of the minimal generating set of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> DeltaSetOfFactorizationsElementWRTNumericalSemigroup(1100,s); [ 1, 2 ]
‣ MaximumDegreeOfElementWRTNumericalSemigroup( n, S ) | ( function ) |
S is a numerical semigroup and n a nonnegative integer. The output is the maximum length of the factorizations of n in terms of the minimal generating set of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> MaximumDegreeOfElementWRTNumericalSemigroup(1100,s); 9
‣ CatenaryDegreeOfSetOfFactorizations( ls ) | ( function ) |
ls is a set of factorizations (a list of lists of nonnegative integers with the same lenght). The output is the catenary degree of this set of factorizations.
gap> FactorizationsIntegerWRTList(100,[11,13,15,19]); [ [ 2, 6, 0, 0 ], [ 3, 4, 1, 0 ], [ 4, 2, 2, 0 ], [ 5, 0, 3, 0 ], [ 5, 2, 0, 1 ], [ 6, 0, 1, 1 ], [ 0, 1, 2, 3 ], [ 1, 1, 0, 4 ] ] gap> CatenaryDegreeOfSetOfFactorizations(last); 5
‣ CatenaryDegreeOfNumericalSemigroup( S ) | ( function ) |
S is a numerical semigroup. The output is the catenary degree of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> CatenaryDegreeOfNumericalSemigroup(s); 8
‣ CatenaryDegreeOfElementInNumericalSemigroup( n, S ) | ( function ) |
n is a nonnegative integer and S is a numerical semigroup. The output is the catenary degree of n relative to S.
gap> CatenaryDegreeOfElementInNumericalSemigroup(157,NumericalSemigroup(13,18)); 0 gap> CatenaryDegreeOfElementInNumericalSemigroup(1157,NumericalSemigroup(13,18)); 18
‣ TameDegreeOfSetOfFactorizations( ls ) | ( function ) |
ls is a set of factorizations (a list of lists of nonnegative integers with the same lenght). The output is the tame degree of this set of factorizations.
gap> FactorizationsIntegerWRTList(100,[11,13,15,19]); [ [ 2, 6, 0, 0 ], [ 3, 4, 1, 0 ], [ 4, 2, 2, 0 ], [ 5, 0, 3, 0 ], [ 5, 2, 0, 1 ], [ 6, 0, 1, 1 ], [ 0, 1, 2, 3 ], [ 1, 1, 0, 4 ] ] gap> TameDegreeOfSetOfFactorizations(last); 4
‣ TameDegreeOfNumericalSemigroup( S ) | ( function ) |
S is a numerical semigroup. The output is the tame degree of S.
gap> s:=NumericalSemigroup(101,113,196,272,278,286); <Numerical semigroup with 6 generators> gap> TameDegreeOfNumericalSemigroup(s); 14
‣ TameDegreeOfElementInNumericalSemigroup( n, S ) | ( function ) |
n is an elment of the numerical semigroup S. The output is the tame degree of n in S.
gap> s:=NumericalSemigroup(10,11,13); <Numerical semigroup with 3 generators> gap> TameDegreeOfElementInNumericalSemigroup(100,s); 5
‣ OmegaPrimalityOfElementInNumericalSemigroup( n, S ) | ( function ) |
n is an elment of the numerical semigroup S. The output is the \(\omega\)-primality of n in S as explained in [BGG10].
gap> s:=NumericalSemigroup(10,11,13); <Numerical semigroup with 3 generators> gap> OmegaPrimalityOfElementInNumericalSemigroup(100,s); 13
‣ OmegaPrimalityOfNumericalSemigroup( n, S ) | ( function ) |
S is a numerical semigroup. The output is the maximum of the \(\omega\)-primalities of the minimal generators of S.
gap> s:=NumericalSemigroup(10,11,13); <Numerical semigroup with 3 generators> gap> OmegaPrimalityOfNumericalSemigroup(s); 5
generated by GAPDoc2HTML