A minimum-change version of the Chung-Feller theorem for Dyck paths
arXiv:1603.02525 · doi:10.1016/j.ejc.2017.11.003
Abstract
A Dyck path with steps and flaws is a path in the integer lattice that starts at the origin and consists of many -steps and many -steps that change the current coordinate by or , respectively, and that has exactly many -steps below the line . Denoting by the set of Dyck paths with steps and flaws, the Chung-Feller theorem asserts that the sets all have the same cardinality , the -th Catalan number. The standard combinatorial proof of this classical result establishes a bijection between and that swaps certain parts of the given Dyck path , with the effect that and may differ in many positions. In this paper we strengthen the Chung-Feller theorem by presenting a simple bijection between and which has the additional feature that and differ in only two positions (the least possible number). We also present an algorithm that allows to compute a sequence of applications of in constant time per generated Dyck path. As an application, we use our minimum-change bijection to construct cycle-factors in the odd graph and the middle levels graph --- two intensively studied families of vertex-transitive graphs --- that consist of many cycles of the same length.