Advanced maths

Numerical semigroup element catenary degree calculator with factorization chains

For one integer element compute the threshold that connects every factorization via bounded-distance chains, with a bottleneck spanning-tree certificate.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

For one integer element compute the threshold that connects every factorization via bounded-distance chains, with a bottleneck spanning-tree certificate. Existing factorization membership counts factorizations but never constructs or optimizes their chain distances.

THE FORMULAd(z,w)=max(|z−g|₁,|w−g|₁), g=min(z,w) coordinatewise; c(s)=min_T max_{e∈T}d(e).

A worked example

For generators [2,3] and element 6, the factorizations are (3,0) and (0,2). Their distance is max(3,2)=3, so the element catenary degree is 3.

Good to know

2–5 distinct positive integer generators ≤100, target 0–500; gcd1 and irredundant generators required for numerical-semigroup interpretation. ≤2,000 factorizations and ≤2 million pair distances. No global semigroup catenary degree claim.

Factorizations of one semigroup element

A factorization of s is a nonnegative integer vector z with Σzᵢgᵢ=s. Its coordinates count how many copies of each listed generator are used.

The input generators are positive and, for the numerical-semigroup interpretation here, have gcd one and are irredundant. Fixing generator labels is necessary because all later distances compare matching coordinates.

Numerical semigroup element catenary degree calculator with factorization chains worked exampleElement 6 in ⟨2,3⟩(3,0)(0,2)3No intermediate factorizationsmax(3,2)=3: catenary degree 3
Scroll across to see the full diagram.
For generators [2,3] and element 6, the factorizations are (3,0) and (0,2). Their distance is max(3,2)=3, so the element catenary degree is 3.

Compare this with the Affine semigroup membership and factorization count calculator. For one integer element compute the threshold that connects every factorization via bounded-distance chains, with a bottleneck spanning-tree certificate. Existing factorization membership counts factorizations but never constructs or optimizes their chain distances.

Componentwise gcd and factorization distance

To compare two factorizations, remove the coordinatewise minimum g. This cancels the generator copies they have in common, leaving the genuinely different parts on both sides.

The distance is the larger of the two remaining lengths. It is not the L1 distance between the original vectors and is not determined solely by the difference in their total lengths. For the numerical semigroup generated by2 and3, the element6 has factorizations(3,0) and(0,2). Removing their coordinatewise minimum leaves lengths3 and2, so their distance is three and the element's catenary degree is three. There are no intermediate factorizations that could connect them by smaller steps. An element with only one factorization has catenary degree zero, because there is nothing to connect; this should not be mistaken for the semigroup's global catenary degree.

Complete weighted factorization graph

A chain links factorizations through intermediate factorizations of the same element. Its step bound is the largest distance between consecutive entries; using intermediate vectors can make this bound smaller than one direct jump.

The element catenary degree is the smallest bound that lets every pair connect. Thus the problem concerns global connectivity of the factorization graph for this one element, rather than one preferred factorization pair.

MST bottleneck characterization

Build a complete weighted graph whose vertices are factorizations and whose edge weights are their distances. A minimum spanning tree minimizes the largest necessary connecting threshold.

Its largest edge is the catenary degree. Tree paths give chains between arbitrary pairs, while the cut exposed when that bottleneck threshold is removed proves that no smaller threshold connects all vertices. The distance between two factorizations first cancels their common component and then takes the larger remaining factorization length. Build the complete weighted graph on all factorizations of the chosen element. The smallest threshold making that graph connected equals the largest edge in a minimum-bottleneck spanning tree, which can be obtained through a minimum spanning tree. The returned tree is therefore a connectivity certificate: its edges give explicit bounded-distance chains linking every factorization, rather than just a maximum over unrelated pair distances.

Chain witness and lower-bound cut

For s=6 with generators 2 and 3, the only solutions are (3,0) and (0,2). Their coordinatewise minimum is (0,0), leaving lengths three and two.

There is no third factorization to serve as an intermediate step. The sole graph edge therefore has weight three, simultaneously proving the upper and lower bounds for the catenary degree.

Worked element-six example

The diagram draws factorization vectors as vertices and labels their connecting distances. A highlighted spanning tree explains how chains can avoid unnecessarily large direct edges in richer examples.

The independent GAP reference example uses generators 11,13,15,19 and target 100. Its eight factorizations have element catenary degree five, providing a less trivial check of distance and bottleneck logic. The generator list must be minimal and have gcd one for the numerical-semigroup interpretation. Adding a redundant generator changes the factorization coordinates and may change this invariant, even if the represented set of integers remains the same. Enumeration and pair-distance limits protect the browser from rapidly growing fibers. The page does not infer the supremum over all elements from this one fiber, nor does it compute tame degree or equal-length catenary variants under the same label.

Element invariant versus global semigroup invariant

A uniquely factored element has catenary degree zero, and the zero element has its zero-vector factorization. A target outside the semigroup has no factorization and therefore requires a separate nonmember result.

This is an invariant of one supplied element. The global catenary degree of the semigroup takes a supremum over elements and must not be inferred from the single finite target computation.

A few questions, answered

Is this the global catenary degree?

No. It is the degree of the entered element; the global invariant ranges over every semigroup element.

What if an element has one factorization?

Its catenary degree is zero because no nontrivial connection is needed.

Why use the componentwise gcd?

It cancels generator copies shared by the two factorizations before measuring their unmatched lengths.

How does an MST prove the result?

Its bottleneck gives connecting chains, and a cut below that threshold proves a smaller bound fails.

Find your calculator

Start typing to explore the library.