Why two boundary slots change the schedule count
William Mançon · 3 December 2026

I take n≥2 turns of six slots, numbered from 0 to N−1 with N=6n. Four active residues each receive two visits. Each receiver sees two of those residues and requires a distinct shift for each. I obtain four prescribed letters of two kinds in chronological order. At most k switches are allowed. Every dwell, including the initial and terminal dwell, lasts at least two slots.

Criterion. For every rotation of (2,0,2,2,0,2), a receiver can be served exactly when (i) its four letters change at most k times and (ii) different letters are prescribed neither at slots 0 and 1 nor at slots N−2 and N−1.

Proof. I group consecutive identical letters into p+1 groups with p≤3. For change i from group i−1 to group i, let Lᵢ be the previous group’s last slot plus one and Uᵢ the new group’s first slot. The integer cut cᵢ lies in [Lᵢ,Uᵢ] and consecutive cuts, including endpoints 0,N, must be at least two slots apart. These conditions are necessary. Choose the earliest possible cuts by c₀=0 and cᵢ=max(Lᵢ,cᵢ₋₁+2). For p=0 use a constant shift.

Then cᵢ=max(2i,maxⱼ≤ᵢ(Lⱼ+2(i−j))). Order gives Lᵢ≤Uᵢ. If i−j=1, groups j−1 and i carry the same letter at distinct visits of the same residue, at least six slots apart. If i−j=2, group j+1 already carries that letter and comes before group i. These gaps give Lⱼ+2(i−j)≤Uᵢ. For i=1 the left boundary condition gives U₁≥2. For i=2 the repeated letter gives U₂≥6. For i=3 returning to the letter in group 1 gives U₃≥7. Hence cᵢ≤Uᵢ. At the right endpoint 2p≤N−2 and Lₚ≤N−2 by the boundary condition. Earlier terms have at least six slots until their letter returns, followed by one more visit when j=p−2. Hence cₚ≤N−2. Keeping each shift between the constructed cuts proves sufficiency.

With three allowed switches condition (i) always holds. In rotations 0 and 3 each boundary pair contains an inactive residue. The count is C(n,2)⁴. For each of the other four rotations exactly one boundary can contain two adjacent active residues, both seen by a receiver. A schedule is rejected precisely when both residues select the boundary turn. Each has n−1 choices for its other turn, and the two remaining residues have C(n,2) choices each. The exact deficit is therefore (n−1)² C(n,2)², giving 324 at four turns and 5,625 at six. With two switches I also enforce the change count in the compatibility matrices. I check the criterion against the dwell automaton on 8,904 local pairs and against full transfers for two through six turns.

Alternation of two repeated letters is classical chord crossing in a circle diagram. My additional result concerns the two linear endpoints and a dwell of length two in this family. A model with three residues per receiver needs a different argument. [Paul & Rutter, §3.1](https://doi.org/10.4230/LIPIcs.STACS.2026.72)

I can also write the cut constraints as a simple temporal network in the sense of Dechter, Meiri and Pearl. The cut windows and their spacing fit this classical framework. I use the repeated residues to prove that, once the switch budget is respected, only the two endpoints can obstruct feasibility. Dechter, Meiri & Pearl, Temporal constraint networks (1991), https://www.sciencedirect.com/science/article/pii/0004370291900066
