WorksMathematics
How Many Cycle Lengths Can a Unique Quotient Require?
Abstract
Given two permutations and , suppose there is just one finite dynamical system , up to isomorphism, whose direct product with is . How many different cycle lengths can have? For every sufficiently large we construct a divisor with cycle lengths and a target with exactly . Their unique quotient has asymptotically distinct cycle lengths. Every one of these lengths is absent from the target. The divisor is fixed once is chosen. Its cycles have lengths , where is the product of the first primes and runs over those primes. The proof chooses a set containing almost all the first primes. Each quotient cycle omits exactly two primes of this set. A congruence fixes the number of states assigned to each missing pair. Smaller primes then distinguish several forced cycle lengths within each pair.
A quotient whose lengths are absent from its product
Let denote one cycle of length , and let denote disjoint copies. A permutation is a sum of such cycles. Two permutations are isomorphic when each cycle length occurs with the same multiplicity in both. In the product both coordinates advance one step at a time. A pair returns to its starting point after steps, so the states form cycles of that length. Thus : both factor lengths disappear from the product. In a division equation , we call the known factor the divisor. How many lengths can disappear when the quotient is uniquely determined?
Write for the set of distinct cycle lengths of . Let be the first primes in increasing order and set . Our divisor has one cycle for each prime omitted from this product.
Theorem 1.1 (A unique quotient with many cycle lengths). For every sufficiently large there is a permutation with exactly distinct cycle lengths such that, for
the equation has exactly one solution up to isomorphism among all finite dynamical systems. As ,
A finite dynamical system here is a finite set with a map to itself. If the product is a permutation, a nonperiodic state in either factor would give a nonperiodic state in the product. Thus every candidate quotient in the theorem is already a sum of cycles. Throughout, denotes the natural logarithm.
For a finite instance, take . The construction in Remark 3.4 gives a target with 272 distinct lengths whose unique quotient has 29 915. We begin with a much smaller example in which the quotient can be recovered by hand.
Recovering a quotient by hand. Take the first three primes, so that . Consider
The divisor has 31 states and the target 310, so has ten. Each possible length in divides 30, since divides every product length to which its cycle contributes. Look at the eight 15-cycles. Only multiplication by can produce them. An odd contributes copies of , one for each state of , while an even produces 30-cycles. We have therefore counted eight states of odd period. The remaining two states force one . In the same way the seven 10-cycles leave three states of period divisible by 3, and the five 6-cycles leave five states of period divisible by 5. They force one and one . These cycles exhaust the ten states, and multiplication verifies the answer .
Can the same counts give two quotients? Keep the known factor . Write for the number of states whose period is divisible by . The two sums
each have 60 states and give and . Multiplying either by gives
Since already requires sixty states, these are two distinct minimum-size realisations of the same marginals.
Where the large number of lengths comes from. To force a quotient, we will choose counts for which exactly one sum attains the smallest size. Then we take . Any quotient of by must have the counts read from and the size . It is therefore the same minimum-size sum . Lemma 2.1 justifies this reading of the counts.
We say that a cycle misses if its length is not divisible by . To force many lengths, choose a set containing almost all the first primes. Arrange the counts so that every cycle in a smallest realisation omits exactly two primes of . There are about choices for the missing pair. A congruence determines the number of states assigned to each pair. A second set of primes, called markers, then forces about different lengths for each pair. Eisenbrand and Shmonin [16] give an earlier example in which a unique sum uses every one of a chosen set of integer vectors. Here every length dividing the integer is available. The proof must explain why all competing choices fail. Section 3 gives the construction. Section 3.2 returns to the product and proves Theorem 1.1.
Relation to division algorithms. Doré et al. find a connected quotient in polynomial time when one exists [13]. For sums of cycles, Bridoux et al. can count all quotient classes in polynomial time for each fixed divisor [8]. Thus their result applies to each fixed , with a polynomial degree that can depend on . Does a single polynomial bound suffice to find a quotient when varies and the input permutations are given by their transition tables? Theorem 1.1 shows that the only answer can contain more than any fixed multiple of distinct lengths. The running time for this divisor family remains open.
Crespelle, Phan and Richard describe all cycle-sum quotients by recursion on the number of primes [9 Theorem 3.8]. In their notation our question asks how large , the number of distinct lengths, can be when that recursion has a single quotient to describe [9 §2.1]. For unrestricted explicit divisors, deciding existence is NP-complete even for permutations [19 Theorem 1]. For background on the semiring of finite dynamical systems and the equations studied in it, see [12, 20, 21].
What the product tells us about the quotient
Reading the target
For a finite set of primes let . Consider a sum , where is the number of -cycles. Each cycle contributes states. The marginal at counts the states on all cycles whose length is divisible by . Thus
Distinct primes may count the same state. For example, a single 6-cycle contributes six to each of and , but only six to . In the notation used below, size always counts states and support size always counts distinct cycle lengths.
Lemma 2.1 (Reading the marginals from a product). Let and . Suppose the cycle lengths of the permutation belong to . Write for the multiplicity of in , taking a missing length to have multiplicity zero. Then holds exactly for sums of cycles with lengths dividing that satisfy
Proof. A nonperiodic state would make nonperiodic for every state of . Thus is a sum of cycles. Each length in divides the product length , which in turn divides . Since is squarefree, there are just two outcomes:
Summing over the cycles of gives
The shorter lengths are distinct. Their coefficients give exactly the stated marginals. Conversely, once these coefficients agree, the equality of the two total sizes fixes the remaining coefficient at .
Choosing a size that forces a quotient
For any nonnegative vector with , let
where the allowed lengths divide . A realisation always exists: has these marginals. We allow the empty sum for . An optimum is a realisation with states. Removing a fixed point changes none of the marginals, so an optimum contains no fixed point.
For a target in Lemma 2.1, first check that is an integer and each is nonnegative. Divisibility by then follows by reducing modulo , since only the terms indexed by survive. The lemma shows that a quotient exists exactly when : one can add fixed points to an optimum. In particular, if , the quotients are precisely the optima. This last observation is how we will force uniqueness. An arbitrary quotient can be larger than an optimum. For , for instance, is a three-state quotient of whose marginals already occur on the two-state system .
Remark. (An interpretation using group actions.) Let the cyclic group of order act on by sending its generator to one time step. The subgroup of order fixes the states of period dividing , so its fixed-point count (its mark) is . Together with , the mark at the trivial subgroup, the product thus gives of the subgroup marks. The full collection determines each in order of increasing . A -cycle contributes all states after steps if , and zero otherwise. The fixed-point count is therefore for each . This is the finite case of the mark formula for cyclic actions [14 author version, (2-6-1) and (2-6-4)].
Forcing many different cycle lengths
A cycle for each pair of missing primes
Return to the ten-state quotient . Its three lengths can also be read as the three pairs of primes they miss. For instance, missing 2 and 3 leaves . With a set of primes there are possible pairs. We want several lengths for each pair. Multiplying its base length by different primes outside gives such lengths. We call these primes markers. Can the marginals force every one of the resulting cycles?
Write . For a pair put , and let , where ranges over all unordered pairs in . Choose a set of marker primes outside , with . Let , and . The condition for every says that each marker exceeds the sum of all smaller markers. Taking one cycle for each pair and each marker gives
In each group of cycles indexed by there are states. The marker occurs on cycles with states in total.
It helps to see both kinds of information in one example. Take and , so and . The three groups of are
We know the three group sizes because we built the table. To recover it we are given only the size, 205 states, and the marginals. For example, states miss 11, and states carry 3. Can these overlapping counts recover the table?
Lemma 3.1 (Forcing the cycles of each missing pair). Take and . Suppose
Then , and is the only realisation of size . It has different cycle lengths.
Proof. First we show that every cycle of a competing sum must miss exactly two primes. Once the cycles fall into pair groups, we can determine the size of each group and finally the cycles that fill it.
Which primes can a cycle miss? For , let count the states of on cycles whose lengths are not divisible by . By construction,
Each state of misses two primes, so . Summing gives , where . The inequality for in (2) gives . Thus .
Take any realisation of these marginals with . A cycle containing all primes of would use at least states. A cycle missing only has length divisible by . None of its states would be counted by , but only states of are missing from this count. Thus each state of is counted in at most of the marginals indexed by . In every state is counted exactly times. Hence
Since , this forces and equality at each state. Every cycle of therefore misses exactly two primes of .
How large is each group? A cycle missing exactly has length divisible by . Write for the total size of this group in . Since , exactly states of miss . Hence
This is where the classical one-row result applies. With , the coefficients are complementary products. A row total below has at most one nonnegative representation by these numbers [17 arXiv version, Proposition 1(a) and Example 12]. Remark A.2 gives the semigroup interpretation. Here the congruence can be seen directly.
In the example, the row for 11 reads . Modulo 13 it gives (mod 13), while leaves just .
In general, reduction of (3) modulo isolates because every other coefficient is divisible by , and is invertible modulo . Hence (mod ). Both and lie in , because multiplying either by gives at most . Thus . This reasoning also recovers a different prescribed value for each group whenever the corresponding row totals still satisfy . We will use that observation again when every marginal is required to be positive.
Which cycles can fill a group? Return to the example. Each group now has size five in its own units. Its cycles bearing 3 use a multiple of three units. Six would exceed five, so their contribution is zero or three. The observed total requires all three groups to contribute three. Each group thus contains its cycle marked 3. Two units remain in each group. The observed 2-marginal is , so every group must use both units on its cycle marked 2. Two unmarked copies would give too small a marginal.
Measure the size of group in units of . Its total is . Cycles bearing the largest marker contribute a multiple of . As , that contribution is either 0 or . Summing the maximal contributions over all groups gives . Every group must therefore attain its maximum. It contains exactly one cycle of length . Removing this cycle from each group leaves normalised size in each and leaves all smaller marker marginals intact. Descending through the markers recovers every cycle of . The missing pair and the marker can both be read from the prime factors of a length, so all lengths differ. □
With no markers, taking one copy of for each pair already forces lengths under (2) with . The first two parts of the proof give each group normalised size one. The ten-state example has and in this unmarked case. Even the largest row sum, at , is below one, so these two steps already force . Appendix A explains both the need for the strict marker inequality and the connection between one row and numerical semigroups.
The unique quotient for the first primes
Proof of Theorem 1.1. The lemma gives lengths. To make the pair count large, we want . To fit many markers into each pair, we need room for their sum in the row inequalities. Each row uses at most in reciprocal weights, so suffices. We can achieve both goals by reserving the smaller primes for markers.
Take and . This discards only primes from . Since by the prime number theorem,
Choose a budget for the sum of the markers. Then and . Start with 2 and repeatedly take the least prime larger than the running sum. The first markers are 2, 3, 7, 13, with sums 2, 5, 12, 25. Stop before the next sum would exceed . Each chosen prime is at most for large , so the two prime sets are disjoint. In the infinite greedy sequence the least prime above is by the prime number theorem. Hence . Averaging the logarithms of these ratios gives . The stopping rule now gives .
Apply Lemma 3.1 to . Use the resulting unchanged over all of . The unused primes have , so no cycle of a competing realisation can contain them. The lemma therefore still gives as the unique minimum, of size .
Set . Any quotient of by has size and, by Lemma 2.1, the marginals of . It must therefore equal up to isomorphism. To count the lengths of , use (1). For , a pair containing gives a cycle missing . For , a cycle carrying a different marker misses , since for large . For an unused we have . Thus for every , and because some prime occurs. The target has exactly the lengths and .
Each length of omits two primes of ; a target length omits at most one. The two length sets are disjoint. Finally
Can every prime occur in the quotient?
The division theorem is now proved. Some primes in its construction have zero marginal, which immediately rules out any length divisible by them. Is that shortcut essential? We can require each prime to occur on some cycles and to be absent from others. Keeping the missing pairs will also let us compare this example with the upper bound in Corollary 5.2.
Remark 3.2 (extending the prime set). Suppose , where . One way to incorporate the unused primes is to multiply every length by . The resulting witness has size , original prime marginals , and marginal for every . If is nonempty, these last marginals force every realisation of size at most to have exactly states, all on cycles with lengths divisible by . Dividing the lengths by recovers the original instance. Thus the lifted optimum is unique and its support is unchanged. For this is the identity. The cost of this simple construction is that the marginals for are saturated.
Theorem 3.3 (Positive marginals in every coordinate). For all sufficiently large there is a marginal vector on with entries below and a unique minimum-size realisation . Each occurs on some cycles of and is absent from others, so . For some , every cycle of misses exactly two primes of . Moreover,
Proof. Keep , , and the parameter choices from the proof of Theorem 1.1. It remains to introduce the unused primes without saturating their marginals or losing uniqueness.
Where do the unused primes go? Let . Its cardinality is and all its primes are below . A positive proportion of the primes exceed , again by the prime number theorem. Assign to each a pair of such primes, with disjoint endpoints for different . Large endpoints give a small base length . We will use this to make the entire -marginal fit just one cycle. Set
Let be the normalised size of group in . It equals on a chosen pair and elsewhere. Each row contains at most one chosen pair. Thus, writing ,
In particular for every row and for large . By the first two parts of the lemma, any realisation of the marginals of of size at most has size exactly . Every cycle in it misses a pair, and every group has its prescribed size .
Recovering the additional cycles. Let . Our choice of endpoints gives
In a competing optimum, write for the multiplicity of length , where is a product of primes outside . The -marginal of is . Dividing by gives
Every positive term costs at least , so there is just one. Its integer coefficient must also be one. Hence , , and forces . This identifies the cycle carrying each , including its group. Removing all these cycles restores size in each group in normalised units. The marker argument from the lemma then recovers .
Every prime of is present on cycles from some pairs and missing from cycles of other pairs. Each marker occurs on its own cycles and is absent from cycles bearing another marker, since for large . Each unused prime was assigned to exactly one cycle. Thus $0 < s_p < n < L \le M$ for every . The divisibility holds by definition. Finally the unique optimum uses
different lengths. The quadratic factor counts the pairs. The extra factor counts the markers that the marginals can distinguish within each pair.
Remark 3.4 (finite sizes). The asymptotic factor grows slowly. One concrete instance with all marginals strictly below uses the first 271 primes. Take , , and assign the remaining 25 primes to disjoint pairs from the 50 largest primes of , pairing largest with smallest. The unique optimum has lengths. The single marker is absent from the 25 private cycles. Appendix A verifies the numerical conditions, gives a sufficient threshold for the asymptotic choice of parameters, and compares finite choices of markers.
How large could the support be in general?
Our construction gives a unique minimum-size realisation. Other marginals can have several such realisations. How many lengths does one really need if one may choose among them?
For the primes 2, 3, 5, 7, consider . Both
have these marginals and have 43 states. This is the minimum. A cycle whose length contains two of 3, 5, 7 would contribute at least their product to both marginals, exceeding the smaller one. The states counted by these three primes are therefore disjoint and already number . We need at least three distinct lengths, one for each prime. The first sum achieves three and the second uses four.
Write for the fewest lengths among realisations of size . For the worst case over , call admissible when and for every . The bound makes the following maximum finite. Lemma 2.1 also applies to larger marginals. In symbols,
Theorem 3.3 supplies the lower bound below. Exchanging cycles in an optimum will give the upper bound.
Section 5 sharpens the upper bound for missing pairs.
Lemma 4.1 (Distinct subsets give distinct marginal vectors). Fix any finite nonempty prime set . Let minimise the number of distinct lengths among the minimum-size realisations of . For each of its distinct lengths, take one copy of that cycle. The subsets of these cycles have different marginal vectors. In particular, with the sum-of-divisors function,
Proof. Any subset is a minimum-size realisation of its own marginals. Replacing it by a smaller realisation would improve . Suppose two distinct subsets have the same marginals. Their sizes must then agree. Cancel the common cycles. Each side still has a cycle, since each remaining length contains a prime. Replace one side by the other as many times as the multiplicities in allow. Each replacement preserves size and marginals and uses only lengths already present. When one length is exhausted we have an optimum with fewer distinct lengths, a contradiction.
Divide the -coordinate of a subset sum by . It is an integer between 0 and . It is also at most : each possible contribution is a different divisor of , used at most once. Counting the possible coordinate vectors gives the displayed bound. For , by the prime number theorem, giving the asserted upper bound on . □
The subset-sum exchange appears in Eisenbrand and Shmonin [16 Lemma 3]. Their Corollary 5(i) gives a sparse optimum by adding a coordinate for the objective value. Aliev et al. [3] use optimality directly: when both signs of an exchange are feasible, its cost must be zero. Here the divisor structure gives the additional coordinate bound , since the subsets use each length at most once.
In integer programming, each nonempty subset of the primes gives a column. Its cycle has length and contributes states to every marginal indexed by . Including size as the last coordinate gives the column , where is the incidence vector of . All nontrivial lengths are available. The minimum number of columns used to reach a target is often written . Its maximum over targets is an integer Carathéodory rank [4, 1, 2]. Our targets have the particular form . In numerical semigroups the analogous count of distinct generators is called the 0-length [10]. General bounds for integer matrices appear in Aliev et al. [3] and Berndt et al. [7]. Jansen et al. [18] force many distinct configurations in bin packing. In our setting the entire matrix is prescribed by the primes before the marginals are chosen.
Which lengths would a search have to consider?
A different count arises when we use the lengths in the input and the size of the quotient to list possible lengths . In the support test of Bridoux et al., is a candidate when it fits in the quotient and its products with the divisor’s cycles all have lengths present in the target. The candidates absent from the target form the principal support. Specifying the multiplicity of each of these lengths determines at most one quotient [8 Lemma 11].
For the family of Theorem 1.1, write . The candidate set is exactly . Indeed, for , each is either or , and both occur in . Conversely any candidate divides one of these product lengths and thus divides . For large the shortest target length exceeds . To see this, recall that the construction takes and . Since and , we have . Thus every candidate belongs to the principal support. Fix a missing pair . Its marked cycle of length fits in the quotient, so every divisor of fits as well. This gives at least candidates out of at most divisors of .
In short, lengths pass this test, and the only quotient uses of them. In terms of the number of input states , the latter count is . Indeed, , and , so . Even the candidate count is . Finding compatible multiplicities is a separate algorithmic question.
How sharp is the missing-pair construction?
In the construction of Theorem 3.3, each length misses a pair of primes from a common set . Could one force substantially more lengths by adding more markers to each pair? Under the same inequalities on the missing mass, the answer is no Corollary 5.2. To see why, group the lengths by their missing pair. Members of a group share a large divisor. After removing it, we can record a subset of lengths by a few small sums. If two subsets give the same sums, an exchange reduces the support.
Exchanges within a partition of the lengths
We give the argument for any partition. For a group , choose a positive common divisor of its lengths and put
Each distinct length occurs once in this sum. For example, if a group contains , taking gives , while its actual number of states divided by is . The first quantity bounds the sum of one copy of each selected length after division by . The second is the normalised mass that an exchange must preserve.
Theorem 5.1 (Grouping criterion). Let be a minimum-size realisation of nonzero marginals , and write . Partition into nonempty groups, with common divisors as above, and set . There is an optimum with such that for every real ,
Here is the number of primes at most .
The first term accounts for one sum per group with . The second allows one marginal for each prime up to . The last bounds all the lengths in the remaining groups.
Proof. Keep the original set of available lengths, the prescribed marginals and the number of states in each group. Among all realisations with these data, choose one, , with the fewest distinct lengths. Its size is still , so is an optimum. We will use the same for every .
First consider a group with . If uses lengths in this group, their quotients are distinct positive integers, so . The total number of lengths used in these groups is at most .
It remains to count the lengths in the groups with . Take a subset of these lengths, one copy of each. Record the normalised sum for each such group and the marginal for each prime . These data determine the subset’s other marginals as well. Indeed, if divides a length in one of the groups, then , so . Every state counted in that group contributes to the -marginal. The recorded group sum determines that contribution.
If two different subsets had the same data, their difference would give an exchange with coefficients in preserving every group’s mass and every marginal. Since all lengths are positive and the total mass is preserved, the exchange has both signs. Repeat it until the first length being subtracted disappears. This produces a realisation with fewer lengths among the same choices, contradicting the definition of .
If these groups contain lengths of , the subsets therefore give different records. There are at most
records. Take base-two logarithms and use concavity to bound . Adding the count for the groups with proves the theorem.
The scale of the lower bound
Corollary 5.2 (The missing-pair class). Work with the first primes . Suppose some optimum of size has the following property. There is a set , with and , such that each cycle length of misses exactly two primes of , and for every . Then the marginals have an optimum with at most
distinct lengths. The largest minimum support over the admissible instances in this class is
Proof. The zero vector has the empty optimum, so take . For the pair use the common divisor , and write for the number of states in the group. Put for an empty group. The states missing belong to exactly the groups . Counting them gives
Since , the sum of the in each row is less than . Summing the rows counts each pair twice. It follows that , since counts each used length once and counts it with its multiplicity. Spread over all possible pairs, assigning zero to unused pairs, this gives average normalised mass below . The logarithm in the grouping bound is where enters.
There are at most nonempty groups. The function increases in both arguments (differentiate in to get , where ). These bounds on and give the displayed main term in Theorem 5.1. For the error terms take . Every state misses two primes of , so . In particular . Thus , and since . Finally gives the stated asymptotic upper bound. The unique optimum of Theorem 3.3 belongs to this class, including the inequalities on each . It supplies the matching lower bound.
Grouping by the large prime factors
Another natural choice is to put two lengths in the same group if they have the same prime factors above a threshold . Once the group mass is known, every prime above is accounted for.
Proposition 5.3 (Large-prime patterns). Let be a finite set of primes, , and . For put
where denotes the sum of positive divisors. If some optimum has distinct values of on its lengths, then the same marginals have an optimum with at most
distinct lengths. In particular, for and , the condition gives lengths.
Proof. Group the lengths by . In any group the normalised lengths are distinct divisors of , so the sum of any subset lies between and . The subset has at most states and uses each divisor of at most once. Hence its marginal at each lies between and . For , either every length of a given group is divisible by , or none is. The exchange argument of Theorem 5.1 therefore counts all the lengths using these group sums and small-prime marginals alone.
We have . For the first primes, , uniformly in the marginal sizes. Taking for sufficiently large gives . This proves the final assertion.
For example, an optimum has if every cycle misses at most two primes above . The same conclusion holds for missing triples if every pair occurs in only distinct triples. Neither example needs a bound on .
The distinction between the two ways of grouping matters already in Theorem 3.3. Take . All primes in exceed . For every marker the large-prime part of is the full length . The superincreasing markers leave at most markers at most , giving different large-prime parts. Grouping by the missing pair alone uses just groups and has .
How many lengths can one pair carry?
Proposition 5.4 (One pair). In Corollary 5.2, fix one witnessing optimum and the normalised masses of its pair groups. Consider the realisations with these marginals and masses in which each length misses exactly two primes of . Every such realisation with smallest total support uses
distinct lengths in each group . Examples attain this order in one group.
The restriction to these lengths fixes the total size at . Allowing other lengths could add states outside the groups while preserving the same .
Proof. Choose a support-minimising member of the stated family. Such a member exists because the family contains and has fixed total size. In one group write and . The sum of the positive integers , with multiplicities, is , which settles the claim for bounded . For large , split the lengths at a threshold . Each uses more than units of mass, so there are at most such lengths. For we use the prime marginals to count subsets. This gives at most lengths, as we show below. To balance the two terms that depend on , take .
Let be the distinct used values . To distinguish subsets , record
The first coordinate preserves the group mass. For a prime this already preserves its marginal. For and , the corresponding coordinate times gives the marginal of the chosen subset. A prime larger than cannot divide any in this subset. Equal records would therefore allow us to exchange copies in this group up to the first disappearing length, as in Theorem 5.1. This would reduce the total support of $Y. There are at most 1 + choices of the first coordinate. For each , the distinct possible values belong to , where . Their subset sums are at most . Taking logarithms gives
For the last sum, up to the choice of logarithm base, is bounded by
The integral identity follows by summing . For the estimate, split at and use . Adding for the large values of proves the bound in every group of the same .
Sharpness. The scale in the bound suggests using many distinct primes of comparable size. Let be the primes in , for , and put . Choose distinct primes and take . Work over an initial prime set containing , with all unused marginals zero. Set
Its -marginals are , , , respectively. A length containing two primes of would already exceed one of these marginals. Thus every realisation has size at least their sum . The witness attains equality, forcing every state of every optimum to be counted by exactly one prime of . The three normalised group masses are , , , and the missing masses satisfy , , . The marginals are admissible since .
The unit groups force and . As , every state in the remaining group lies on an even cycle. For each we have , and each cycle contributing to has length divisible by . This forces exactly one copy of . These cycles exhaust the remaining group, proving uniqueness. Its distinct lengths have normalised mass . The prime number theorem gives and , so . The corresponding estimates for sums of primes are classical [6 Theorem 1.4].
What forces a large support?
A cycle of length , for distinct primes , contributes states to both marginals. We could obtain the same marginals with copies of and copies of , at a cost of states. This gives two ways to vary the optimisation problem. How many lengths suffice if we drop the size requirement? What if we keep the prescribed size but allow negative multiplicities? If signed copies of are available, their coefficient can adjust the size by any integer while leaving every marginal unchanged. We ask how short a fixed list of lengths greater than one will suffice.
Proposition 6.1. Let , , and let be admissible. Write .
(a) For every integer there is a formal sum with signed integer multiplicities, marginals and total size , supported on .
(b) With nonnegative multiplicities the sum realises on at most lengths and has size .
Proof. The prime-length sum in (b) is our starting point for (a). The trade above preserves the marginals and reduces the size by each time we introduce one -cycle. Since choose integers with . Perform the trade for 2, 3 with coefficient and for 5, 7 with coefficient . This leaves multiplicities
on the first four prime lengths and on the others. The total size is .
Why fixed nontrivial lengths are needed when
Choose nontrivial lengths , with prime sets . Divide each marginal equation for by and keep the size equation. The integer matrix for these equations has
If is nonsingular, every prime appears. Since there are nonempty sets, some prime appears twice. It divides , so . Thus in every case the columns span a proper sublattice of . To cover all targets one would already have to represent the normalised unit vectors and , whose marginals are admissible for . Together with Proposition 6.1, this proves the optimality of for a selection fixed in advance when .
Fewer primes and fixed points. For , all six singleton and pair lengths suffice because . The target , requires six lengths even if they may be chosen after seeing the target. Indeed , so reduction modulo 5, 3, 2 forces each of to be nonzero. In all surviving terms other than are divisible by 15, so . The other two singletons are forced by and . In the order 2, 3, 5, 6, 10, 15, 30 a witness is . For , the only available pair is 6, so the signed size equation has a solution precisely when . If signed fixed points are allowed, and give a solution for every .
There is also a comparison with general lattice bounds. For all full-rank minors of the unnormalised matrix with columns are divisible by , since the entries in row are divisible by . Taking the singleton columns and one of the pair columns 6, 10, 15 gives minors with absolute values , so the greatest common divisor of all full-rank minors is . Applying Theorem 1 of [1] with the minor gives a signed support bound of . The explicit construction above gives for . For comparison, see also the lattice bounds of Dubey and Liu [15]. For general nonnegative matrices the lower bounds of Berndt et al. [7] can reach order for rows. The sharper estimate in Corollary 5.2 uses two properties of one optimum of size . Every cycle length misses exactly two primes of the same set , and the missing mass in each row satisfies for , where .
What happens with four to eight primes?
For the first four primes, every admissible vector has an optimum using at most twelve lengths, and some vectors require all twelve. For five through eight primes, each row of Table 1 certifies one vector whose unique optimum needs the stated number of lengths. The corresponding maxima remain unknown. The computational supplement contains the data and two checks. From its directory, run python -B verify.py to verify the five examples and python -B all_four.py (with NumPy) to reproduce the four-prime maximum.
| missing pair | cycle lengths | states | |
| 17 | 34, 51 | 85 | |
| 13 | 26, 39 | 65 | |
| 11 | 22, 33 | 55 |
Table 1.
| Distinct lengths | States in the unique optimum | Consequence | |
| 4 | 12 | 246 | |
| 5 | 21 | 2 051 | |
| 6 | 30 | 20 185 | |
| 7 | 43 | 343 463 | |
| 8 | 58 | 6 526 232 |
Table 1 (PDF p. 15). Each row describes the unique minimum-size cycle sum for one admissible marginal vector. Only the four-prime search covered all admissible vectors.
Why the four-prime maximum is exact. Here . The coordinates range from 0 to , giving vectors. A dynamic programme processes the fifteen nontrivial divisors of 210 one at a time. At each vector it minimises . The factor 16 makes one state more expensive than all fifteen support entries together. The first copy of length costs , and each further copy costs . For exactly 98 vectors, the minimum support among their optima is twelve. The four-prime row uses .
How to certify a single row. Suppose a proposed cycle sum has states and contains no fixed point. Count all -state realisations of its marginals, this time allowing fixed points. A count of one proves both optimality and uniqueness. Indeed, any smaller realisation could be padded to size with fixed points, giving a different realisation at size .
For and 6 the marginal vectors in the table, in increasing prime order, are respectively
For these two rows and the displayed four-prime row, an integer checker branches on cycle multiplicities. At a branch it can discard a residual vector if an integer linear functional takes a value there that the remaining columns cannot realise. It checks each such exclusion, checks that every remaining multiplicity was tried and counts the surviving solutions. The three search trees contain respectively 17, 95 and 893 nodes in order of increasing . Each has exactly one solution.
Passing from six primes to seven and eight. There is a shorter verification for the two largest rows. Start with the certified six-prime optimum . Multiply each of its lengths by , keeping each multiplicity, and adjoin one copy of each of thirteen lengths coprime to 17, totalling 318 states. The new support is . At the next step take and adjoin fifteen lengths totalling 435 states, giving . The file data/lifts.json in the supplement lists the added lengths for both steps.
Why can no different optimum arise? Write for the added cycles at one step and . In any competing realisation padded to the proposed size, the new -marginal fixes the number of states on -divisible cycles. The remaining cycles therefore form a system of size . For every old prime , the cycles divisible by both and contribute a multiple of to the -marginal. Consequently
There are respectively 486 and 2 640 vectors in satisfying these congruences. Counting all realisations across those vectors gives just one, namely . After removing it and dividing the remaining lengths by , we recover the preceding optimum by uniqueness. The check allows fixed points in , so it also excludes smaller solutions by the padding argument.
The count in this last step uses a recursion on the old primes. For a chosen prime , split the cycles into those with and those with . The first part has size . Dividing the lengths of the second part by gives size . Enumerate the ways to distribute the other marginals between these two parts and recurse. Each cycle sum determines its split uniquely. At the end of the recursion only fixed points remain. All counts use integer arithmetic.
For comparison, the marked-pair construction of Lemma 3.1 also gives small examples directly. With and its unique optimum has 12 lengths and 26 750 states. With and the counts are 18 and 126 696. With and , multiplying all lengths by as in Remark 3.2 gives 6 lengths and 7 175 states.
Open problems
Open question. Is for the first primes?
The lower bound comes from lengths missing exactly two primes of . Corollary 5.2 gives the matching leading constant within the stated pair class. One way to reach the same order for arbitrary admissible marginals would be to find an optimum whose lengths admit the grouping of Theorem 5.1 with and for some fixed . Taking would then give the desired upper bound. The example in Theorem 3.3 explains why simply grouping by the primes larger than need not suffice.
Can cycles missing three primes force more lengths than the pair class? For pairs, reducing row modulo leaves just the term for . For triples, every group can contribute a term to that same congruence, one for each possible third prime . Understanding that ambiguity could also decide whether has a limit.
There is a separate algorithmic question. Given the marginals , how quickly can one compute ? The examples proving the lower bound have large support, yet the proof recovers their optima from congruences and marker marginals. A bound on how many lengths must occur leaves room for an efficient way to find them.
Further details on the pair construction
A boundary case with nine forced lengths
Remark A.1 (why the marker inequality is strict). When a marker equals the sum of earlier markers, the last part of the proof can fail. Take and markers . The row inequalities still hold. The six bases split into two triples of equal sum, since
In each group of one triple replace the three normalised lengths by . In each group of the other use . Every group still has size ten in its own units, and the equality of the two sums preserves each marker marginal. The size bound in the lemma used only the row inequalities, so this common size 355 180 is still optimal. The original witness has 18 distinct lengths. The exchange produces an optimum with nine, the minimum for these marginals, as we now verify.
Each of the six pair groups has normalised size ten. If a group bearing the marker 3 had only one length, its normalised length would both divide ten and be divisible by three. Hence every group bearing 3 uses at least two lengths. A support of at most eight would put all of the 3-marginal in at most two groups.
The six bases sum to 35 518. The total 3-marginal divided by three is therefore 35 518 = , where is the normalised mass bearing the marker in group , divided by three. A positive can only be 1, 2, 3. Of the six bases, three are divisible by 59. For each of the other three bases, the possible residues of its positive contribution modulo 59 form one of the sets
The target is divisible by 59. No set contains zero and no two entries from different sets sum to zero modulo 59. A sum supported on at most two groups would therefore use only bases divisible by 59. After dividing by 59, we would have to make 602 with at most two of 229, 41, 31, using coefficients at most three. With no 229 the sum is at most 216. With one or two copies of 229 it is at most . Three copies already exceed 602. Thus at least three groups bear the marker 3, and at least nine lengths occur. The exchange in Remark A.1 attains nine.
What a single row determines
Remark A.2 (the arithmetic of one row). The congruence in (3) has a classical interpretation. After we know that every cycle misses a pair, row has precisely the generators for , with . For the additive semigroup generated by these numbers, is the unique Betti element. A row total in the semigroup admits more than one factorisation exactly when belongs to the semigroup [17 arXiv version, Proposition 1(a) and Example 12]. Here . Related complementary-product formulas appear in [5 Theorems 3.1–3.2] and [11 Proposition 5.5]. Aliev et al. use signed complementary products in a support lower bound [3 proof of Theorem 2]. In Lemma 3.1, the size and the marginal counts must first force every cycle to miss exactly two primes of . The row calculation then fixes the mass of each pair. It still leaves open which lengths share that mass. The size restriction matters even in the example with . The marginals of also occur in , whose size is 92 instead of 46.
Eisenbrand and Shmonin [16 introduction] illustrate how a single representation can require many generators. In their example each of several coordinates must represent with powers of two. This takes at least summands per coordinate, and a final coordinate fixes the total number of summands at the sum of these minima. Thus each coordinate uses each power , , once. Our size counts states. Once the pair masses are fixed, each group can contribute at most states to the largest marker. The observed marginal is the sum of these maxima, so every group contributes its marked cycle. Applying the same argument to the remaining mass recovers all the smaller markers.
How large must the primes be?
For the instance with from Remark 3.4, the primes of run from 103 to 1741, every private prime is at most 101, and every endpoint of a chosen pair is at least 1399. For any assignment of the private primes to these pairs, the normalised row totals satisfy
The rational sum can be evaluated directly. It also gives . Finally, gives , as in the proof of Theorem 3.3.
For comparison, one may optimise the simpler construction in Remark 3.2, in which the unused primes have saturated marginals. For each suffix with , the largest reciprocal sum in (2) occurs in the row . For each the greedy marker sequence has the smallest possible sum of markers. This follows inductively since both the next admissible prime and the running sum increase with the previous sum. We also allow the unmarked construction with and . The support to maximise over feasible choices is consequently .
| First index | Markers | Largest support in this family | |
| 100 | 5 | 0 | 4 560 |
| 1 000 | 243 | 2 | 573 806 |
| 10 000 | 1 528 | 2 | 71 783 256 |
| 100 000 | 9 681 | 2 | 8 157 612 080 |
| 1 000 000 | 61 701 | 2 | 880 405 951 700 |
Table 1 (PDF p. 18).
The two markers in the last four examples are 2, 3. These are maxima over the suffix construction described above.
The asymptotic choice of parameters stops producing markers altogether when the budget falls below two. For example, for every integer from 84 to 896 677. A sufficient threshold for all the estimates used in Theorem 3.3 is
Here are the estimates. Put and . Then , , and . Using for [22 (3.12)–(3.13)] gives
The smallest of the largest endpoints has index , so . The same estimates give and . In particular, every row ratio is less than , , and . At , the mean value theorem gives . Hence and . The greedy markers at this threshold are 2, 3, 7, 13, 29, 59, 127, 241. Their sum is 481, and the next candidate, 487, exceeds the remaining budget.
References
- [1]I. Aliev, G. Averkov, J. A. De Loera and T. Oertel. Sparse representation of vectors in lattices and semigroups. Math. Program. 192 (2022), 519–546.DOI
- [2]I. Aliev, M. Celaya and M. Henk. Sparsity and proximity transference in integer programming. Math. Program. 216 (2026), 29–48.DOI
- [3]I. Aliev, J. A. De Loera, F. Eisenbrand, T. Oertel and R. Weismantel. The support of integer optimal solutions. SIAM J. Optim. 28 (2018), 2152–2157.arxiv.org/abs/1712.08923
- [4]I. Aliev, J. A. De Loera, T. Oertel and C. O’Neill. Sparse solutions of linear Diophantine equations. SIAM J. Appl. Algebra Geom. 1 (2017), 239–253.DOI
- [5]J. Autry, P. Graves, J. Loucks, C. O’Neill, V. Ponomarenko and S. Yih. Square-free divisor complexes of certain numerical semigroup elements. Involve 14 (2021), 1–9.
- [6]C. Axler. On the sum of the first n prime numbers. J. Théor. Nombres Bordeaux 31(2) (2019), 293–311.arxiv.org/abs/1409.1777
- [7]S. Berndt, H. Brinkop, K. Jansen, M. Mnich and T. Stamm. New support size bounds for integer programming, applied to makespan minimization on uniformly related machines. ISAAC 2023, LIPIcs 283, 13:1–13:18.
- [8]F. Bridoux, C. Crespelle, T. H. D. Phan and A. Richard. Dividing sum of cycles in the semiring of functional digraphs. Natural Computing 25 (2026), article 11. Also arXiv:2504.11943v2.DOI
- [9]C. Crespelle, T. H. D. Phan and A. Richard. Tensor product of functional graphs: algorithms for factorization and polynomial root-finding restricted to the cycle part. HAL hal-05392325v1 (2025). Also SSRN 5316210.
- [10]S. Cyrusian, A. Domat, C. O’Neill, V. Ponomarenko, E. Ren and M. Ward. On numerical semigroup elements and the ℓ₀ and ℓ∞ norms of their factorizations. In The Ideal Theory and Arithmetic of Rings, Monoids, and Semigroups, Contemp. Math. 836 (2026), 95–108.DOI
- [11]S. Cyrusian and N. Kaplan. Ordinalization numbers of numerical semigroups. Communications in Algebra, published online 11 February 2026. Also arXiv:2506.10222v2.DOI
- [12]A. Dennunzio, V. Dorigatti, E. Formenti, L. Manzoni and A. E. Porreca. Polynomial equations over finite, discrete-time dynamical systems. Cellular Automata (ACRI 2018), LNCS 11115, 298–306.DOI
- [13]F. Doré, K. Perrot, A. E. Porreca, S. Riva and M. Rolland. Infinite trees for division and roots over finite discrete-time dynamical systems. Natural Computing 25 (2026), article 16.
- [14]A. W. M. Dress and C. Siebeneicher. The Burnside ring of the infinite cyclic group and its relations to the necklace algebra, λ-rings, and the universal ring of Witt vectors. Adv. Math. 78 (1989), 1–41. Author version.DOI
- [15]Y. Dubey and S. Liu. On the smallest support size of integer solutions to linear equations. Math. Program. 214 (2025), 789–800.DOI
- [16]F. Eisenbrand and G. Shmonin. Carathéodory bounds for integer cones. Oper. Res. Lett. 34 (2006), 564–568.DOI
- [17]P. A. García-Sánchez, I. Ojeda and J. C. Rosales. Affine semigroups having a unique Betti element. J. Algebra Appl. 12 (2013), 1250177. Also arXiv:1203.4138v2.
- [18]K. Jansen, F. Ohnesorge, L. Pirotton and M. Tutats. The support of bin packing is exponential. arXiv:2512.02758v2 (2026). Earlier version by K. Jansen, L. Pirotton and M. Tutats in ESA 2025, LIPIcs 351, 48:1–48:16.arxiv.org/abs/2512.02758
- [19]N. Kuosa. Division of Explicit Finite Dynamical Systems Is NP-Complete. Preprint, 2026, hexagon:2611.00886.hub.valency.io/works/W_rjz5f4zs
- [20]É. Naquin and M. Gadouleau. Factorisation in the semiring of finite dynamical systems. Theoret. Comput. Sci. 998 (2024), 114509.
- [21]A. E. Porreca and M. Rolland. Injective and pseudo-injective polynomial equations: From permutations to dynamical systems. arXiv:2604.04065v2 (2026).arxiv.org/abs/2604.04065
- [22]J. B. Rosser and L. Schoenfeld. Approximate formulas for some functions of prime numbers. Illinois J. Math. 6 (1962), 64–94.