arXiv · 2609.33137
Maximal Lehmer Codes for Permutations with Classical and Consecutive 321-Avoidance
Abstract
Let ${S}_n(321)$ and ${S}_n(\underline{321})$ denote the sets of $n$-permutations avoiding the classical pattern $321$ and the consecutive pattern $\underline{321}$, respectively. Permutations are in bijection with Lehmer codes, a type of inversion sequence. Using Lehmer codes, we create the corresponding weighted posets ${L}_n(321)$ and ${L}_n(\underline{321})$, where the weight of a code is the inversion number of its permutation. We show that there are $2^{n-2}$ maximal elements of ${L}_n(321)$, while the maximal elements of ${L}_n(\underline{321})$ are enumerated by the Padovan numbers. We also show that when $n$ is even, each of these posets has a unique maximum weight element, and that when $n$ is odd, there are two maximum weight elements. These maximum weight Lehmer codes correspond to the pattern avoiding permutations with maximum inversion number.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Andrew Beveridge, Yufan Hu, Yucheng Liu. 2026-09-27. Maximal Lehmer Codes for Permutations with Classical and Consecutive 321-Avoidance. https://arxiv.org/abs/2609.33137
Cite the original work for its findings. Save a collection to share your selection of sources.