English

Deterministic stack-sorting for set partitions

Combinatorics 2023-09-27 v1

Abstract

A sock sequence is a sequence of elements, which we will refer to as socks, from a finite alphabet. A sock sequence is sorted if all occurrences of a sock appear consecutively. We define equivalence classes of sock sequences called sock patterns, which are in bijection with set partitions. The notion of stack-sorting for set partitions was originally introduced by Defant and Kravitz. In this paper, we define a new deterministic stack-sorting map ϕσ\phi_{\sigma} for sock sequences that uses a σ\sigma-avoiding stack, where pattern containment need not be consecutive. When σ=aba\sigma = aba, we show that our stack-sorting map sorts any sock sequence with nn distinct socks in at most nn iterations, and that this bound is tight for n3n \geq 3. We obtain a fine-grained enumeration of the number of sock patterns of length nn on rr distinct socks that are 11-stack-sortable under ϕaba\phi_{aba}, and we also obtain asymptotics for the number of sock patterns of length nn that are 11-stack-sortable under ϕaba\phi_{aba}. Finally, we show that for all unsorted sock patterns σaabaa\sigma \neq a\cdots a b a \cdots a, the map ϕσ\phi_{\sigma} cannot eventually sort all sock sequences on any multiset MM unless every sock sequence on MM is already sorted.

Keywords

Cite

@article{arxiv.2309.14644,
  title  = {Deterministic stack-sorting for set partitions},
  author = {Janabel Xia},
  journal= {arXiv preprint arXiv:2309.14644},
  year   = {2023}
}