Restricted stacks as functions

From MaRDI portal
Publication:1981702



Abstract: The stack sort algorithm has been the subject of extensive study over the years. In this paper we explore a generalized version of this algorithm where instead of avoiding a single decrease, the stack avoids a set T of permutations. We let sT denote this map. We classify for which sets T the map sT is bijective. A corollary to this answers a question of Baril, Cerbai, Khalil, and Vajnovszki about stack sort composed with ssigma,au, known as the (sigma,au)-machine. This fully classifies for which sigma and au the preimage of the identity under the (sigma,au)-machine is counted by the Catalan numbers. We also prove that the number of preimages of a permutation under the map sT is bounded by the Catalan numbers, with a shift of indices. For T of size 1, we classify exactly when this bound is sharp. We also explore the periodic points and maximum number of preimages of various sT for T containing two length 3 permutations.












This page was built for publication: Restricted stacks as functions

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