A single-track Gray code is a cyclic Gray code in which each track is a cyclic shift of the first. We solve the following conjecture suggested by Schwartz and Etzion in 1999: for every odd prime $p$, does there exist a binary single-track Gray code of length $2p$ attaining the maximum possible period $2^{2p}-4$? We construct such a code by ordering necklace representatives along an Euler circuit in a directed multigraph.
翻译:暂无翻译