We solve the problem of existence of perfect codes in the Doob graph. It is shown that 1-perfect codes in the Doob graph D(m, n) exist if and only if 6m + 3n + 1 is a power of 2; that is, if the size of a 1-ball divides the number of vertices.
Index TermsPerfect codes, Doob graphs, Eisenstein-Jacobi integers.
I. INTRODUCTIONThe codes in Doob graphs are special cases of codes over Eisenstein-Jacobi integers, see, e.g., [8], [12], which can be used for the information transmission in the channels with two-dimensional or complexvalued modulation. The vertices of a Doob graph can be considered as words in the mixed alphabet consisting of the elements of the quotient (modulo 4 and modulo 2) rings of the ring of Eisenstein-Jacobi integers, see, e.g., [10]. In contrast to the cases considered in [8], [12], 4 is not a prime number, and the quotient ring is not a field. This fact is not a problem from the point of view of the modern coding theory, which has a reach set of algebraic and combinatorial tools to deal with rings, see, e.g., [14]; moreover, studying codes in the Doob graphs is additionally motivated by the application of association schemes in coding theory [3]: the algebraic parameters of the schemes associated with these graphs are the same as for the quaternary Hamming scheme (this fact can be also treated from the point of view of the corresponding distance-regular graphs).In this paper, we completely solve the problem of existence of perfect codes in the class of Doob graphs. Namely, we show the existence of 1-perfect codes in the Doob graph D(m, n) for all m and n that satisfy the obvious necessary condition: the size 6m + 3n + 1 of a ball of radius 1 divides the number 4 2m+n of vertices. In the previous papers [9], [10], [15], the problem was solved only for the cases when the parameters satisfy additional conditions admitting the existence of linear or additive perfect codes, or for small values of m.The class of Doob graphs is a class of distance-regular graphs of unbounded diameter, and the problem considered can be viewed in the general context of the problem of existence of perfect codes in distanceregular graphs. We mention some known results in this area, mainly concentrating on the distance-regular graphs important for coding theory. A connected graph is called distance-regular if there are constants s ij such that for every i, j and for every vertex x, every vertex y at distance i from x has exactly s ij neighbors at distance j from x. In the Hamming graphs H(n, q), the problem of complete characterization of parameters of perfect codes is solved only for the case when q is a prime power [16], [18]: there are no nontrivial perfect codes except the e-perfect repetition codes in H(2e + 1, 2), the 3and 2-perfect Golay codes [5] in H(23, 2) and H(11, 3), respectively, and the 1-perfect codes in H((q k − 1)/(q − 1), q). In the case of a non-prime-power q, no nontrivial perfect codes are known, and the parameters for which the nonexistence is not proven are restricted by 1and 2-perfect codes (the las...