Indexed metadata

Optimal single-track Gray codes from Gray-ordered necklaces

Chris Dzoba

Source record

Source: arXiv

Published: Oct 17, 2026

arXiv: 2610.24758

Open original source ↗

Source abstract

A single-track Gray code of length nn is a cyclic Gray code of nn-bit words in which every column is a cyclic shift of the first. For prime nn the longest possible period is 2n−22^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≤19n\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 nn, closes into a Hamilton cycle of the necklace graph after (n−3)/2(n-3)/2 explicit Pósa 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≤47n\le 47: for n≤37n\le 37 explicit codes checked word by word by a program independent of the generator, and for n=41n=41, 4343 and 4747 codes obtained from the implication after the Degni-Drisko property was verified at these lengths by two independently written programs.

Evidence graph

No public relationships recorded yet.

Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.