Deterministic stack-sorting for set partitions
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 for sock sequences that uses a -avoiding stack, where pattern containment need not be consecutive. When , we show that our stack-sorting map sorts any sock sequence with distinct socks in at most iterations, and that this bound is tight for . We obtain a fine-grained enumeration of the number of sock patterns of length on distinct socks that are -stack-sortable under , and we also obtain asymptotics for the number of sock patterns of length that are -stack-sortable under . Finally, we show that for all unsorted sock patterns , the map cannot eventually sort all sock sequences on any multiset unless every sock sequence on 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}
}