Right-extension structures for simultaneous vincular stack constraints

Ten pairs of vincular constraints on the first of two stacks have exact all-length sorting counts. The paper also determines when moving an adjacency requirement preserves the sortable inputs and their first outputs. In \(ab\text{-}c\) the first two pattern positions must be adjacent, and in \(a\text{-}bc\) the last two must be adjacent. The first stack pushes whenever its tentative contents, read top to bottom, avoid both patterns. Otherwise it pops and retries the same letter. It flushes at the end. The ordinary second stack sorts exactly when the first output avoids classical \(231\). Appending a letter \(x\), with order-preserving relabeling, changes the complete first output from \(PAB\) to \(PAxB\), where \(P\) is the already emitted part and \(AB\) is the old flush. A \(231\) in the output persists under further extensions. Exact next-rank rules on accepted prefixes then give the following counts for length \(n\ge1\), with \(C_i=\binom{2i}{i}/(i+1)\). \[\begin{array}{c|l} \text{First-stack pair}&\text{Sortable count}\ (12\text{-}3,32\text{-}1)&2^{n-1}\ (1\text{-}23,1\text{-}32)&2^n-n\ (1\text{-}23,23\text{-}1)&\binom{2n-2}{n-1}\ (1\text{-}23,13\text{-}2)&(n-1)2^{n-2}+1\ (1\text{-}32,12\text{-}3)&1+\sum_{i=1}^{n-1}(n-i)C_i\ (12\text{-}3,3\text{-}12),\ (12\text{-}3,31\text{-}2)&\sum_{i=0}^{n-1}\binom{n-1}{i}C_i\ (1\text{-}32,3\text{-}21),\ (1\text{-}32,32\text{-}1)&M_n\ (23\text{-}1,32\text{-}1)&C_n \end{array}\] Here \(M(z)=\sum_{n\ge0}M_nz^n=1+zM(z)+z^2M(z)^2\) with \(M(0)=1\). Empty sums are zero. The rank rules use alternating extremes, descending outputs with a fixed final entry, three-run stacks, and direct-sum cuts. With \(C(z)=\sum_{i\ge0}C_i z^i\), the central-binomial, binomial-transform, Motzkin and Catalan rows have positive-length series \(z/\sqrt{1-4z}\), \(\frac{z}{1-z}C(\frac{z}{1-z})\), \(M(z)-1\) and \(C(z)-1\), respectively. The two Motzkin machines share their sortable domain and agree on first outputs there, though their unrestricted outputs differ on \(1423\). Both binomial-transform pairs agree with the classical \((123,312)\) machine on its sortable domain and first outputs there. For \((12\text{-}3,31\text{-}2)\) predicate equality on every stack word already transfers the known classical count. For \((12\text{-}3,3\text{-}12)\) the unrestricted operator differs, and the result follows by tracing the first differing push and the resulting \(231\) obstruction. Moving the \(132\) bond in the two pairs with \(1\text{-}23\) changes sortability of \(3142\), whose first outputs are \(2413\) and \(4213\), respectively. Zhao, §5, Table 4, final row. For the greedy first stack simultaneously forbidding \(123\) and \(321\) with their first two pattern positions adjacent, followed by an ordinary stack, are there \(2^{n-1}\) sortable permutations of length \(n\) for every \(n\ge1\)? Yes. The right-extension ranks give this count for the simultaneous \((12\text{-}3,32\text{-}1)\) machine at every positive length. Zhao, §5, Table 4, A000325 row. For the greedy first stack forbidding both \(123\) and \(132\) with their last two positions adjacent, followed by an ordinary stack, does \(2^n-n\) count sortable length-\(n\) permutations for every \(n\ge1\)? Yes. The simultaneous \((1\text{-}23,1\text{-}32)\) machine has this count at every positive length. Its domain differs from that of the single \(1\text{-}23\) machine with the same count. Zhao, §5, Table 4, A000984 row. When the greedy first stack forbids \(123\) with the last two positions adjacent and \(231\) with the first two adjacent, followed by an ordinary stack, is the sortable count \(\binom{2n-2}{n-1}\) for every \(n\ge1\)? Yes. The three state families for \((1\text{-}23,23\text{-}1)\) give the positive-length series \(z/\sqrt{1-4z}\) and hence the stated count. Zhao, §5, Table 4, A005183 row. When the greedy first stack forbids \(123\) with the last two positions adjacent and \(132\) with the first two adjacent, followed by an ordinary stack, is the sortable count \((n-1)2^{n-2}+1\) for all \(n\ge1\)? Yes. The extra accepted rank immediately below the fixed final entry yields the count for \((1\text{-}23,13\text{-}2)\), with one sortable singleton. The sequence index in A005183 is \(n-1\). Zhao, §5, Table 4, A294790 row. When the greedy first stack forbids \(132\) with its last two positions adjacent and \(123\) with its first two adjacent, followed by an ordinary stack, is the sortable count \(1+\sum_{i=1}^{n-1}(n-i)C_i\) for every \(n\ge1\), with \(C_i\) the Catalan numbers? Yes. The exact rank transitions give this count for \((1\text{-}32,12\text{-}3)\), with an empty sum at length one. Its sortable domain differs from the single classical \(123\) machine with the same count. Zhao, §5, Table 4, two specified A007317 entries. For each greedy first-stack pair \((12\text{-}3,3\text{-}12)\) and \((12\text{-}3,31\text{-}2)\), followed by an ordinary stack, does \(\sum_{i=0}^{n-1}\binom{n-1}{i}C_i\) count sortable inputs for all \(n\ge1\), where \(C_i\) is Catalan and the undashed pair must be adjacent? Yes for both. For \((12\text{-}3,31\text{-}2)\), predicate equality on every stack word transfers the known classical \((123,312)\) count. For \((12\text{-}3,3\text{-}12)\), the paper proves equality of sortable domains and first outputs there with the classical machine. The unrestricted operators differ in this second comparison. Zhao, §5, Table 4, Motzkin entries. For each greedy first-stack pair \((1\text{-}32,3\text{-}21)\) and \((1\text{-}32,32\text{-}1)\), followed by an ordinary stack, is the number of sortable length-\(n\) inputs the Motzkin number \(M_n\) for every \(n\ge1\), with the undashed pair required to be adjacent? Yes. Matching rank transitions prove both the Motzkin counts and equality of sortable domains and first outputs there. The input \(1423\) separates the unrestricted operators. Zhao, §5, Table 4, final Catalan pair. When the greedy first stack forbids \(231\) and \(321\) with the first two positions of each occurrence adjacent, followed by an ordinary stack, does the Catalan number \(C_n\) count sortable length-\(n\) permutations for every \(n\ge1\)? Yes. The direct-sum cuts give the exact right-extension slots for \((23\text{-}1,32\text{-}1)\) and the positive-length series \(C(z)-1\). This resolves the specified pair. The other seven Catalan pairs are covered separately by reductions to known counts.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24700791
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Right-extension structures for simultaneous vincular stack constraints

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Right-extension structures for simultaneous vincular stack constraints

