Generalized Gray codes with prescribed ends
Tom\'a\v{s} Dvo\v{r}\'ak, Petr Gregor, V\'aclav Koubek

TL;DR
This paper extends the classical Gray code existence result to multiple disjoint pairs with prescribed start and end points, identifying conditions under which such sequences exist or do not exist.
Contribution
It generalizes the classical Gray code result to multiple pairs, providing necessary and sufficient conditions for their existence with a specific exception.
Findings
Sequences exist for all cases with odd Hamming distances except one
The result is optimal; some configurations do not admit such sequences
Identifies an exception when n=4 and k=3
Abstract
An -bit Gray code is a sequence of all -bit strings such that consecutive strings differ in a single bit. It is well-known that given , an -bit Gray code between and exists iff the Hamming distance of and is odd. We generalize this classical result to pairwise disjoint pairs : if is odd for all and , then the set of all -bit strings can be partitioned into sequences such that the -th sequence leads from to and consecutive strings differ in a single bit. This holds for every with one exception in the case when . Our result is optimal in the sense that for every there are pairwise disjoint pairs with odd for which such…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
