# Minimum width and symmetry at cut boundaries
William Mançon · research note · review version

## My model and hypotheses

I index permutations of 0,…,n−1 in Zaks' circular order. I start at 0. With j labels left, dⱼ is the zero-based index of the next chosen label, scanning the circle from the cursor. I remove it and restart at its successor. The integer rank is R=Σ dⱼ(j−1)!, with 0≤dⱼ<j. Reading these mixed-radix digits reconstructs the permutation. I write Aᵤ for gcd(R,u!)=1. Its probability under a uniform rank is ρᵤ=∏_{p≤u}(1−1/p), over primes p. Admissibility refers to membership in this filter.

I fix an integer move budget d≥1 independent of n. A move Fₐ reverses the last a positions, 2≤a≤k. My root is uniform in Aₙ. I seek a different destination in Aₙ reachable within d moves, allowing arbitrary intermediate states. W is the least k that permits such a move sequence, with W=∞ if no exit exists. At size k, M counts destinations in the ball of the root that satisfy Aₖ.

## Typical degree and the width law

I count words on the identity 0,…,k−1. At step j there are at most j−1 new adjacencies, at most 4(j−1) cuts incident to previous breaks, two choices restoring an initial adjacency, and one full reversal to exclude. Each generic move removes an original adjacency and any move can remove at most one. The recovery gives as many distinct destinations for every root because moves permute positions.

1. **Count words.** I fix d. Every generic move breaks a fresh original adjacency disjoint from earlier breaks and adds a nonoriginal adjacency. There are O_d(1) bad choices per step. The final symbol identifies the unique missing original adjacency containing it. Its other endpoint locates the last cut, recovering the word backwards. This gives k^d+O_d(k^(d−1)) ambient destinations.
2. **Control the small wheels.** I set ℓ=⌊k/(log k)⁴⌋, L=ℓ+1 and t=⌊k/(log k)²⌋. At the first interior cut of a length-L interval, at most L−1 widths qualify. On an uncut trajectory I fix the index of the last reversal containing the interval and the other d−1 widths. Its final position changes by one per width choice. At most 2L−1 widths intersect a given support, and O(t+L) place it close to the end. I count this in both directions. Discarding O_d((L+t)k^(d−1)) words costs o(k^dρₖ), where ρₖ is the product of (1−1/p) for p≤k. Among the retained words, conditional on the small-wheel root event Aℓ, the mean is |W|ρℓ. The variance is O_d(Lk^(2d−1)) because disjoint supports are also independent of the root support. The ratio to the squared mean vanishes.
3. **Restore the larger wheels.** For each retained word the two small-wheel conditions have joint probability ρℓ². At intact boundaries the conditional rejection probability is exactly 1/p. At a cut boundary I bound the numerator by ρℓ/p, keeping only the destination condition. There are at most L cut boundaries, all at depth at least t. Total rejection is bounded by Σ_{ℓ<p≤k}1/p + O(L/(tρℓ)), which tends to zero by Mertens’ estimates. Markov’s inequality bounds the fraction of lost exits. Since P(Aₖ|Aℓ)=ρₖ/ρℓ tends to one, M/(k^dρₖ)→1 in probability for a uniform admissible root.
4. **Lift to size n.** For k≤n the local rank s of a uniform admissible root is uniform over the units modulo k!. For j distinct offsets, the Chinese remainder theorem gives joint survival as a product of factors 1−νₚ/(p−1), with νₚ counting distinct nonzero offset residues. Exceptional primes divide an offset or a difference of offsets. The logarithm of the product of these differences, including differences from zero, is Oⱼ(k log k). Splitting at k(log k)² gives the uniform relative error Oⱼ(log log k/log k) in C14. Conditional factorial moments are therefore (M)ⱼ(ρₙ/ρₖ)^j(1+o(1)). When k^dρₙ→λ>0, Mρₙ/ρₖ approaches λ in probability. On typical root sequences the factorial moment criterion gives Poisson(λ). I average bounded conditional probabilities to include all roots.

For the minimum width W needed for an exit in at most d moves and x>0, I take k=⌊x(e^γ log n)^(1/d)⌋. W>k is precisely the no-exit event. Its probability tends to exp(−x^d). My review covers convergence in distribution under a uniform admissible root. Moment convergence for W, worst-case control and priority of this particular coupling remain open.

## Error estimates

For the variance calculation I generate the position labels as ranks of independent continuous variables. Circular-order tests on disjoint supports are then independent. After conditioning on the small root test, two disjoint supports that both avoid the root support remain independent. For one fixed word, the last-reversal count places the support of a second word across its support in at most O_d(L k^(d−1)) ways. Bounding the remaining covariances and the diagonal by one gives the stated variance bound. Dividing by the squared mean gives O_d(L/(kρℓ²))=O_d(1/(log k)²). At a cut boundary, rotation of the last p labels preserves the destination test alone while visiting all p residues. I therefore divide the bound ρℓ/p by the joint small-test probability ρℓ². The distance t from the end bounds p from below in each of the O(L) remaining terms.

To lift from k to n, I fix the root's digits of weight at least k!. Moves of width at most k stay inside this aligned block of k! ranks. After the common prefix, circular relabelling identifies its offsets with those of a permutation of k labels. I then condition only on the local rank s and admissibility of the root. The product k!·∏_{k<p≤n}p divides n! and its factors are pairwise coprime. The Chinese remainder theorem therefore gives independent coordinates, uniform over nonzero residues at the larger primes. I count exits by their signed integer offsets h, with 0<|h|<k!, distinct after removing duplicate destinations.

For j distinct offsets h, with j fixed, I form Δ from all |h| and all distinct-pair differences |h−h′|. Each factor is between 1 and k!, so log Δ=Oⱼ(k log k). At regular primes p>k I compare 1−j/(p−1) with (1−1/p)^j. Their logarithms differ by Oⱼ(p⁻²). At exceptional primes p|Δ the error is Oⱼ(1/p). Up to Y=k(log k)², the reciprocal-prime sum on k<p≤Y is O(log log k/log k) by Mertens. Above Y there are at most log Δ/log Y such divisors, contributing at most log Δ/(Y log Y). The estimates are uniform over all j offsets and n≥k. For the Poisson step I can extract from any subsequence a further subsequence on which the conditional parameter converges almost surely. On these roots the factorial moments converge to the Poisson moments, which determine its law. The conditional zero probability is bounded and can be averaged.

## Counting only the relevant positions

I write S for the ordered ℓ+1 source positions expressed in destination coordinates and B for the last p destination positions together with their preceding anchor (prime p<k, 2≤ℓ<p). The small destination test lies inside B. I retain the m positions of S∪B. Their relative circular order determines all three observations because the scan after a chosen label uses only the remaining suffix labels. All m! linear orders have equal weight. By a common rotation I pin the first relative label to 0 and visit (m−1)! orders, each of multiplicity k!/(m−1)!. At p=k there is no preceding anchor. Both small tests are rotation invariant, while the residue visits all p classes because rotating increments dₚ and (p−1)!≡−1 modulo p. Each retained circular order contributes once to each class.

I recover all 50 cut cases with disjoint small supports from a full enumeration, using 23 distinct patterns. Of these, 26 are uniform, 12 balance only the zero class and 12 bias zero. For the last-eight reversal I count (108,111,115,115,111) among 5,040 orders before conditioning, giving 27/140 at zero after conditioning. The five-symbol witness gives (0,1,0) among six orders before conditioning, each with multiplicity 20. I also check 88 full-wheel cases p=k.

## Why the zero class can stay balanced

**Reflection proposition.** I take ℓ=2, an odd prime p, and an ordered source triple S avoiding the last two destination positions. Let H(r) count permutations with both small ranks odd and destination rank congruent to r modulo p. Write N=ΣH(r). Then H(r)+H(−r)=2N/p. In particular H(0)=N/p.

I reflect all labels by x↦k−1−x and swap the last two destination positions. These commuting operations define an involution. Reflection sends each digit dⱼ to j−1−dⱼ. The final swap toggles only the base-two digit. An odd local rank u modulo p! becomes the even rank p!−1−u after reflection and p!−u after the swap. It stays odd and its residue becomes −r. The source triple is untouched by the swap and reflection reverses its orientation, toggling its parity. Among all odd destinations each residue has T/p representatives, where T is their total, by rotation of the last p labels. The involution bijects the H(r) selected cases with the T/p−H(−r) cases of opposite source parity. Summation gives T=2N and the claimed identity. All 126 applicable classes of the independent full enumeration satisfy it.

At k=7, ℓ=2, p=5 and zero-based S=(2,0,1), the local counts are (36,34,37,35,38). Each opposite pair sums to 72. This shows how an exact zero mass coexists with discrepancies elsewhere. The involution explains all twelve such histograms in the census.

For any ℓ, circular orders on S and B are independent if they share at most one position. I draw independent uniform angles on a circle. Conditional on the one shared angle, the remaining inputs of the two sets are independent. Subtracting the shared angle makes each conditional law constant. The large residue stays uniform under both small tests. The converse fails at k=6, ℓ=2, p=5, S=(2,1,0), with three shared positions. I count 36 permutations in each class although a rotation can change source membership. Reflection constrains pair sums but leaves open a structural explanation of all five equal counts in this example. At ℓ=3 reflection can take an inadmissible rank to another inadmissible rank. The eight-symbol discrepancy of 1/140 is a first quantitative target.

## Sources and scope

I use the reversal order of Ord-Smith and the position calculation given by Zaks. Helmert and Röger's relative-order abstractions and the sphere counts of Blanco, Buehrle and Patidar provide geometric context. Granville and Kurlberg study Chinese-remainder statistics. My proposed contribution joins the small-wheel conditions with fixed-depth reversals and gives a reflection for conditional histograms. I provide a working proof and reproducible controls for independent review. Priority for these specific statements and convergence of moments of W remain open.

- Zaks, A New Algorithm for Generation of Permutations. https://cris.technion.ac.il/en/publications/a-new-algorithm-for-generation-of-permutations/
- Helmert & Röger, Relative-Order Abstractions for the Pancake Problem. https://doi.org/10.3233/978-1-60750-606-5-745
- Blanco, Buehrle & Patidar, On the number of pancake stacks requiring four flips to be sorted. https://dmtcs.episciences.org/articles/5879
- Granville & Kurlberg, Poisson statistics via the Chinese remainder theorem. https://arxiv.org/abs/math/0412135

- R. J. Ord-Smith, Algorithm 308, Generation of permutations in pseudo-lexicographic order. https://bitsavers.org/pdf/acm/collected_algorithms_from_acm/Collected_Algorithms_from_ACM_Volume_2_Algorithms_221-492_1980.pdf#page=163
