English

Balanced Gray Codes for Permutations and Rainbow Cycles for Associahedra

Combinatorics 2025-07-28 v1

Abstract

We settle the problem of constructing a balanced transposition Gray code for permutations of [n]:={1,,n}[n] := \{1, \dots, n\} with nN{0}n \in \mathbb{N}\setminus\{0\}. More generally, we obtain a~2(m2)!2(m-2)!-rainbow cycle for the permutations of [n][n] for m[n]m \in [n], a notion recently introduced by Felsner, Kleist, M\"utze, and Sering. Furthermore, we extend a result of theirs by presenting a kk-rainbow cycle for the classical associahedron An\mathcal{A}_{n} for k[2n+2]k \in [2n + 2]. For even nn, we also construct a balanced Gray code for permutations of [n][n], using only cyclically adjacent transpositions, complementing the construction for odd nn by Gregor, Merino, and M\"utze. Additionally, we show that the Permutahedron PnP_{n} admits a 22-rainbow cycle for all n5n\ge5 and a 33-rainbow cycle for odd n3n\ge3.

Keywords

Cite

@article{arxiv.2507.19293,
  title  = {Balanced Gray Codes for Permutations and Rainbow Cycles for Associahedra},
  author = {Robert Lauff and Lucca Tiemens},
  journal= {arXiv preprint arXiv:2507.19293},
  year   = {2025}
}

Comments

34 pages, 15 figures

R2 v1 2026-07-01T04:18:54.390Z