Optimal single-track Gray codes from Gray-ordered necklaces
Chris Dzoba
Key points
From the paper's conclusion- We show that a conjecture of Degni and Drisko (2007) on the reflected Gray code order of necklaces implies optimal single-track Gray codes for every prime.
Abstract
A single-track Gray code of length $n$ is a cyclic Gray code of $n$-bit words in which every column is a cyclic shift of the first. For prime $n$ the longest possible period is $2^n-2$. Whether it is attained for every prime has been open since Hiltgen, Paterson and Brandestini introduced these codes in 1996, and optimal codes were known for primes $n\le 19$. We show that a conjecture of Degni and Drisko (2007) on the reflected Gray code order of necklaces implies optimal single-track Gray codes for every prime. Their list of necklaces, conjecturally a Gray path for prime $n$, closes into a Hamilton cycle of the necklace graph after $(n-3)/2$ explicit P\'osa rotations, and such a cycle lifts to an optimal code. This implication is formalized in Lean 4. Together with computation it gives optimal single-track Gray codes for every odd prime $n\le 47$: for $n\le 37$ explicit codes checked word by word by a program independent of the generator, and for $n=41$, $43$ and $47$ codes obtained from the implication after the Degni-Drisko property was verified at these lengths by two independently written programs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Shorthand Universal Tori for Permutations: Existence, Symmetry, and Generation of TworiarXiv · 2026
- A Geometric Derivation of the Bitner--Ehrlich--Reingold Loopless Gray Code AlgorithmarXiv · 2026
- Small graphs without power-of-two cycles: a lower bound of 24, a correction to a construction of Exoo, and explicit bounds for f(k)arXiv · 2026
- A density theorem for non-standard irreducible cyclic codesarXiv · 2026
- Trees of odd order with at most two vertices of degree two are edge-gracefularXiv · 2026
- Odd-ordered Cayley graphs satisfy Erd\H{o}s--Gy\'arf\'asarXiv · 2026