Dyck Words, Pattern Avoidance, and Automatic Sequences
Pith reviewed 2026-05-24 10:13 UTC · model grok-4.3
The pith
Binary words avoiding 7/3-powers have bounded nesting levels as Dyck words, with an explicit characterization and tight bounds on the count for Thue-Morse factors.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Binary words that are 7/3-power-free have bounded nesting level. This no longer holds for larger repetition exponents. The factors of the Thue-Morse word that are Dyck admit an explicit characterization, and the number f(n) of Dyck factors of length 2n satisfies tight upper and lower bounds.
What carries the argument
Nesting level of a Dyck word (maximum depth in the parenthesis matching) together with the standard morphism generating the Thue-Morse word and the classical definition of k-power-freeness.
If this is right
- Every 7/3-power-free binary word has finite nesting level when read as parentheses.
- For any repetition exponent strictly larger than 7/3 there exist power-free words with arbitrarily large nesting levels.
- The Dyck factors of the Thue-Morse word are completely described by a finite collection of allowed patterns.
- The counting function f(n) is pinned between two explicit functions whose ratio tends to 1.
Where Pith is reading between the lines
- Repetition thresholds in combinatorics on words translate directly into structural restrictions on balanced parenthesis sequences.
- The low subword complexity of automatic sequences such as Thue-Morse sharply limits the possible Dyck factors they can contain.
- The same nesting bound may apply to other overlap-free or power-free morphic words generated by uniform morphisms.
Load-bearing premise
That the standard morphism for the Thue-Morse word and the usual definition of k-power-freeness suffice to control nesting depth and to list all Dyck factors without further unstated restrictions.
What would settle it
A single 7/3-power-free binary word whose parenthesis interpretation reaches a nesting depth exceeding the stated bound, or a Dyck factor of the Thue-Morse word that falls outside the given characterization.
Figures
read the original abstract
We study various aspects of Dyck words appearing in binary sequences, where $0$ is treated as a left parenthesis and $1$ as a right parenthesis. We show that binary words that are $7/3$-power-free have bounded nesting level, but this no longer holds for larger repetition exponents. We give an explicit characterization of the factors of the Thue-Morse word that are Dyck, and show how to count them. We also prove tight upper and lower bounds on $f(n)$, the number of Dyck factors of Thue-Morse of length $2n$.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper studies Dyck words in binary sequences (0 as open parenthesis, 1 as close). It proves that 7/3-power-free binary words have bounded nesting level (but this fails for larger exponents), gives an explicit characterization of the Dyck factors of the Thue-Morse word, and establishes tight upper and lower bounds on f(n), the number of length-2n Dyck factors of the Thue-Morse word.
Significance. If the proofs hold, the result links classical notions of power-freeness and overlap-freeness in automatic sequences to the nesting depth of Dyck words, yielding both a sharp threshold (7/3) and a concrete enumeration for the Thue-Morse word. The explicit characterization and tight bounds on f(n) constitute a concrete, falsifiable contribution to combinatorics on words.
minor comments (3)
- The abstract and introduction should explicitly state the definition of nesting level used for binary Dyck words and confirm that it matches the classical height function.
- Section on the characterization of Dyck factors of Thue-Morse should include a short table or example listing the first few such factors to illustrate the claimed explicit form.
- The proof of the 7/3 threshold would benefit from a brief remark on why the constant is sharp, perhaps by exhibiting a single 7/3-power-free word whose nesting level exceeds any given bound.
Simulated Author's Rebuttal
We thank the referee for their positive summary, significance assessment, and recommendation of minor revision. No specific major comments were provided in the report.
Circularity Check
No significant circularity; derivation is self-contained
full rationale
The paper's central results rely on standard external definitions: the Thue-Morse word via its fixed morphism, classical k-power-freeness, and the nesting level for binary Dyck words (0 open, 1 close). The 7/3-power-free bounded-nesting claim and the explicit Dyck-factor characterization of Thue-Morse factors are derived via combinatorial arguments and pattern-avoidance properties that do not reduce to self-citations, fitted parameters, or redefinitions of the inputs. No load-bearing step equates a prediction to a fit by construction or imports uniqueness solely from the authors' prior work. The bounds on f(n) follow directly from the characterization without circular reduction.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Standard morphism definition and overlap-free properties of the Thue-Morse word.
- standard math Classical definitions of k-power-free words and Dyck words over a binary alphabet.
Reference graph
Works this paper leans on
-
[1]
J.-P. Allouche and J. Shallit. The ring of k-regular sequences. Theoret. Comput. Sci. , 98(2):163–197, 1992
work page 1992
-
[2]
L. Balkov´ a, E. Pelantov´ a, and W. Steiner. Return words in the Thue-Morse and other sequences, 2006. Preprint available at https://hal.science/hal-00089863v2
work page 2006
-
[3]
J. Berstel and C. Reutenauer. Noncommutative rational series with applications, volume 137 of Encyclopedia of Mathematics and its Applications . Cambridge University Press, Cam- bridge, 2011
work page 2011
-
[4]
J. Brillhart and P. Morton. ¨Uber Summen von Rudin-Shapiroschen Koeffizienten. Illinois J. Math., 22(1):126–148, 1978
work page 1978
-
[5]
C. Choffrut, A. Malcher, C. Mereghetti, and B. Palano. First-order logics: some character- izations and closure properties. Acta Inform., 49(4):225–248, 2012
work page 2012
-
[6]
N. Chomsky and M. P. Sch¨ utzenberger. The algebraic theory of context-free languages. In Computer programming and formal systems , pages 118–161. North-Holland, Amsterdam, 1963
work page 1963
- [7]
- [8]
-
[9]
L. Mol, N. Rampersad, and J. Shallit. Extremal overlap-free and extremal β-free binary words. Electron. J. Combin., 27(4):Paper No. 4.42, 2020
work page 2020
-
[10]
L. Mol, N. Rampersad, and J. Shallit. Dyck words, pattern avoidance, and automatic sequences. In Combinatorics on words , volume 13899 of Lecture Notes in Comput. Sci. , pages 220–232. Springer, 2023. 20 Dyck words, pattern avoidance, and automatic sequences
work page 2023
- [11]
-
[12]
P. Ochem. A generator of morphisms for infinite words. Theor. Inform. Appl., 40(3):427–441, 2006
work page 2006
-
[13]
N. Rampersad and J. Shallit. Rudin-Shapiro sums via automata theory and logic. In Combinatorics on words , volume 13899 of Lecture Notes in Comput. Sci. , pages 233–246. Springer, 2023
work page 2023
-
[14]
J. Shallit. Synchronized sequences. In Combinatorics on words , volume 12847 of Lecture Notes in Comput. Sci. , pages 1–19. Springer, 2021
work page 2021
-
[15]
J. Shallit. The logical approach to automatic sequences—exploring combinatorics on words with Walnut, volume 482 of London Mathematical Society Lecture Note Series . Cambridge University Press, Cambridge, 2023
work page 2023
-
[16]
J. Shallit and A. Zavyalov. Transduction of automatic sequences and applications. In Implementation and application of automata , volume 14151 of Lecture Notes in Comput. Sci., pages 266–277. Springer, 2023
work page 2023
-
[17]
N. J. A. Sloane. The On-Line Encyclopedia of Integer Sequences, 2022. Available online at https://oeis.org
work page 2022
-
[18]
A. Thue. ¨Uber die gegenseitige Lage gleicher Teile gewisser Zeichenreihen. Norske vid. Selsk. Skr. Mat. Nat. Kl. , 1:1–67, 1912. Reprinted in Selected Mathematical Papers of Axel Thue , T. Nagell, editor, Universitetsforlaget, Oslo, 1977, pp. 413–478. Received: December 15, 2023 Accepted for publication: May 27, 2024 Communicated by: Rigo Michel, Emilie ...
work page 1912
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.