Optimal Non-Binary Single-Track Gray Code
arXiv:2607.13588
The paper proves the existence of non‑binary single‑track Gray codes of certain lengths over prime alphabets, showing constructions for p=3 and p=5 and providing conditions for larger primes.
Abstract
A single-track Gray code is a cyclic Gray code with codewords of length , over an alphabet of size , such that all the tracks that correspond to the distinct coordinates of the codewords are cyclic shifts of the first track. Such codes have advantages over the conventional Gray codes in certain quantization and coding applications. Unless , there are no such binary codes that contain all the codewords of length . In this paper, we prove that such codes of length , , with codewords, over $\F_p$, prime, exist, for and . For larger prime an appropriate code for , implies the existence of such a code for any . If the alphabet size is not a prime there are also indications that such codes exist.