A bijection from parking functions avoiding 123 and 132 to ordered rooted trees of odd root degree
A bijection from parking functions avoiding 123 and 132 to ordered rooted trees of odd root degree Adeniran and Pudwell ask for an object-by-object proof that size-\(n\) labeled Dyck parking functions whose bottom-to-top north-step readings avoid both \(123\) and \(132\) correspond to ordered rooted trees with \(n+1\) edges and an odd number of root children. The answer is an explicit bijection for every integer \(n\ge 1\), with an inverse that recovers the full labeled Dyck path from the tree. The construction also sends the empty parking function at \(n=0\) to the one-edge tree. The original question appears in §6, Question 1, on p. 20 of the journal article and p. 22 of the 23 March 2023 author version. Published question · Author version The input path runs from \((0,0)\) to \((n,n)\) with north and east steps and stays in \(y\ge x\). Its north steps carry the labels \(1,\ldots,n\) exactly once, in increasing order within each vertical run. Read the labels in the order of the north steps. A label can start a subsequence of relative order \(123\) or \(132\) exactly when there are at least two larger labels later in the reading. Thus encode each label by \(0\) if it is the largest unused label and by \(1\) if it is the second largest. For \(n>0\), the word ends in \(0\). An adjacent ascent occurs exactly at the bit pair \(10\). Take one block \(B_i\) of north steps immediately before each east step, allowing empty blocks. The four possible block codes give a two-colored Motzkin path \(M\) of length \(n\). Block codeStep of \(M\)Height incrementDyck pair\(10\)\(+\)\(1\)\(UU\)empty\(-\)\(-1\)\(DD\)\(0\)\(F_0\)\(0\)\(DU\)\(1\)\(F_1\)\(0\)\(UD\) The height of \(M\) after block \(i\) is \(\sum_{j=1}^i (|B_j|-1)\), which is the labeled path's height above the diagonal after east step \(i\). The final \(0\) occurs precisely when the rightmost step of \(M\) other than \(-\) is \(+\) or \(F_0\). To obtain an ordinary Dyck word \(P\), substitute the pairs in the table and put an up step \(U\) at the front and a down step \(D\) at the end. Its semilength is \(n+1\), and a Motzkin height \(h\) becomes height \(1+2h\) at the corresponding pair boundary. If \(d\) is the number of trailing \(-\) steps of a nonempty \(M\), the terminal descent of \(P\) has length \(2d+1\) when the rightmost non-down step is \(+\) or \(F_0\), and length \(2d+2\) when it is \(F_1\). This exact parity test makes the label constraint recoverable. Callan's pairing correspondence, p. 2 Let \(R\) reverse a Dyck word and interchange \(U\) and \(D\). Let \(T\) be the Deutsch involution given by \(T(\epsilon)=\epsilon\) and \(T(UADB)=UT(B)DT(A)\), where the displayed \(D\) is the first return to height zero and \(A,B\) are Dyck words. If \(a(W)\) is the initial ascent length of a Dyck word \(W\) and \(r(W)\) its number of returns to zero after the start, then \(r(T(W))=a(W)\). Thus the terminal descent length of \(P\) is the number of returns of \(Q=T(R(P))\). Interpret \(Q\) as a tree contour, with each \(U\) opening a child edge and each \(D\) returning along it. There is one return to zero per root child, so the image tree has root degree exactly \(2d+1\), where \(d\) counts the trailing empty blocks of a nonempty input. Deutsch's involution To invert the map, take the contour \(Q\) of an ordered rooted tree with \(n+1\) edges and odd root degree and form \(P=R(T(Q))\). Remove the outer \(U,D\) and read consecutive pairs using the table. The odd terminal descent forces the last emitted bit to be \(0\) when \(n>0\). Decode the bits from left to right using the largest and second-largest unused labels, and place the recovered labels in the blocks specified by the table. For \(n=0\), the contour \(UD\) gives an empty list of pairs and blocks. The January preprint asked for agreement with the count in A000958. The published Theorem 5.3 and the kernel calculation on pp. 12–13 establish the enumerative equality. The bijective result connects the original label reading to a terminal parity condition for which the path operations give a two-sided inverse. January preprint, §6, Question 1 · Published article · OEIS A000958
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.24776547
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint