English

Subword enumeration up to stack-sorting equivalence

Combinatorics 2026-04-29 v1 Formal Languages and Automata Theory

Abstract

Defant and Kravitz introduced generalizations of West's stack-sorting map ss from permutations to finite words. This raises questions as to how such generalizations could be applied in the field of combinatorics on words. The Defant-Kravitz generalizations of ss depend on how repeated occurrences of the same character within a word may be repositioned, according to their tortoise\textsf{tortoise} and hare\textsf{hare} operations. As demonstrated in this paper, these operations provide a natural way of extending abelian complexity functions for infinite sequences, in a way that gives light to structural properties associated with infinite words. We apply these new ideas to two famous infinite words: the paperfolding word and the Thue-Morse word. In the case of the Thue-Morse word, we discover an interesting connection to the previous work of several authors, such as de Luca and Varricchio, on the ``special'' factors of the Thue-Morse word. This may be seen as providing a basis for a new and interdisciplinary area linking the combinatorics about the stack-sorting of permutations with the field of combinatorics on words.

Keywords

Cite

@article{arxiv.2604.25811,
  title  = {Subword enumeration up to stack-sorting equivalence},
  author = {John M. Campbell and Narad Rampersad},
  journal= {arXiv preprint arXiv:2604.25811},
  year   = {2026}
}

Comments

23 pages

R2 v1 2026-07-01T12:39:32.956Z