English

Gray codes and symmetric chains

Combinatorics 2022-08-23 v4 Discrete Mathematics

Abstract

We consider the problem of constructing a cyclic listing of all bitstrings of length 2n+12n+1 with Hamming weights in the interval [n+1,n+][n+1-\ell,n+\ell], where 1n+11\leq \ell\leq n+1, by flipping a single bit in each step. This is a far-ranging generalization of the well-known middle two levels problem (the case =1\ell=1). We provide a solution for the case =2\ell=2, and we solve a relaxed version of the problem for general values of \ell, by constructing cycle factors for those instances. The proof of the first result uses the lexical matchings introduced by Kierstead and Trotter, which we generalize to arbitrary consecutive levels of the hypercube. The proof of the second result uses symmetric chain decompositions of the hypercube, a concept known from the theory of posets. We also present several new constructions of such decompositions based on lexical matchings. In particular, we construct four pairwise edge-disjoint symmetric chain decompositions of the nn-dimensional hypercube for any n12n\geq 12.

Keywords

Cite

@article{arxiv.1802.06021,
  title  = {Gray codes and symmetric chains},
  author = {Petr Gregor and Sven Jäger and Torsten Mütze and Joe Sawada and Kaja Wille},
  journal= {arXiv preprint arXiv:1802.06021},
  year   = {2022}
}
R2 v1 2026-06-23T00:24:46.347Z