English

Optimal Non-Binary Single-Track Gray Code

Information Theory 2026-07-15 v1

Abstract

A single-track Gray code is a cyclic Gray code with codewords of length nn, over an alphabet of size mm, such that all the nn tracks that correspond to the nn 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 n=2n=2, there are no such binary codes that contain all the 2n2^n codewords of length nn. In this paper, we prove that such codes of length ptp^t, n2n \geq 2, with pptp^{p^t} codewords, over \Fp\F_p, pp prime, exist, for p=3p=3 and p=5p=5. For larger prime pp an appropriate code for t=2t=2, implies the existence of such a code for any t>2t >2. If the alphabet size mm is not a prime there are also indications that such codes exist.

Cite

@article{arxiv.2607.13588,
  title  = {Optimal Non-Binary Single-Track Gray Code},
  author = {Tuvi Etzion},
  journal= {arXiv preprint arXiv:2607.13588},
  year   = {2026}
}