Binary valuation sums and insertion fibers for 1-23-4-avoiding permutations
Binary valuation sums and insertion fibers for 1-23-4-avoiding permutations MathOverflow user231922 asked whether the first \(2^n\) terms of a binary valuation sequence sum to the number of \(1\text{-}23\text{-}4\)-avoiding permutations of length \(n+1\), for every integer \(n\geq 0\). An occurrence of \(1\text{-}23\text{-}4\) in a permutation \(\pi\) consists of positions \(p<q<q+1<s\) with \(\pi_p<\pi_q<\pi_{q+1}<\pi_s\). Write \(a(r)\) for the number of avoiders of length \(r\), as tabulated in OEIS A113227. The question is the main displayed conjecture \(s(n)=a(n+1)\) in the post of 24 April 2023. Original MathOverflow question · OEIS A113227 For the sequence defined on the nonnegative integers by \[b(0)=1,\qquad b\bigl(2^h(2u+1)\bigr)=\sum_{j=0}^h(j+1)b(2^ju)\qquad(h,u\geq 0),\] the answer is affirmative for every integer \(n\geq 0\): \[\sum_{i=0}^{2^n-1}b(i)=a(n+1).\] Each term also counts an exact insertion fiber. Use Callan's rooted plane trees with vertex labels \(0,\ldots,r\), increasing along edges away from the root and increasing on the leaves in left-to-right order. The size \(r\) counts edges. Start from any such tree with positive root outdegree \(h+1\). For integers \(n\geq 0\) and \(0\leq i<2^n\), read the fixed-length \(n\)-bit word of \(i\) from the least significant bit. A \(0\) inserts the new vertex as the leftmost root child and raises the shifted root degree by one. A \(1\) places a consecutive block of root children under the new vertex. From shifted degree \(h\), there are \(j+1\) placements with target shifted degree \(j\), for each \(0\leq j\leq h\). In both operations the old positive vertex labels increase by one and the new vertex has label \(1\). The number of insertion sequences with that prescribed word is exactly \(b(2^hi)\). From the unique one-edge tree, reversible deletion and Callan's bijection give exactly \(b(i)\) avoiders of length \(n+1\) with code value \(i\). Callan, equation (1) and §2 The counting mechanism works at both the sum and word levels. With \(F(n,h)=\sum_{0\leq i<2^n}b(2^hi)\), parity gives \(F(0,h)=1\) and \[F(n,h)=F(n-1,h+1)+\sum_{j=0}^h(j+1)F(n-1,j)\qquad(n\geq 1,\ h\geq 0).\] For a nonzero word, let \(v\) count its initial zero bits in reading order and set \(u=\lfloor i/2^{v+1}\rfloor\). The first \(1\) is read at shifted degree \(h+v\), and the remaining \(n-v-1\) bits encode \(u\). Summing the suffix counts \(b(2^ju)\) with the destination multiplicities \(j+1\) gives \(b(2^hi)\). The all-zero word has one sequence at every length, including the empty word. Appending high-order zero bits adds forced insertions, and initial low-order zeros determine the shifted degree at which the first \(1\) is read.
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.24776817
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint