Root-rank gap recurrences for 231-avoiding ordered forests
An exact root-rank recurrence counts noncrossing doubled words avoiding the classical pattern \(23132\) at every size by converting them to ordered forests. A doubled word on \([n]=\{1,\ldots,n\}\) uses each label twice and is noncrossing when the intervals joining equal labels are disjoint or nested. An occurrence of \(23132\) is a subsequence \(a\,b\,c\,b\,a\) with \(c<a<b\). Read a plane rooted tree with edges bijectively labeled by \([n]\) in depth-first order, recording each edge label on entry and exit. The contour correspondence is invertible because the most recently opened edge closes first. The subsequence exists exactly when edges with labels \(a,b,c\), with \(c<a<b\), lie in strict ancestor order, possibly separated by other edges. Moving each edge label to its child vertex and deleting the unlabeled root gives an ordered forest with the same strict ancestor-chain avoidance condition. In an avoiding tree whose root has \(k\) smaller labels, a larger-labeled vertex with a descendant labeled below the root would complete a forbidden \(231\) with the root. The root and all \(k\) smaller labels thus form a connected core. A core vertex with \(d\) core children has \(d+1\) distinguishable gaps in its ordered child list, yielding exactly \(2k+1\) gaps across the core. Each gap accepts an ordered avoiding forest on its assigned larger labels. Cutting out these forests and restoring them in their gaps are inverse operations. Let \(t_n\) count single vertex-labeled avoiding plane rooted trees on \([n]\), and \(f_n\) count avoiding ordered forests on \([n]\). Set \(t_0=0\), \(f_0=1\), and \(F(z)=\sum_{n\geq 0}f_n z^n/n!\). Distributing the larger labels among the gaps gives the first recurrence, and choosing the label set of the first tree of a forest gives the second. For \(n\geq 1\), \[t_n=\sum_{k=0}^{n-1}f_k(n-1-k)!\,[z^{n-1-k}]F(z)^{2k+1},\qquad f_n=\sum_{i=1}^{n}\binom{n}{i}t_if_{n-i}. \] Compute \(t_n\) first from earlier forest counts, then \(f_n\), which is also the desired word count. Caching \(m![z^m]F(z)^j\) gives all counts through size \(N\) in \(O(N^3)\) integer operations with \(O(N^2)\) stored integers. The first five counts, starting with the empty word, are \(1,1,4,29,304\). Archer and Laudone, §5, final paragraph. For each \(n\geq 0\), how many noncrossing words on \([n]=\{1,\ldots,n\}\) with two copies of each label avoid the classical subsequence \(a\,b\,c\,b\,a\) with \(c<a<b\), of relative pattern \(23132\)? The count is \(f_n\) from the coupled tree and forest recurrences, with \(f_0=1\). The contour correspondence identifies the words with ordered forests avoiding \(231\) along strict ancestor chains. A tree root with \(k\) smaller labels gives \(2k+1\) ordered attachment gaps, supplying the factor \(F(z)^{2k+1}\) in the tree recurrence. The recurrences compute the counts through size \(N\) in \(O(N^3)\) integer operations.
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.24700502
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint