Finite position models for topdrop orbits of periods six, seven and eight
A topdrop move on a deck containing each label from \(1\) to \(n\) once reads the first label \(a\), reverses the first \(a\) cards and appends them after the rest of the deck. The orbit size is the least positive number of moves that restores the initial deck. Can the number of orbits of a given size be determined uniformly in \(n\)? The successive top values and their action on positions give a finite counting procedure for every fixed period. It gives exact counts for periods six and eight at every deck size and rules out period seven altogether. The counting procedure answers Krause's proposal to automate the enumeration of longer orbits. Krause, §6, opening paragraph, p. 20 Let \(O_r(n)\) count orbits of size exactly \(r\) among the permutations of \(1,\ldots,n\). For \(r=6,8\) and every integer \(n\ge 1\), \[O_r(n)=\sum_{d=1}^{n}(n-d)!\,[z^n]R_{r,d}(z), \] where \(d\) is the number of distinct values seen at the top during the orbit and \([z^n]\) takes the coefficient of \(z^n\) in the power series at zero. The nonzero series are \[\begin{aligned} R_{6,3}(z)&=\frac{2z^4}{(1-z)(1-z^2)},\\ R_{6,4}(z)&=\frac{4z^5}{(1-z)^2(1-z^2)},\\ R_{6,6}(z)&=\frac{2z^{13}}{(1-z)(1-z^2)(1-z^3)},\\ R_{8,4}(z)&=\frac{6z^7}{(1-z)(1-z^2)(1-z^3)},\\ R_{8,5}(z)&=\frac{2z^5(1+2z+3z^2)(1+z+4z^2)}{(1-z)(1-z^2)^2(1-z^3)},\\ R_{8,8}(z)&=\frac{4z^{11}(1+4z^2+6z^4+5z^6-3z^7+5z^8)}{(1-z)(1-z^2)(1-z^4)(1-z^6)}. \end{aligned} \] Expanding the denominator factors as geometric series gives the count at the desired deck size. At \(n=14\), for example, the counts are \(914{,}538{,}240\) and \(548{,}691{,}840\), respectively, agreeing with Krause's finite data. In Theorem 4.3(5), the six-orbit lower bound accounts for the \(d=3,4\) terms. The \(d=6\) term starts at \(n=13\). For eight orbits, the \(d=4,5\) terms recover the printed lower bound in Theorem 4.3(6), with an excess of \((n-5)(n-5)!\) when \(n\ge 7\) and \(n\equiv1\pmod 6\), owing to the consolidation of Lemmas 4.13–4.14 in that residue class. The printed lower bound remains valid, and the additional \(d=8\) term starts at \(n=11\). Krause, Theorem 4.3(5)–(6) and Remark 4.5, pp. 7–8 For any fixed positive integer \(r\), the counting procedure starts with one increasing interval of original positions. At each of the \(r\) moves, choose a cut at the end of a current interval or in its interior. Split an interior cut into two nonempty pieces in the current orientation. Move the resulting prefix of whole pieces to the end, reversing their order and each piece's orientation. Keep all splits and retain the signs of singletons. At step \(t\), starting with \(t=0\), there are at most \(t+1\) pieces before the cut. The number of possible cut sequences is therefore at most \(2^r r!\), independently of \(n\). Number the final pieces \(1,\ldots,k\) in original position order and give them positive integer lengths \(\ell_1,\ldots,\ell_k\) summing to \(n\). For each step \(t\), record the set \(P_t\) of final pieces in the prefix moved at that step and the original position \(H_t\) of the card at the top just before that move. Pass prefix membership to both children of any later split and pass a recorded endpoint to the child containing it. The top value at step \(t\) must be \(a_t=\sum_{j\in P_t}\ell_j\). The position \(H_t\) is an endpoint of a final piece. The left and right endpoints of piece \(j\) are \(1+\sum_{i<j}\ell_i\) and \(\sum_{i\le j}\ell_i\), respectively. The deck returns after \(r\) moves precisely when the final pieces occur in original order, every reversed piece has length one, and the prescribed top values can be realised. The latter condition is \[H_s=H_t\quad\Longleftrightarrow\quad a_s=a_t \qquad(0\le s<t<r). \] This assigns \(d\) different values to \(d\) different original positions. Each of the \((n-d)!\) bijections between the remaining positions and values gives a starting deck with the prescribed trace. Let \(F_{r,d}(z)\) count the resulting chronological top-value sequences with \(d\) distinct values and a distinguished start, weighted by \(z^n\). Each sequence and deck size determine a unique cut sequence and length assignment. Thus a coefficient can be computed by enumerating the positive length assignments of total size \(n\) and applying the return and top-value conditions. To count exact periods, set \[R_{r,d}(z)=\frac1r\sum_{j\mid r}\mu(r/j)F_{j,d}(z), \] where \(\mu\) is the number-theoretic Möbius function. A deck returning after \(r\) moves has least period \(j\) dividing \(r\), and repeating its orbit leaves \(d\) unchanged. The divisor sum removes all shorter returns before division by the \(r\) starting decks of each exact orbit. This also handles top-value sequences whose own repetition length is shorter than the deck orbit. The length systems can be evaluated as rational series. For each piece visited at both endpoints, distinguish length one from length at least two, subject to any forced singleton. This fixes the equality pattern of the top positions. Subtract the minimum allowed length from each free length and apply inclusion–exclusion to the forbidden equalities between top values. Each resulting term counts nonnegative integer vectors \(y=(y_1,\ldots,y_m)\) satisfying an affine system \(Ay=b\), with weight \(z^{L+\sum_i y_i}\), where \(m\) is the number of free lengths and \(L\) is the sum of the length minima. Form the cone \(Ay=b\tau\), \(y,\tau\ge0\), and subdivide it into simplicial cones with primitive integer rays. Use a common generic direction in the relative interior to assign shared faces, opening the facet opposite a ray when the direction has negative coordinate along that ray in the cone's ray basis. For a simplicial piece with ray set \(V\), let \(Q\) be its fundamental parallelepiped, using ray coefficients in \([0,1)\) for closed facets and \((0,1]\) for open facets. Its contribution is \[z^L[w^1]\frac{\displaystyle\sum_{p\in Q\cap\mathbb Z^{m+1}} w^{p_\tau}z^{\sum_i p_{y_i}}}{\displaystyle\prod_{v\in V}(1-w^{v_\tau}z^{\sum_i v_{y_i}})}. \] Here subscripts denote the corresponding coordinates of a lattice point \(p\) or ray \(v\), and \([w^1]\) selects the slice \(\tau=1\). Rays of zero \(\tau\)-coordinate have positive total \(y\)-coordinate, so the extracted series is rational in \(z\). This gives an exact evaluation for any fixed period without extrapolating from finitely many deck sizes. Krause also asked whether any finite deck has an orbit of size seven. This can be decided without counting length assignments. For prescribed chronological top values \(a_0,\ldots,a_6\), a move with top value \(a\) takes the card at position \(i\) to \[f_a(i)=\begin{cases}n+1-i,&i\le a,\\ i-a,&i>a,\end{cases} \qquad f_a^{-1}(j)=\begin{cases}j+a,&j\le n-a,\\ n+1-j,&j>n-a.\end{cases} \] Write \(G_0=\mathrm{id}\) on \(\{1,\ldots,n\}\) and \(G_{t+1}=f_{a_t}\circ G_t\). In the same head-assignment test as above, \(H_t=G_t^{-1}(1)\). The full position return \(G_7=\mathrm{id}\) is equivalent to fixing at most sixteen original positions. Test \(1,n\), every \(G_t^{-1}(a_t)\), and every \(G_t^{-1}(a_t+1)\) for which \(a_t<n\), with \(0\le t\le6\). These positions include the endpoints of each consecutive interval on which \(G_7\) acts by a translation or reflection, so fixing the endpoints fixes the whole deck. Krause, Remark 4.4, p. 8 The arithmetic test imposes \(n\ge2\), \(1\le a_t\le n\), \(a_0\le a_t\) for every \(t\), the head-assignment equalities and the position-return constraints. Starting a returning orbit at a smallest top value permits the constraint on \(a_0\). One quantifier-free linear integer arithmetic encoding uses just the eight variables \(n,a_0,\ldots,a_6\) and expands the forward and inverse position maps. The other uses a separate forward trajectory for each head, cut position and deck endpoint. Each trajectory is anchored at its designated position and time, with its final position constrained to equal its initial position. When \(a_t=n\), the second cut trajectory duplicates the first. Z3 and cvc5 both return unsatisfiable with no upper bound on \(n\), and cvc5 internally checked its native unsatisfiability proof. Thus the seventh iterate has no fixed deck for \(n\ge2\). The single deck at \(n=1\) has period one.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24800594
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint