Abstract
The subject of this work is self-dual Type I -codes of length 48. It is known that the usual upper bound for the minimum Euclidean weight for the self-dual -codes cannot be achieved for this length and type of codes; i.e., extremal Type I -codes of length 48 do not exist. We are therefore looking for near-extremal Type I -codes of length 48. The only known Type I near-extremal -code of length 48 was constructed in 2015 by M. Harada. We adapted a known pseudo-random search method and found at least two new near-extremal Type I -codes of length 48. These codes are the first Type I near-extremal -codes with a residue code of minimum weight 8.
MSC:
94B05; 94B65
1. Introduction
In this paper, we study codes over the ring . Interest in such codes was aroused by the discovery of their connection to classes of nonlinear binary codes such as Kerdock and Preparata codes []. Further interest developed in particular in the class of self-dual -codes, and all self-dual -codes with lengths up to 20 are fully classified [,,,,]. This is motivated by the fact that some nice examples of nonlinear binary codes are generated as Gray images of such codes (for example, the Gray image of octacode is the Nordstrom–Robinson code [] (p. 474)). And while codes were developed in the 20th century in conjunction with and in comparison to binary codes, some of the more recent research (for example, [,,,]) relates to their technical application. This arouses interest in the construction of self-dual codes, which is a very active field of research.
It is a well-known fact that self-dual -codes have all Euclidean weights divisible by four. Self-dual -codes are divided into Type I and Type II codes, the latter denoting those self-dual -codes in which all codewords have Euclidean weights divisible by eight. In this paper, we restrict our attention to the construction of Type I self-dual -codes, more precisely to the construction of near-extremal -codes of Type I and length 48. To our knowledge, only one such code is known so far (see []).
Extremal self-dual -codes are codes that have the largest possible minimum Euclidean weight. Particular attention was paid to codes whose length is divisible by 8. All extremal Type II -codes of length 24 were classified by R. A. L. Betty and A. Munemasa in []. Type I extremal -codes of length 24 do not exist (see []). All extremal -codes of length 24 are therefore known. This is the largest length for which a classification of extremal -codes is made. There are many known extremal -codes of length 32 and 40. To save space, we refer the reader to [], where new codes of these lengths are constructed and information about known codes is given.
A small number of extremal -codes of length 48 is known. There are only two known extremal Type II -codes of length 48 (see [,]). In addition, as with length 24, it is shown in [] that Type I extremal -codes of this length do not exist. Therefore, it makes sense to search for Type I near-extremal -codes of length 48. The only known Type I near-extremal -code of length 48 was constructed in 2015 by M. Harada (see []). In this work, we have constructed 145 Type I near-extremal -codes of length 48, including at least two inequivalent codes that were not known before.
This paper is organized as follows. In the next section, we present the basic facts that are used in our work. This is followed by Section 3, which describes the method we used to construct new Type I near-extremal -codes of length 48. The computational results are then presented in Section 4. In the same section, we describe the properties of the codes obtained and discuss the computational data. Finally, the generator matrices of the new Type I near-extremal -codes of length 48 are given in Appendix A.
2. Preliminaries
We assume that the reader is familiar with the basic facts of coding theory. We refer the reader to [] in relation to terms not defined in this paper.
A binary linear code of length n is a k-dimensional vector subspace of the vector space , where is the binary field. For , the Hamming weight of x, denoted by is the number of non-zero coordinates of x. A binary code C is doubly even if is divisible by 4, for all . The number is called the minimum weight of the binary code C. A binary linear code C of length n, dimension k and minimum weight d is denoted as an code.
The dual code of the code C of length n is defined as
where denotes the standard inner product in . The code C is self-orthogonal if . It is a well-known fact that every doubly even binary code is self-orthogonal (see, for example, []).
A -code C of length n is the -submodule of . Two -codes, C and of length n, are equivalent if there exists a monomial matrix M with non-zero elements in such that . The elements of a -code C are called codewords of C. The Euclidean weight of the codeword is defined as , where denotes the number of coordinates in x equal to i, for . The minimum Euclidean weight of a -code C is the number . The Euclidean weight distribution of the code C is represented by the polynomial . Both and are invariants for the -codes. The dual code of the -code C of length n is defined as
where for and The code C is self-orthogonal if and self-dual if Every -code C contains a set of codewords such that each codeword in C is uniquely expressible in the form
where, for , , and has at least one coordinate equal to 1 or 3, and, for , , and has all coordinates equal to 0 or 2. It is said that C is of type . The matrix whose rows are elements of the set is called the generator matrix of a -code C. There are two binary linear codes of length n associated with C. These codes are the residue code, defined as , and the torsion code, defined as .
Every self-dual -code is equivalent to a code that has a generator matrix of the following form:
where F, B, H are binary matrices, is the identity matrix and O is a zero matrix (see [] (p. 497)). The type of such self-dual -code C is . If C has the generator matrix of the form (1), then the generator matrices of its residue code and its torsion code are
The following theorem gives a characterization of self-dual -codes (see []).
Theorem 1.
Let C be a -code with a generator matrix of the form (1). The code C is self-dual if and only if is doubly even, , and B is such that rows of are orthogonal.
In [], it is shown that the lower diagonal elements of B are uniquely determined by the upper diagonal elements by the following condition:
where denotes the s-th row vector of the matrix F, , . The diagonal elements can be chosen freely, and for different choices of diagonal elements, we obtain monomially equivalent -codes. The previous discussion gives the standard way to construct a self-dual -code starting from any doubly even binary code. Given a doubly even binary code with a generator matrix of the form (2), one can find a dual code with a generator matrix of the form (3). Then, it only remains to choose one of the possible suitable choices for the matrix B to obtain a generator matrix of a -code of the form (1).
The upper bounds on the minimum Euclidean weight of self-dual -codes are known (see [] (p. 495)) and are given in the following theorem.
Theorem 2.
Let C be a self-dual -code of length n. If C is Type II, then the minimum Euclidean weight of C is at most . If C is Type I, then the minimum Euclidean weight of C is at most except when , in which case the bound is . If equality holds in this latter bound, then C is obtained by shortening a Type II code of length .
A self-dual -code is called extremal if its minimum Euclidean weight meets the bounds from the previous theorem. Let C be a self-dual -code of length n, and let be the upper bound on from Theorem 2. The code C is a near-extremal -code if (see []).
In [], for , -codes (defined as -submodules of ) are studied. In our work, we will need the following fact.
Lemma 1
([] (Lemma 2.5, b)). Let C be a Type I -code of length n. If , then .
We end this section with brief information about Hadamard designs and codes spanned by their incidence matrices. For further background reading on this topic, we refer the reader to [,].
An Hadamard matrix of order n is a square matrix H of order n such that every entry of H is in , and . An Hadamard matrix H of order n is normalized (or in standard form) if every entry of the first row and the first column of H is equal to 1. Two Hadamard matrices of order n are equivalent if one can be obtained from another by permuting rows or columns and by the multiplication of any row/column by . It is well established that every Hadamard matrix is equivalent to some normalized Hadamard matrix of the same order. Additionally, every normalized Hadamard matrix H of order n yields a design (see []). Such designs have an incidence matrix of the form
where J is the all-ones matrix, and M is the matrix obtained from H by removing its first row and column of ones and interchanging every element with 0. The following corollary gives an important fact about codes generated by these incidence matrices (see [] (Corollary 3.3)).
Corollary 1.
Let H be a normalized Hadamard matrix of order Then, the incidence matrix of a corresponding design spans a doubly even binary code of length n.
Therefore, such codes can be used as residue codes of self-dual -codes.
3. Method of Construction
One of the major obstacles in the construction of near-extremal -codes is the large search space (a total of codes) and the time-consuming determination of the minimum Euclidean weight of a code. To tackle this problem, a method for determining the minimum Euclidean weight of a larger number of codes based on the known Euclidean weight distribution of a code was developed in []. This construction was used to obtain new extremal -codes of lengths 32 and 40. Here, we give a brief overview of the main results from [], as we will use the same algorithm to perform an efficient random search for near-extremal -codes of length 48.
Let C be a self-dual -code with the generator matrix in the form (1), i.e.,
where is a binary matrix for which the self-duality condition (4) holds. Let , , be an upper diagonal position of B such that . Let be a binary matrix such that
for all , and such that the -code is generated by , i.e.,
is self-dual (condition (4) holds for ). We say that is the -neighbor of B, and that the code is the -neighbor of the code C.
Let be of the form
where , is the s-th row of the matrix . Let be
i.e., is the codeword in generated by the same coefficients as v.
It was proven in [] that , where the value of the parameter r is represented in Table 1 for all possible coefficients and . In that table, and represent the number of non-zero off-diagonal entries in columns i and j of the matrix B. The parity of the size of sets marked by * does not impact the value of r. For all combinations of the coefficients and that are not in Table 1, holds.
Table 1.
The value of the parameter r.
The following statement is a direct consequence of Theorem 3.6. from [].
Corollary 2.
Let C be a self-dual -code of length 48 and its -neighbor. Let and be the Euclidean weight enumerators of C and , respectively. For , let and denote the sets of codewords of Euclidean weight m from C and , respectively. For , we define the following sets and their cardinality:
where for , is the codeword from generated by the same coefficients as v. Then,
Based on this corollary, we use the following pseudo-random search for near-extremal -codes of length 48:
- Start with an arbitrary matrix B.
- In each iteration of the algorithm do the following.
- 2.1
- Generate a self-dual -code C with the generator matrix , and evaluate(this is from Corolary 2).
- 2.2
- If then C is near-extremal.
- 2.3
- Determine the sets and defined in the Corollary 2.
- 2.4
- For every upper diagonal element of the matrix B that is equal to 0, determine the -neighbor . If the near-extremality of the corresponding neighbor is undetermined, from Table 1, evaluate the numbers , and .
- 2.5
- All that have are near-extremal.
- 2.6
- Mark all neighbors of B as checked.
- 2.7
- Repeat the process with the next unchecked and randomly generated matrix B.
4. Computational Results
In this section, we use the described algorithm for the construction of new near-extremal Type I -codes of length 48. The following upper bound for Type I -codes of length 48 is derived from Lemma 1 for the special case of .
Proposition 1.
Let C be a Type I -code of length 48. Then, .
According to Theorem 2, since for , the upper bound for is . Therefore, an extremal Type I -code of length 48 should have . But Proposition 1 shows that this is impossible. Therefore, there are no extremal -codes of Type I of length 48. Furthermore, a self-dual Type I -code C of length 48 is near-extremal if . Moreover, based on the previous discussion, such codes have the largest possible minimum Euclidean weight among Type I -codes of length 48.
The following statement gives the necessary condition on the minimum weight of the torsion code of a near-extremal -code of length 48.
Proposition 2.
If C is a Type I near-extremal -code of length 48, then has a minimum weight .
Proof.
Since C is near-extremal, for all . By definition, , for some . Therefore, , which completes the proof. □
As described, we start our construction from doubly even binary codes of length 48. To obtain such codes, we used 53 Hadamard matrices, given in []. From these matrices, we constructed incidence matrices of the corresponding Hadamard designs and span doubly even binary codes (see Corollary 1). In that way, we obtained six inequivalent doubly even binary codes , , …, . The weight distributions of codes , , …, are given in Table 2.
Table 2.
Parameters and the weight distribution of binary codes .
The code has a minimum weight of 4, so this code is not suitable for the construction of near-extremal -codes (see Proposition 2). Since the minimum weights of the codes , , …, are greater than 5, these codes are suitable for the construction of near-extremal codes according to Proposition 2. The code is the residue code of an already known near-extremal -code, which was constructed by Harada in [].
We have applied the pseudo-random search procedure described in the previous section to the binary codes , , …, . The only residue codes that resulted in near-extremal -codes are and . The number of codewords with a Euclidean weight of 20 in all near-extremal Type I -codes constructed from is the same as in the known near-extremal -code constructed by Harada. Further, a total of 145 near-extremal Type I -codes are obtained from the code . Their generator matrices are available at http://www.math.uniri.hr/~sanjar/structures/ (accessed on 5 February 2025).
Since is self-dual, all the obtained near-extremal -codes are of type . At least two of these 145 -codes are non-equivalent. This fact is established by looking at the number of codewords with a Euclidean weight of 20. In these near-extremal Type I -codes, the numbers of codewords with a Euclidean weight of 20 are 307,520 and 308,752. Since the binary codes and are not equivalent (different minimum weights), the near-extremal Type I -codes obtained from are new. As far as we know, these are the first near-extremal Type I -codes constructed from this binary residue code and the first such codes to have the binary residue code with a minimum weight of 8.
The generator matrices of the two new near-extremal Type I -codes of length 48, together with the generator matrix of the binary code , are given in Appendix A. In Appendix A.2 of Appendix A, only the matrix F is given, since is self-dual and has the generator matrix of the form . The matrices and from Appendix A.1 are the matrices that give the generator matrices and of the new near-extremal codes. The number of codewords of Euclidean weight 20 is 307,520 for the code generated by the and 308,752 for the code generated by .
All the computations in this work were carried out using a computer algebra system MAGMA [].
Remark 1.
All of the constructed near-extremal codes have the minimum Lee weight of 16. The Gray images of the constructed codes are non-linear binary codes of length 96. For more information on Lee weights and Gray images, see [] (ch. 12.2.). We provide this information as it can be useful in further analysis of the error-correcting performance of the obtained codes.
Author Contributions
Methodology, M.M. and S.R.; Software, M.M.; Writing—original draft, M.M.; Writing—review & editing, S.R.; Supervision, S.R. All authors have read and agreed to the published version of the manuscript.
Funding
This work has been supported by the University of Rijeka under the project uniri-iskusni-prirod-23-62.
Data Availability Statement
The authors confirm that the data supporting the findings of this study are available within the article.
Acknowledgments
The authors would like to express their sincere gratitude to the reviewers for their careful reading of the manuscript and for their constructive suggestions, which have contributed to improving the quality of the manuscript.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Generator Matrices
Appendix A.1. Matrices for New Near-Extremal Codes
Appendix A.2. The Matrix F of Starting Residue Code
References
- Hammons, A.R.; Kumar, P.V.; Calderbank, A.R.; Sloane, N.J.A.; Solé, P. The -linearity of Kerdock, Preparata, Goethals, and related codes. IEEE Trans. Inform. Theory 1994, IT-40, 301–319. [Google Scholar] [CrossRef]
- Betty, R.A.L.; Munemasa, A. Classification of Self-dual Codes of Length 20 over and Length at Most 18 over . In Cryptography and Coding—17th IMA International Conference; Albrecht, M., Ed.; Springer: Cham, Switzerland, 2019; pp. 64–77. [Google Scholar]
- Conway, J.H.; Sloane, N.J.A. Self-dual codes over the integers modulo 4. J. Comb. Theory Ser. A 1993, 62, 30–45. [Google Scholar] [CrossRef]
- Fields, J.; Gaborit, P.; Leon, J.S.; Pless, V. All self-dual codes of length 15 or less are known. IEEE Trans. Inf. Theory 1998, 44, 311–322. [Google Scholar] [CrossRef]
- Harada, M.; Munemasa, A. On the Classification of Self-dual -Codes. In Cryptography and Coding; Parker, M.G., Ed.; Springer: Berlin/Heidelberg, Germany, 2009; pp. 78–90. [Google Scholar]
- Pless, V.; Leon, J.S.; Fields, J. All Codes of Type II and Length 16 Are Known. J. Comb. Theory Ser. A 1997, 78, 32–50. [Google Scholar] [CrossRef]
- Huffman, W.C.; Pless, V. Fundamentals of Error-Correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
- Alahmadi, A.N.; Melibari, F.A.; Gupta, M.K. DNA Code Design Based on the Cosets of Codes over . Mathematics 2023, 11, 4732. [Google Scholar] [CrossRef]
- Benkhouya, R.; Chana, I.; Hadi, Y. Codes over for PAPR and BER reduction in OFDM communication system. In Proceedings of the 3rd International Conference on Smart City Applications (SCA ’18), Association for Computing Machinery, Tetouan, Morocco, 10–11 October 2018; pp. 1–7. [Google Scholar]
- Feng, B.; Bai, S.S.; Chen, B.Y.; Zhou, X.N. The Constructions of DNA Codes from Linear Self-Dual Codes over . In Proceedings of the International Conference on Computer Information Systems and Industrial Applications (CISIA 2015), Bangkok, Thailand, 28–29 June 2015; pp. 496–498. [Google Scholar]
- Rocha, A.S.L.L.; Faria, L.C.B.; Kleinschmidt, J.H.; Palazzo, R.; Silva-Filho, M.C. DNA sequences generated by -linear codes. In Proceedings of the IEEE International Symposium on Information Theory (ISIT 2010), Austin, TX, USA, 13–18 June 2010; pp. 1320–1324. [Google Scholar]
- Harada, M. Extremal Type I -codes and k-frames of odd unimodular lattices. IEEE Trans. Inf. Theory 2015, 61, 72–81. [Google Scholar] [CrossRef]
- Betty, R.A.L.; Munemasa, A. Classification of Extremal Type II -codes of Length 24. In WCC 2022: The Twelfth International Workshop on Coding and Cryptography; University of Rostock: Rostock, Germany, 2022. [Google Scholar]
- Crnković, D.; Mravić, M.; Rukavina, S. Construction of extremal -codes using a neighborhood search algorithm. Adv. Math. Commun. 2025, 19, 91–108. [Google Scholar] [CrossRef]
- Bonnecaze, A.; Solé, P.; Bachoc, C.; Mourrain, B. Type II codes over . IEEE Trans. Inf. Theory 1997, 43, 969–976. [Google Scholar] [CrossRef]
- Harada, M.; Kitazume, M.; Munemasa, A.; Venkov, B. On some self-dual codes and unimodular lattices in dimension 48. Eur. J. Comb. 2005, 26, 543–557. [Google Scholar] [CrossRef][Green Version]
- Gaborit, P. Mass formulas for self-dual codes over and rings. IEEE Trans. Inf. Theory 1996, 42, 1222–1228. [Google Scholar] [CrossRef]
- Craigen, R.; Kharaghani, H. Hadamard matrices and Hadamard designs. In Handbook of Combinatorial Designs; Colbourn, C.J., Dinitz, J.H., Eds.; Chapman & HallCRC Press: Boca Raton, FL, USA, 2007; pp. 273–280. [Google Scholar]
- Tonchev, V.D. On Pless symmetry codes, ternary QR codes, and related Hadamard matrices and designs. Des. Codes Cryptogr. 2022, 90, 2753–2762. [Google Scholar] [CrossRef]
- Ban, S.; Crnković, D.; Mravić, M.; Rukavina, S. New extremal Type II -codes of length 32 obtained from Hadamard matrices. Discret. Math. Algorithms Appl. 2019, 11, 1950057. [Google Scholar] [CrossRef]
- Kotsireas, I.S.; Koukouvinos, C.; Seberry, J. Hadamard ideals and Hadamard matrices with two circulant cores. Eur. J. Comb. 2006, 27, 658–668. [Google Scholar] [CrossRef][Green Version]
- Bosma, W.; Cannon, J.; Playoust, C. The Magma algebra system. I. The user language. J. Symb. Comput. 1993, 24, 235–265. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).