Given a siteswap of length with objects, what is the maximum possible theoretical global period length?
Prerequisites:
A siteswap of length is defined here by . A description of siteswap notation can be found here, chapter 2 (Introduction to Siteswap Notation).
The global period length is the number of siteswap beats required to return to the exact same start configuration (same state and the same labels on the same beats).
Beat permutation and orbits.
A vanilla siteswap (asynchronous, one throw per beat) is valid iff the map
is a permutation. Its disjoint cycles are the orbits. For convenience, we will list orbits using absolute beat indices (e.g. [0,5] for
), not just residues modulo
. As per siteswap convention, whenever an index
lies outside [0,L−1], we interpret
as
.
Let denote the orbits followed by balls respectively. Define
Since , we have . Noting also that (an orbit concludes when the orbit returns to the same starting position relative to the siteswap length), summing over we obtain:
thus . Here is the number of siteswap lengths (periods) accumulated along the throws on the th orbit; equivalently, it is the number of periods needed for ball to return to its starting beat.
Thus, in terms of , the global period is
Example ( , ).
We have
The orbits are:
= [0,5],
= [1],
= [2,3].
Therefore:
In the example, beats.
Cyclic equivalence (notation).
Two orbits and are cyclically equivalent if .
i.e. their index lists agree modulo
up to cyclic rotation. For vectors
,
in
we write
if and
are congruent mod
after a cyclic rotation of entries. In the example,
[0,5]
[0,2]
[2,3] all represent the same orbit as {0,2}.
Let select one representative from each cyclic-equivalence class:
Define the non-equivalent orbits and sizes by
Then, as before,
Summing over the representatives and using ,
so . (Each is the number of objects carried on that orbit class; balls whose fall in the same equivalence class share the same .)
Maximization problem.
Thus, the problem reduces to:
with the constraint . Equivalently, since duplicating equal parts does not change the least common multiple, one may write the objective as ; the natural sum constraint, however, lives on via .
Relation to Landau's function and feasibility.
The maximum of over all partitions of is Landau's function , so
with equality whenever a Landau-optimal partition is realisable with beats. A convenient feasibility model is the standard beat budget: an orbit of size can occupy a single beat (throw ), while an orbit of size can be realized on a 2-beat swap; therefore a partition is feasible if
Under this budget, whenever a Landau-optimal partition fits the inequality above.
This table presents the pairs for which the maximum can be obtained according to the budget inequality. Shaded cells indicate the feasible cases.
| n/L | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | ||||||||||
| 2 | ||||||||||
| 3 | ||||||||||
| 4 | ||||||||||
| 5 | ||||||||||
| 6 | ||||||||||
| 7 | ||||||||||
| 8 | ||||||||||
| 9 | ||||||||||
| 10 |
Here are some examples for Landau-optimal siteswaps for given and pairs:
| Landau-optimal partition | Siteswap (period ) | Return beats = | |||
|---|---|---|---|---|---|
| 1 | 1 | 1 | 1 | 1 | |
| 2 | 2 | 2 | 31 | 4 | |
| 3 | 2 | 3 | 33 | 6 | |
| 4 | 3 | 4 | 480 | 12 | |
| 5 | 5 | 6 | 77830 | 30 | |
| 6 | 3 | 6 | 7b0 | 18 | |
| 7 | 5 | 12 | c7880 | 60 | |
| 8 | 4 | 15 | a6a6 | 60 | |
| 9 | 5 | 20 | c7dd0 | 100 | |
| 10 | 6 | 30 | f99f93 | 180 |