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 σ = aba, we show that our stack-sorting map sorts any sock sequence with n distinct socks in at most n iterations, and that this bound is tight for n ≥ 3. We obtain a fine-grained enumeration of the number of sock patterns of length n on r distinct socks that are 1-stack-sortable under φaba, and we also obtain asymptotics for the number of sock patterns of length n that are 1-stack-sortable under φaba. Finally, we show that for all unsorted sock patterns σ ≠ a·s a b a ·s a, the map φσ cannot eventually sort all sock sequences on any multiset M unless every sock sequence on M is already sorted.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…