Circular parking and the unique cut of a gap word
Ehrenborg and Hetyei counted \(d\)-parking functions in which each preference can drop by at most \(d-1\) from one entry to the next. They obtained the count through falling chains and asked for a direct combinatorial proof. The answer is a reversible encoding by cyclic gap words. For every integer \(d\ge 1\) and every positive length \(k\), the admissible lists correspond one to one to ordered \(k\)-tuples of non-negative integers summing to \((2d-1)k+1\), with tuples identified up to cyclic rotation. Ehrenborg–Hetyei, §9 opening paragraph, second counting question · Corollary 7.4, the original enumeration A \(d\)-parking function is a list \(a=(a_1,\ldots,a_k)\) of positive integers whose entries, sorted with multiplicity as \(a_{(1)}\le\cdots\le a_{(k)}\), satisfy \(a_{(j)}\le d(j-1)+1\) for every \(1\le j\le k\). The additional restriction is \(a_i\le a_{i+1}+d-1\) for \(1\le i<k\). Put \(N=dk+1\). On a circle of \(N\) spaces, give \(d\) separate cars each listed preference and park each car in the first vacant space clockwise, starting at its preferred space. The sole vacancy is independent of arrival order. Rotating it to space \(N\) produces a \(d\)-parking function, and every \(d\)-parking function already leaves that space vacant. Its preferences therefore lie in \(1,\ldots,N-d\). This normalisation allows repeated preferences. To encode a list of positive length, set \(M=N+(d-1)k=(2d-1)k+1\) and form the gaps \[\Delta_i=a_{i+1}-a_i+d-1\quad(1\le i<k),\qquad \Delta_k=a_1+N-a_k+d-1. \] The adjacent restriction makes the first \(k-1\) gaps non-negative, and the preference range gives \(\Delta_k\ge 2d\). The gaps sum to \(M\). Keep their cyclic rotation class. To recover the list, choose any representative \((\Delta_1,\ldots,\Delta_k)\) and any integer starting position \(s_1\). Set \(s_{i+1}=s_i+\Delta_i-(d-1)\) for \(1\le i\le k\), so \(s_{k+1}=s_1+N\). Use the first \(k\) positions modulo \(N\) as preferences in the circular parking procedure. Let \(t\) be an integer shift that takes the vacancy to space \(N\), and write \(s_i+t=r_i+Nq_i\) for \(1\le i\le k+1\), where \(r_i\) is the normalised preference in \(1,\ldots,N-d\) and \(q_i\) is an integer. A decrease in \(q_i\) would require a backward step of at least \(d+1\) spaces, whereas every step can go backwards by at most \(d-1\). Since \(q_{k+1}=q_1+1\), exactly one step increases \(q_i\), and it increases it by one. Start the output list with the residue immediately after that step and read the \(k\) residues in cyclic order. The other steps obey the adjacent restriction. This cut gives the same output for every starting position and every representative of the gap word, and the encoding recovers the original rotation class. Because \(M=(2d-1)k+1\) is coprime to \(k\), a gap word cannot consist of several copies of a shorter word. Each rotation class therefore contains exactly \(k\) ordered tuples. Counting the tuples and dividing by \(k\) gives \[\frac{1}{k}\binom{M+k-1}{k-1} =\frac{1}{2dk-k+1}\binom{2dk}{k}. \] The same formula gives one object at \(k=0\), the empty list. For \(d=1\) the adjacent restriction makes the list weakly increasing. The encoding and its inverse let a reader enumerate the lists or recover a specific list from its cyclic gaps, including when preferences coincide.
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.24766344
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint