An exact quadratic-state enumeration of monotone-avoiding noncrossing doubled words

An exact recurrence counts noncrossing doubled words on \([n]\) avoiding a strictly decreasing subsequence of length three. A doubled word uses each label twice. Noncrossing excludes alternating endpoints \(abab\) for distinct labels \(a,b\). Reversal preserves noncrossing and interchanges classical \(321\) and \(123\), so the recurrence inserts new maxima in the \(123\)-avoiding class. Let \(L\) be the length of a word's longest weakly decreasing prefix and \(p_x<q_x\) the positions of label \(x\). Insert the two copies of \(n+1\) in old gaps \(0\le i\le j\le2n\), numbered by the number of preceding old letters. Coincident gaps give adjacent copies. The exact test is \[j\le L,\qquad |\{p_x,q_x\}\cap(i,j]|\in\{0,2\}\quad\text{for every }x\in[n].\] The first condition blocks an increasing pair before the later maximum. The second prevents any old arc from crossing the new one. Encode the prefix by a token word \(w\), with \(E\) for a complete adjacent pair and \(O\) for an opening whose partner lies beyond the prefix. From each parent, add its count once to \(Ew\). If \(w\) starts with \(r\) pair tokens, add the count once to each \(OE^h\) for \(1\le h\le r\). For every nonempty whole-token prefix \(v\), add the count \(1+t\) times to \(v\), where \(t\) counts consecutive pair tokens immediately after \(v\). Finally, for each factorization \(w=vEu\), add the count once to \(vO\). These updates partition the legal gap pairs. Deleting the maximum recovers the parent and both gaps, so multiplicities count distinct words. Start with one empty token word and sum the state counts at each level. Exactly \(n^2\) states are reachable at every positive level \(n\). Computing all counts through size \(N\) uses \(O(N^4)\) integer arithmetic operations and \(O(N^2)\) stored integers. Archer and Laudone, §5, noncrossing 321 question. For every \(n\ge0\), how many words with two copies of each label in \([n]\) have no alternating pair of arcs and no strictly decreasing subsequence of length three? The four maximum-insertion updates on weakly decreasing prefix states give an exact recurrence at every size, initialized by the empty word. Reversal gives the same count for strict \(123\) avoidance. Through size \(N\), the cost is \(O(N^4)\) integer operations and \(O(N^2)\) stored integers.

Authors

Institutions

Publication Details

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

An exact quadratic-state enumeration of monotone-avoiding noncrossing doubled words

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

An exact quadratic-state enumeration of monotone-avoiding noncrossing doubled words

Zixuan He
preprint en

Abstract

An exact recurrence counts noncrossing doubled words on \([n]\) avoiding a strictly decreasing subsequence of length three. A doubled word uses each label twice. Noncrossing excludes alternating endpoints \(abab\) for distinct labels \(a,b\). Reversal preserves noncrossing and interchanges classical \(321\) and \(123\), so the recurrence inserts new maxima in the \(123\)-avoiding class. Let \(L\) be the length of a word's longest weakly decreasing prefix and \(p_x<q_x\) the positions of label \(x\). Insert the two copies of \(n+1\) in old gaps \(0\le i\le j\le2n\), numbered by the number of preceding old letters. Coincident gaps give adjacent copies. The exact test is \[j\le L,\qquad |\{p_x,q_x\}\cap(i,j]|\in\{0,2\}\quad\text{for every }x\in[n].\] The first condition blocks an increasing pair before the later maximum. The second prevents any old arc from crossing the new one. Encode the prefix by a token word \(w\), with \(E\) for a complete adjacent pair and \(O\) for an opening whose partner lies beyond the prefix. From each parent, add its count once to \(Ew\). If \(w\) starts with \(r\) pair tokens, add the count once to each \(OE^h\) for \(1\le h\le r\). For every nonempty whole-token prefix \(v\), add the count \(1+t\) times to \(v\), where \(t\) counts consecutive pair tokens immediately after \(v\). Finally, for each factorization \(w=vEu\), add the count once to \(vO\). These updates partition the legal gap pairs. Deleting the maximum recovers the parent and both gaps, so multiplicities count distinct words. Start with one empty token word and sum the state counts at each level. Exactly \(n^2\) states are reachable at every positive level \(n\). Computing all counts through size \(N\) uses \(O(N^4)\) integer arithmetic operations and \(O(N^2)\) stored integers. Archer and Laudone, §5, noncrossing 321 question. For every \(n\ge0\), how many words with two copies of each label in \([n]\) have no alternating pair of arcs and no strictly decreasing subsequence of length three? The four maximum-insertion updates on weakly decreasing prefix states give an exact recurrence at every size, initialized by the empty word. Reversal gives the same count for strict \(123\) avoidance. Through size \(N\), the cost is \(O(N^4)\) integer operations and \(O(N^2)\) stored integers.

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