Canonical parent slots for pattern-avoiding breadth-first words
A permutation may admit several increasing ordered trees as breadth-first realizations. The paper shows that a leftmost compatible parent choice decides realizability, then uses it to characterize failure of full realization for \(321\) avoidance and to count distinct realizable words for \(231\) avoidance. For a child at position \(c\), a compatible parent \(i\) satisfies \(i<c\) and \(w_i<w_c\). In the bounded case, give each parent \(k\) consecutive slots and take the first compatible slot strictly after the preceding choice. In the full case, for \(n\equiv1\pmod k\), partition the nonroot positions into blocks \(I_j=[s_j,s_j+k-1]\) with \(s_j=2+k(j-1)\), \(1\le j\le(n-1)/k\). For each block take the least compatible parent strictly after the previous parent. Each scan is componentwise minimal among feasible prefix assignments and succeeds exactly when the corresponding realization exists. For \(321\)-avoiding words, let \(a\) be the preceding parent in the full scan, initially zero. A reached block is blocked exactly when it contains a nonexcedance, all candidate parents in \([a+1,s_j-1]\) are strict excedances, and \(w_{a+1}>w_{c_*}\) for the first nonexcedance \(c_*\) in the block. A strict excedance at \(i\) has \(w_i>i\). The bounded-but-not-full words are exactly those for which the bounded scan succeeds and the full scan encounters this obstruction. The scans use \(O(n)\) time and space for permutation inputs. For \(231\) avoidance, an auxiliary forest represents each word once. Subtree endpoints govern when parents become eligible, so subtrees whose lengths fit the current positive surplus can be counted together. Let \(C_j\) be the \(j\)-th Catalan number and let \(F_m(h,h')\) transfer positive surplus \(h\) to \(h'\) over length \(m\). Set \(F_0(h,h')=\mathbf 1\{h=h'\}\) for positive arguments and set all entries with a nonpositive surplus to zero. For \(L\ge1\) and \(h,u>0\), \[T_L(h,u)=\begin{cases}C_{L-1}\mathbf 1\{u=h+(k-1)L\},&L\le h,\\F_{L-1}(h-1,u),&L>h.\end{cases}\] For \(m\ge1\), use \(F_m(h,h')=\sum_{L=1}^m\sum_{u>0}T_L(h,u)F_{m-L}(u,h')\). The length-\(n\) count is \(\sum_{h'>0}F_n(1,h')\) for every \(k\ge2\) and \(n\ge1\). For \(h\ge m>0\), \(F_m(h,h')=C_m\mathbf 1\{h'=h+(k-1)m\}\). Counts through \(N\) take \(O_k(N^5)\) arithmetic operations and \(O_k(N^3)\) stored integers. Bóna's known equality of bounded and full word sets gives the full-tree count at \(n\equiv1\pmod k\). Victor Bóna, §8, 321 obstruction question. At every odd length, which \(321\)-avoiding permutations occur as breadth-first readings of increasing ordered trees with at most two children per vertex but have no realization in which every nonleaf has exactly two children? The bounded parent-slot scan must succeed. The full scan must reach a sibling pair containing a nonexcedance, with only strict excedances in the consecutive candidate-parent interval and the first candidate's label exceeding that of the pair's first nonexcedance. Greedy minimality rules out every competing full assignment. The characterization extends to degree bound \(k\ge2\) at \(n\equiv1\pmod k\). Bóna's length-eleven discrepancy and its forty-seven words were known. Victor Bóna, §8, 231 enumeration question. Give an exact all-length recurrence or generating function for the number of distinct \(231\)-avoiding breadth-first permutations realizable by increasing ordered trees of maximum outdegree two. The Catalan surplus recurrence gives the count for every \(n\ge1\) at \(k=2\) and extends to every integer bound \(k\ge2\). Its forest correspondence counts each word once, including words with several realizing trees.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24700760
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint