Stack-sorting for words

From MaRDI portal




Abstract: We introduce operators mathsfhare and mathsftortoise, which act on words as natural generalizations of West's stack-sorting map. We show that the heuristically slower algorithm mathsftortoise can sort words arbitrarily faster than its counterpart mathsfhare. We then generalize the combinatorial objects known as valid hook configurations in order to find a method for computing the number of preimages of any word under these two operators. We relate the question of determining which words are sortable by mathsfhare and mathsftortoise to more classical problems in pattern avoidance, and we derive a recurrence for the number of words with a fixed number of copies of each letter (permutations of a multiset) that are sortable by each map. In particular, we use generating trees to prove that the ell-uniform words on the alphabet [n] that avoid the patterns 231 and 221 are counted by the (ell+1)-Catalan number frac1elln+1(ell+1)nchoosen. We conclude with several open problems and conjectures.



Cites work







This page was built for publication: Stack-sorting for words

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3300688)