Zixuan He
preprint en

Abstract

Ten pairs of vincular constraints on the first of two stacks have exact all-length sorting counts. The paper also determines when moving an adjacency requirement preserves the sortable inputs and their first outputs. In \(ab\text{-}c\) the first two pattern positions must be adjacent, and in \(a\text{-}bc\) the last two must be adjacent. The first stack pushes whenever its tentative contents, read top to bottom, avoid both patterns. Otherwise it pops and retries the same letter. It flushes at the end. The ordinary second stack sorts exactly when the first output avoids classical \(231\). Appending a letter \(x\), with order-preserving relabeling, changes the complete first output from \(PAB\) to \(PAxB\), where \(P\) is the already emitted part and \(AB\) is the old flush. A \(231\) in the output persists under further extensions. Exact next-rank rules on accepted prefixes then give the following counts for length \(n\ge1\), with \(C_i=\binom{2i}{i}/(i+1)\). \[\begin{array}{c|l} \text{First-stack pair}&\text{Sortable count}\ (12\text{-}3,32\text{-}1)&2^{n-1}\ (1\text{-}23,1\text{-}32)&2^n-n\ (1\text{-}23,23\text{-}1)&\binom{2n-2}{n-1}\ (1\text{-}23,13\text{-}2)&(n-1)2^{n-2}+1\ (1\text{-}32,12\text{-}3)&1+\sum_{i=1}^{n-1}(n-i)C_i\ (12\text{-}3,3\text{-}12),\ (12\text{-}3,31\text{-}2)&\sum_{i=0}^{n-1}\binom{n-1}{i}C_i\ (1\text{-}32,3\text{-}21),\ (1\text{-}32,32\text{-}1)&M_n\ (23\text{-}1,32\text{-}1)&C_n \end{array}\] Here \(M(z)=\sum_{n\ge0}M_nz^n=1+zM(z)+z^2M(z)^2\) with \(M(0)=1\). Empty sums are zero. The rank rules use alternating extremes, descending outputs with a fixed final entry, three-run stacks, and direct-sum cuts. With \(C(z)=\sum_{i\ge0}C_i z^i\), the central-binomial, binomial-transform, Motzkin and Catalan rows have positive-length series \(z/\sqrt{1-4z}\), \(\frac{z}{1-z}C(\frac{z}{1-z})\), \(M(z)-1\) and \(C(z)-1\), respectively. The two Motzkin machines share their sortable domain and agree on first outputs there, though their unrestricted outputs differ on \(1423\). Both binomial-transform pairs agree with the classical \((123,312)\) machine on its sortable domain and first outputs there. For \((12\text{-}3,31\text{-}2)\) predicate equality on every stack word already transfers the known classical count. For \((12\text{-}3,3\text{-}12)\) the unrestricted operator differs, and the result follows by tracing the first differing push and the resulting \(231\) obstruction. Moving the \(132\) bond in the two pairs with \(1\text{-}23\) changes sortability of \(3142\), whose first outputs are \(2413\) and \(4213\), respectively. Zhao, §5, Table 4, final row. For the greedy first stack simultaneously forbidding \(123\) and \(321\) with their first two pattern positions adjacent, followed by an ordinary stack, are there \(2^{n-1}\) sortable permutations of length \(n\) for every \(n\ge1\)? Yes. The right-extension ranks give this count for the simultaneous \((12\text{-}3,32\text{-}1)\) machine at every positive length. Zhao, §5, Table 4, A000325 row. For the greedy first stack forbidding both \(123\) and \(132\) with their last two positions adjacent, followed by an ordinary stack, does \(2^n-n\) count sortable length-\(n\) permutations for every \(n\ge1\)? Yes. The simultaneous \((1\text{-}23,1\text{-}32)\) machine has this count at every positive length. Its domain differs from that of the single \(1\text{-}23\) machine with the same count. Zhao, §5, Table 4, A000984 row. When the greedy first stack forbids \(123\) with the last two positions adjacent and \(231\) with the first two adjacent, followed by an ordinary stack, is the sortable count \(\binom{2n-2}{n-1}\) for every \(n\ge1\)? Yes. The three state families for \((1\text{-}23,23\text{-}1)\) give the positive-length series \(z/\sqrt{1-4z}\) and hence the stated count. Zhao, §5, Table 4, A005183 row. When the greedy first stack forbids \(123\) with the last two positions adjacent and \(132\) with the first two adjacent, followed by an ordinary stack, is the sortable count \((n-1)2^{n-2}+1\) for all \(n\ge1\)? Yes. The extra accepted rank immediately below the fixed final entry yields the count for \((1\text{-}23,13\text{-}2)\), with one sortable singleton. The sequence index in A005183 is \(n-1\). Zhao, §5, Table 4, A294790 row. When the greedy first stack forbids \(132\) with its last two positions adjacent and \(123\) with its first two adjacent, followed by an ordinary stack, is the sortable count \(1+\sum_{i=1}^{n-1}(n-i)C_i\) for every \(n\ge1\), with \(C_i\) the Catalan numbers? Yes. The exact rank transitions give this count for \((1\text{-}32,12\text{-}3)\), with an empty sum at length one. Its sortable domain differs from the single classical \(123\) machine with the same count. Zhao, §5, Table 4, two specified A007317 entries. For each greedy first-stack pair \((12\text{-}3,3\text{-}12)\) and \((12\text{-}3,31\text{-}2)\), followed by an ordinary stack, does \(\sum_{i=0}^{n-1}\binom{n-1}{i}C_i\) count sortable inputs for all \(n\ge1\), where \(C_i\) is Catalan and the undashed pair must be adjacent? Yes for both. For \((12\text{-}3,31\text{-}2)\), predicate equality on every stack word transfers the known classical \((123,312)\) count. For \((12\text{-}3,3\text{-}12)\), the paper proves equality of sortable domains and first outputs there with the classical machine. The unrestricted operators differ in this second comparison. Zhao, §5, Table 4, Motzkin entries. For each greedy first-stack pair \((1\text{-}32,3\text{-}21)\) and \((1\text{-}32,32\text{-}1)\), followed by an ordinary stack, is the number of sortable length-\(n\) inputs the Motzkin number \(M_n\) for every \(n\ge1\), with the undashed pair required to be adjacent? Yes. Matching rank transitions prove both the Motzkin counts and equality of sortable domains and first outputs there. The input \(1423\) separates the unrestricted operators. Zhao, §5, Table 4, final Catalan pair. When the greedy first stack forbids \(231\) and \(321\) with the first two positions of each occurrence adjacent, followed by an ordinary stack, does the Catalan number \(C_n\) count sortable length-\(n\) permutations for every \(n\ge1\)? Yes. The direct-sum cuts give the exact right-extension slots for \((23\text{-}1,32\text{-}1)\) and the positive-length series \(C(z)-1\). This resolves the specified pair. The other seven Catalan pairs are covered separately by reductions to known counts.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon