Abstract
A Gray code of size n is a cyclic sequence of all binary words of length n such that two consecutive words differ exactly in one position. We say that the Gray code is a distance code if the Hamming distance between words located at distance k from each other is equal to d. The distance property generalizes the familiar concepts of a locally balanced Gray code. We prove that there are no distance Gray codes with d = 1 for k > 1. Some examples of constructing distance Gray codes are given. For one infinite series of parameters, it is proved that there are no distance Gray codes.
Similar content being viewed by others
References
I. S. Bykov, “On Locally Balanced Gray Codes,” Diskretn. Anal. Issled. Oper. 23 (1), 51–64, 2016 [J. Appl. Indust. Math. 10 (1), 78–85 (2016)].
A. A. Evdokimov, “On Enumeration of Subsets of a Finite Set,” in Methods ofDiscreteAnalysis forSolving Combinatorial Problems, Vol. 34 (Izd. Inst. Mat., Novosibirsk, 1980), pp. 8–26
A. L. Perezhogin, “On Automorphisms of Cycles in an n-Dimensional Boolean Cube,” Diskretn. Anal. Issled. Oper. Ser. 1, 14 (3), 67–79 (2007).
G. J. Chang, S.-P. Eu, and C.-H. Yeh, “On the (n, t)-Antipodal Gray Codes,” Theor. Comput. Sci. 374 (1–3), 82–90 (2007).
L. Goddyn and P. Gvozdjak, “Binary Gray Codes with Long Bit Runs,” Electron. J. Combin. 10 (R27), 1–10 (2003).
L. Goddyn, G. M. Lawrence, and E. Nemeth, “Gray Codes with Optimized Run Lengths,” Util. Math. 34, 179–192 (1988).
C. Killian and C. Savage, “Antipodal Gray Codes,” DiscreteMath. 281, 221–236 (2002).
D. E. Knuth, The Art of Computer Programming (Addison-Wesley, Reading, MA, 2004).
C. Savage, “A Survey of Combinatorial Gray Codes,” SIAM Rev. 39 (4), 605–629 (1997).
Author information
Authors and Affiliations
Corresponding author
Additional information
Original Russian Text © I.S. Bykov, A.L. Perezhogin, 2017, published in Diskretnyi Analiz i Issledovanie Operatsii, 2017, Vol. 24, No. 2, pp. 5–17.
Rights and permissions
About this article
Cite this article
Bykov, I.S., Perezhogin, A.L. On distance Gray codes. J. Appl. Ind. Math. 11, 185–192 (2017). https://doi.org/10.1134/S1990478917020041
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1134/S1990478917020041