Next Article in Journal
A Comparison of Several AI Techniques for Authorship Attribution on Romanian Texts
Previous Article in Journal
Convolution Based Graph Representation Learning from the Perspective of High Order Node Similarities
Previous Article in Special Issue
A New Approach to Determine the Minimal Polynomials of Binary Modified de Bruijn Sequences
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Some Families of Codes Related to the Even Linear Codes Meeting the Grey–Rankin Bound

by
Iliya Bouyukliev
1,
Stefka Bouyuklieva
2,* and
Maria Pashinska-Gadzheva
1
1
Institute of Mathematics and Informatics, Bulgarian Academy of Sciences, 5000 Veliko Tarnovo, Bulgaria
2
Faculty of Mathematics and Informatics, St. Cyril and St. Methodius University of Veliko Tarnovo, 5000 Veliko Tarnovo, Bulgaria
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(23), 4588; https://doi.org/10.3390/math10234588
Submission received: 9 November 2022 / Revised: 29 November 2022 / Accepted: 30 November 2022 / Published: 3 December 2022
(This article belongs to the Special Issue Mathematical Coding Theory)

Abstract

:
Bounds for the parameters of codes are very important in coding theory. The Grey–Rankin bound refers to the cardinality of a self-complementary binary code. Codes meeting this bound are associated with families of two-weight codes and other combinatorial structures. We study the relations among six infinite families of binary linear codes with two and three nonzero weights that are closely connected to the self-complementary linear codes meeting the Grey–Rankin bound. We give a construction method and partial classification results for such codes. The properties of the codes in the studied families and their relations help us in constructing codes of a higher dimension from codes with a given dimension.

1. Introduction

We have two main goals with this study. The first is to explore and describe in detail the relationships between derivative codes of codes meeting the Grey–Rankin bound. Our motivation for looking for these connections is that they help us in constructing codes of higher dimensions. The other goal is to construct new codes and partially classify codes with larger parameters on the basis of proven relations, properties, and known results. More precisely, we perform the following: First, we give a general theoretical construction for ( k + 2 ) -dimensional codes of the considered type on the basis of already known k-dimensional codes. Second, we find all inequivalent codes of a given dimension that have as residual a code with fixed properties with the help of previously developed algorithms.
The (Hamming) weight of a vector v in a vector space over the binary field F 2 is given by the number of its nonzero coordinates. A binary linear [ n , k , d ] code C is a k-dimensional subspace of the vector space F 2 n with minimal weight (or distance) d, where d is the smallest weight among all nonzero codewords in the code. The elements of C are called codewords. A subcode of C is a linear subspace of the code.
A code C is self-complementary whenever x C implies x ¯ C , where x ¯ denotes the complement of the binary vector x, obtained by replacing each 0 in x by 1, and each 1 by 0. The binary linear code C is self-complementary if and only if it contains the all-ones vector 1 = ( 1 , , 1 ) (see, for example, [1]). For any length n and minimal distance d, the Grey–Rankin bound [2,3,4] is an upper bound for the cardinality of a binary self-complementary code C. It states that
| C | 8 d ( n d ) n ( n 2 d ) 2
provided that the right-hand side is positive. The bound also holds for nonlinear codes, but we consider only linear codes here.
There is significant research on the self-complementary codes meeting the Grey–Rankin bound. Some of their subcodes are two-weight projective codes. Therefore, they are associated with strongly regular graphs [5,6,7] and uniformly packed codes [8]. Codes of this type can also be considered as divisible codes [9] or self-orthogonal codes [10]. Another important connection of these codes is with the bent functions [11,12] and bent vectorial functions [13]. The set of all codewords with minimal weight in a binary linear self-complementary code of even length, meeting the Grey–Rankin bound, constitutes the set of blocks of a quasisymmetric SDP design [14,15]. Hence, inequivalent codes yield nonisomorphic SDP designs and the number of inequivalent codes and its associated SDP design coincide. Jungnickel and Tonchev [15] showed that the numbers of nonisomorphic quasisymmetric SDP designs and inequivalent self-complementary codes with Parameters (2) and (3) grow exponentially with m from an argument by Kantor [6].
Linear codes of dimension k 7 meeting the Grey–Rankin bound and some families of codes related to them have been well-studied. For codes of this type with a dimension k > 7 , there are only partial results. There are four inequivalent self-complimentary codes with parameters [28,7,12] and [36,7,16] as shown in [16,17]. A lower bound on the number of [ 120 , 9 , 56 ] and [ 136 , 9 , 64 ] codes is presented in [10].
The paper is organized as follows. In Section 2, we present some important properties of the subcodes and residual codes of a linear code, and give some information about the weights in two- and three-weight codes. Section 3 is devoted to the subcodes of the self-complementary codes, projective complementary codes, and a new equivalence relation in the set of binary linear codes with given length and dimension, called SC-equivalence. Section 4 presents six classes of binary linear codes connected to the Grey–Rankin bound. We give a theoretical construction of codes in these families in Section 5. Some computational results are shown in Section 6.

2. Preliminaries

In this section, we present some basic notations, definitions, and theorems.
The dual code of C is C = { u F 2 n : u · v = u 1 v 1 + u 2 v 2 + + u n v n = 0 for all v C } . If C is an [ n , k , d ] code, then C is an [ n , n k , d ] code, and d is called dual distance of C. If d ( C ) = 1 , then the code has zero coordinates. Removing these zero coordinates, we obtain a linear code with the same dimension and the same weights, but with a smaller length, which we call the effective length of C. If d ( C ) > 1 , the effective length of C is n. If the effective length of C is less than n, we consider the code obtained from C by removing the zero coordinates, as the same code, and as the length of C we take its effective length. If d ( C ) = 2 , then the code has equal coordinates. We call the code projective, if d ( C ) 3 .
Definition 1. 
The residual code R e s ( C , c ) with respect to a codeword c C is the restriction of C to the zero coordinates of c.
Lower bounds on the minimal and dual distance of a residual code in the binary case are given by the following theorem and proposition, respectively.
Theorem 1 
([18] Theorem 2.7.1). Suppose C is a binary [ n , k , d ] code, and suppose c C has weight w where w < 2 d . Then, R e s ( C , c ) is an [ n w , k 1 , d ] code with d d w + w / 2 .
The proposition follows directly from [18], Theorem 1.5.7.
Proposition 1. 
Suppose C is a binary [ n , k , d ] code with dual distance d , c C , and the dimension of R e s ( C , c ) is k 1 . Then, the dual distance of R e s ( C , c ) is at least d .
A matrix whose rows form a basis of C is called a generator matrix of C. The weight enumerator W ( y ) of a code C is given by W ( y ) = i = 0 n A i y i , where A i is the number of codewords of weight i. By [ n , k , { w 1 , , w s } ] we denote a linear code whose nonzero weights are in the set { w 1 , , w s } . A linear code over a finite field with the Hamming metric is called Δ -divisible if the weights of all codewords are divisible by Δ . Surveys on divisible codes are given in [9,19]. Applications include subspace codes, partial spreads, vector space partitions, and distance optimal codes [19].
Two binary codes are equivalent if one can be obtained from the other with a permutation of the coordinates. A permutation σ S n for which C = σ ( C ) is an automorphism of C. The set of all automorphisms of C with composition of permutations as the group operation forms the automorphism group of C, denoted by Aut ( C ) .
The parameters of a linear self-complementary code meeting the Grey–Rankin bound are
[ 2 2 m 1 2 m 1 , 2 m + 1 , 2 2 m 2 2 m 1 ]
or
[ 2 2 m 1 + 2 m 1 , 2 m + 1 , 2 2 m 2 ]
for even lengths [1]. A self-complementary code with Parameter (2) or (3) has a unique weight enumerator for each m. In this paper, all self-complementary codes that are considered are even-weight binary projective linear codes.
A binary projective code has no zero coordinates and no equal columns in its generator matrix. Hence, its dual distance is d 3 . Pless power moments are sequences of equations involving binomial coefficients and Stirling numbers relating the weight distributions of C and C [20]. The first three equations for a three-weight projective code with nonzero weights α , β and γ are as follows:
A α + A β + A γ = 2 k 1 α A α + β A β + γ A γ = 2 k 1 n α 2 A α + β 2 A β + γ 2 A γ = 2 k 2 n ( n + 1 )
Solving the corresponding linear system with variables A α , A β and A γ , we obtain
A α = 2 k 2 n ( n + 1 ) ( β + γ ) 2 k 1 n + β γ ( 2 k 1 ) ( α β ) ( α γ ) A β = 2 k 2 n ( n + 1 ) ( γ + α ) 2 k 1 n + α γ ( 2 k 1 ) ( β γ ) ( β α ) A γ = 2 k 2 n ( n + 1 ) ( β + α ) 2 k 1 n + α β ( 2 k 1 ) ( γ β ) ( γ α )
If the code is two-weight, the system is:
A α + A β = 2 k 1 α A α + β A β = 2 k 1 n
and therefore
A α = ( 2 k 1 ) β 2 k 1 n β α , A β = 2 k 1 n ( 2 k 1 ) α β α .
For the two-weight codes that we considered, we obtained B 2 = 0 , where B 2 is the number of the codewords of weight 2 in the dual code. This means that the studied two-weight codes in this research are projective.

3. Subcodes, Projective Complementary Codes, and SC Equivalence

Let C be a binary projective [ n , k ] linear code with a generator matrix G. In this section, we characterise the subcodes of C with dimension k 1 . We present some relations between these subcodes for a self-complementary code C.

3.1. Subcodes of Dimension k − 1

If a F 2 k , then a G is a codeword in the code C. Hence, each vector of the k-dimensional vector space F 2 k defines a codeword in C. If we consider all nonzero vectors of the k-dimensional vector space as the columns of a k × ( 2 k 1 ) matrix S k , we obtain a generator matrix of the well-known simplex code S k .
Let a = ( a 1 , a 2 , , a k ) F 2 k be a nonzero vector, and B a be the set of all solutions of the equation a 1 x 1 + a 2 x 2 + + a k x k = 0 . Then, B a is a linear subspace of F 2 k with dimension k 1 . Using this subspace, we obtain a subcode of C as
C a = { b G , b B a } , dim C a = k 1 .
Conversely, any subcode of dimension k 1 can be considered as a set { w = v G , v F 2 k } where the vectors v are the solutions of a linear equation with k variables. In this way, we obtain a bijection between the set of nonzero vectors in F 2 k and the set of all subspaces of C with dimension k 1 . Hence, the number of these subspaces is 2 k 1 .
Moreover, if we fix b F 2 k , we can consider it as a solution of 2 k 1 1 linear equations with k variables. It follows that any codeword b G belongs to exactly 2 k 1 1 subcodes of dimension k 1 .
Let us see what the effective length of these subcodes is. As C is a projective binary code, the effective length of its subcode of dimension k 1 cannot be less than n 1 . If C i is the set of all codewords in C that have zeros in the i-th coordinate, then C i is a subcode of C with dimension k 1 and effective length n 1 . Thus, C 1 , C 2 , , C n are all subcodes of C with dimension k 1 and effective length n 1 . It follows that the subcodes of dimension k 1 and effective length n are 2 k 1 n . An interesting observation is that the simplex code is the only projective code for which all subcodes of dimension k 1 have the effective length n 1 .

3.2. SC-Equivalence

Let C be a self-complementary projective code. The number of subcodes containing the all-ones vector is N a l l o n e = 2 k 1 1 . Therefore, the number of subcodes not containing that vector is 2 k 1 N a l l o n e = 2 k 1 . If n < 2 k 1 , the subcodes of C with effective length n that do not contain the all-ones vector are 2 k 1 n . If n 2 k 1 , all subcodes with effective length n contain the all-ones vector. For example, for the Reed–Muller code RM ( 1 , m ) the length is n = 2 m and the dimension k = m + 1 , so n = 2 k 1 ; therefore, all its [ 2 m , m ] subcodes either contain the all-ones vector or have effective length n 1 .
Next, we introduce the following construction for a given even integer n:
  • If C is an [ n , k 1 ] linear code that is not self-complementary, C ^ = C ( 1 + C ) . This means that if G is a generator matrix of C, the matrix G ^ = 1 1 G is a generator matrix of C ^ .
  • If C is an [ n 1 , k 1 ] linear code that is not self-complementary, C ^ = ( 0 | C ) ( 1 | 1 + C ) . This means that if G is a generator matrix of C , the matrix G ^ = 1 1 G 0 is a generator matrix of C ^ .
We can now introduce an equivalence relation as follows:
Definition 2. 
Two binary linear codes C 1 and C 2 with effective length either n or n 1 that do not contain the all-ones vector are self-complementary (SC)- equivalent if C 1 ^ and C 2 ^ are equivalent self-complementary codes with length n.
With this equivalence relation in mind, we have that, for code C, all subcodes not containing the all-ones vector define a self-complementary equivalence class (SCE). Thus, if we have a representative from the class, we know all codes of the class up to equivalence. For our research, we consider only codes of that class with a special weight characteristics. Let C be a binary projective linear code that does not contain the all-ones vector. Code C is self-complementary saving weight (SCSW) if all codes in SCE have the same weight enumerators.

3.3. Projective Complementary Codes

Let C be a projective [ n , k ] code with generator matrix G. We can reorder the columns in the matrix S k such that the obtained matrix is S k = ( G | G ¯ ) . The matrix S k generate a simplex code (more precisely, matrices S k and S k generate equivalent codes, and we call them both simplex codes). Then, the matrix G ¯ generates a code of length 2 k 1 n called the projective complementary code of C and denoted by C ¯ .
If C has two nonzero weights w 1 and w 2 , then the weights of C ¯ are 2 k 1 w 1 and 2 k 1 w 2 since all words of the simplex code have constant weight 2 k 1 . Using Pless Power Moments (4), we can calculate the weight enumerator of the projective complementary code C when we know the nonzero weights.

4. Classes of Codes Connected to Grey–Rankin Bound and the Relations between Them

Let C be a self-complementary binary projective code that meets the Grey–Rankin bound. All such codes are fully defined by projective two-weight codes. In this section, we define six families of codes connected to Grey–Rankin bound, four two-weight codes and two three-weight codes. We present the main relations among these six families. Let k = 2 s , s 2 . We introduce the following notations:
t k = 2 k 2 t k ± = t k ± 2 s 1
T k = 2 t k = 2 k 1 T k ± = T k ± 2 s 1
T k + 1 = 2 k
Obviously, T k + + T k = 2 k and t k + + t k = 2 k 1 .
Now, we define the following families of codes:
  • Four families of two-weight linear codes with the following parameters ( k = 2 s ):
    Φ k with parameters [ T k , k , { t k , t k } ]
    Φ k + with parameters [ T k + , k , { t k ; t k + } ]
    Φ k with parameters [ T k 1 , k , { t k , t k } ]
    Φ k + with parameters [ T k + 1 , k , { t k ; t k + } ]
  • There are two families of three-weight codes with the following parameters:
    Ψ k with parameters [ 2 k , k + 1 , { T k , 2 k 1 , T k + } ]
    Ψ k with parameters [ 2 k 1 , k + 1 , { T k , 2 k 1 , T k + } ]
The parameters, weight distributions, and number of inequivalent codes from the different families for s 4 are presented in the following sections. The weight distributions of the codes in the considered families are:
Φ k : 1 + T k y t k + ( T k + 1 ) y t k
Φ k + : 1 + ( T k 1 ) y t k + T k + y t k +
Φ k : 1 + T k + y t k + ( T k 1 ) y t k
Φ k + : 1 + ( T k + 1 ) y t k + T k y t k +
Ψ k : 1 + T k y T k + ( 2 T k 1 ) y T k + T k + y T k +
Ψ k : 1 + T k + y T k + ( 2 T k 1 ) y T k + T k y T k +
Remark 1. 
If C is a code in one of the families Φ k , Φ k + or Ψ k , then the code C ^ = C ( 1 + C ) has the same nonzero weights as C with an additional weight n for the all-ones vector, where n is the length of the code. Similarly, if C is a code in one of the families Φ k , Φ k + or Ψ k , then the code C ^ = ( ( 0 , C ) ( 1 , 1 + C ) ) has the same nonzero weights as C with an additional weight for the all-ones vector.
In Table 1, we give examples for the parameters, the weight distributions, and the number of inequivalent codes in the families Φ k ± and Φ k ± .
Proposition 2. 
From a code in one of the families Φ k , Φ k + , Φ k , Φ k + , one can construct codes from the other three families.
Proof. 
Let A be a code from the family Φ k . Then, its projective complementary code A ¯ has length 2 k 1 T k = T k + 1 and weights 2 k 1 t k = 2 k 1 2 k 2 = t k and 2 k 1 t k = t k + . Hence, A ¯ Φ k + .
Now, take the code A ^ = A ( 1 + A ) . It has T k subcodes of dimension k and effective length T k 1 , and none of them contains the all-ones vector. Since t k + t k = T k , the nonzero weights in A ^ are t k , t k and T k ; therefore, t k and t k are the nonzero weights in the subcodes of effective length T k 1 . It follows that these subcodes belong to the family Φ k . If A ^ is one of these subcodes, its projective complementary code belongs to the family Φ k + .
Similarly, taking a code from Φ k + , we obtain codes in the other three families.
If B is a code from the family Φ k + , then its projective complementary code belongs to the family Φ k . Therefore, from B we can construct codes from the other three families. The same follows for the codes in Φ k . □
Proposition 3. 
From a code from the family Ψ k , one can construct a code in Ψ k and vice versa.
Proof. 
Take a code C Ψ k . Then, the subcodes of C ^ = C ( 1 + C ) with effective length 2 k 1 and dimension k + 1 belong to the family Ψ k .
If C Ψ k , we consider the [ 2 k , k + 2 ] code C ^ = ( ( 0 , C ) ( 1 , 1 + C ) ) . C ^ is a self-complementary code with nonzero weights T k , 2 k 1 , T k + and 2 k . The number of its subcodes with effective length 2 k and dimension k + 1 that do not contain the all-ones vector is 2 k + 1 2 k = 2 k (see the first paragraph in Section 3.2). All these subcodes belong to the family Ψ k . □
Next, we prove that, from any code in one of the four families with two-weight codes, one can construct a code from Ψ k .
Proposition 4. 
Let A Φ k ± be a code with a generator matrix G A , and G A ¯ be a generator matrix of its projective complementary code. Then, the matrix
G ^ A = 1 1 0 0 G A G A ¯
generates a code in the family Ψ k .
Proof. 
Obviously, the code generated by G ^ A has the same length as the simplex code S k , namely, 2 k 1 . Since ( G A | G A ¯ ) generates the simplex code of dimension k, the code ( G A | G A ¯ ) has only one nonzero weight, namely, 2 k 1 . If v is a codeword in this code, then v = ( v 1 , v 2 ) , where v 1 A , v 2 A ¯ . If wt ( v 1 ) = t k then wt ( v 2 ) = 2 k 1 t k = t k and so wt ( 1 + v 1 , v 2 ) = T k ± t k + t k = T k ± . If wt ( v 1 ) = t k ± then wt ( v 2 ) = 2 k 1 t k ± = t k and so wt ( 1 + v 1 , v 2 ) = T k ± t k ± + t k = t k + t k = T k . Hence, the code A ^ has nonzero weights 2 k 1 = T k , T k + and T k . It follows that A ^ Ψ k . □
Proposition 5. 
Let A Φ k ± with generator matrix G A and G A ¯ is the generator matrix of the projective complementary code. Then, the matrix
G ^ A = 1 1 1 0 0 0 G A G A ¯ 0
is a generator matrix of a code in Ψ k .
Proof. 
The proof is similar to the proof of the previous proposition. The length of the code generated by G ^ A is 2 k . This code is denoted by A ^ . Since ( G A | G A ¯ ) generates the simplex code of dimension k, it has only one nonzero weight, namely, 2 k 1 . If v ( G A | G A ¯ ) , then v = ( v 1 , v 2 ) , where v 1 A , v 2 A ¯ . If wt ( v 1 ) = t k then wt ( v 2 ) = 2 k 1 t k = t k and so wt ( 1 , 1 + v 1 , v 2 ) = 1 + T k ± 1 t k + t k = T k ± . If wt ( v 1 ) = t k ± then wt ( v 2 ) = 2 k 1 t k ± = t k and so wt ( 1 , 1 + v 1 , v 2 ) = 1 + T k ± 1 t k ± + t k = t k + t k = T k . Hence, the code A ^ has nonzero weights 2 k 1 = T k , T k + and T k . It follows that A ^ Ψ k . □
Remark 2. 
We denote by Ψ S k (or Ψ S k ) the set of codes from the family Ψ k (or Ψ k ) that contain the simplex code of dimension k as a subcode. Codes from these sets can be obtained with the constructions described in Propositions 4 and 5. For example, the matrix
111111 000000000 000110 000111111 001001 011001111 010010 111010011 100001 101110101
generates a code in the set Ψ S 4 . Table 2 presents examples for the parameters, the weight distributions, and the number of inequivalent codes in the families Ψ S k and Ψ S k .
In this section, we prove some properties for the residual codes of the codes from the considered families.
Lemma 1. 
If C is a binary code divisible by 2 m for an integer m 2 , then its residual code R e s ( C , c ) with respect to a codeword c is divisible by 2 m 1 .
Proof. 
Without loss of generality, we can consider c in the form c = ( 11 1 w 00 0 n w ) where w = wt ( c ) and n is the length of the code. Then, for any codeword v 2 R e s ( C , c ) , there is a vector v 1 F 2 w , such that v = ( v 1 , v 2 ) C . Then, c + v = ( 1 + v 1 , v 2 ) C is a codeword of weight w wt ( v 1 ) + wt ( v 2 ) . Since 2 m divides w, wt ( v 1 ) + wt ( v 2 ) and w wt ( v 1 ) + wt ( v 2 ) , then 2 m 1 divides wt ( v 2 ) . Hence, R e s ( C , c ) is divisible by 2 m 1 . □
Theorem 2. 
If C is a code in from the family Φ k ± (or Φ k ± ), then its residual code with respect to a codeword of weight t k ± belongs to the family Ψ k (resp. Ψ k ).
Proof. 
If C Φ k then d = t k ; therefore, the dimension of the considered residual code is k 1 . In the other case, namely, C Φ k + , t k + = 2 k 2 + 2 s 1 < 2 . 2 k 2 = 2 d ; therefore, via Theorem 1, the dimension of the residual code with respect to a codeword of weight t k + is also k 1 .
Let now consider the weights in these codes. Suppose that c C , wt ( c ) = t k ± and c = ( 11 1 t k ± 00 0 t k ) . Take residual code R e s ( C , c ) . If v = ( v 1 , v 2 ) Φ k ± , v 1 F 2 t k ± , v 2 F 2 t k , then v 2 R e s ( C , c ) and
wt ( v ) = wt ( v 1 ) + wt ( v 2 ) = t k o r t k ± wt ( c + v ) = wt ( 1 + v 1 ) + wt ( v 2 ) = t k ± wt ( v 1 ) + wt ( v 2 ) = t k o r t k ±
It follows that
wt ( v 1 ) + wt ( v 2 ) = t k o r t k ± wt ( v 1 ) + wt ( v 2 ) = 0 o r 2 s 1 ;
therefore, wt ( v 2 ) = t ( k 2 ) , t ( k 2 ) or t ( k 2 ) + . Hence, residual code R e s ( C , c ) has length T k ± T k ± = 2 k 2 , dimension k 1 and weights t ( k 2 ) , t ( k 2 ) and t ( k 2 ) + . This proves that R e s ( C , c ) Ψ k . □
Remark 3. 
We can prove the above theorem by using that the weights of the codes in the families Φ k ± and Φ k ± are divisible by 2 s 1 ; therefore, through Lemma 1, their residual codes are divisible by 2 s 2 . Moreover, the minimal and maximal nonzero weights in the considered residual codes are t ( k 2 ) and t ( k 2 ) + , so all possible nonzero weights are the same as in the codes from the family Ψ k .
Theorem 3. 
If C is a code in from the family Ψ k (resp. Ψ k ), then its residual code with respect to a codeword c has at most five nonzero weights. If C Ψ S k (resp. C Ψ S k ) and v C has weight T k ± , then R e s ( C , v ) Φ k (resp. Φ k ).
Proof. 
Since the codes in the families Ψ k and Ψ k are divisible by 2 s 1 , through Lemma 1, their residual codes are divisible by 2 s 2 . Moreover, the minimal weight of R e s ( C , c ) is at least T k / 2 = 2 k 2 2 s 2 , and the maximal weight is at most 2 k 2 + 3 . 2 s 2 . There are exactly five integers in the interval [ 2 k 2 2 s 2 , 2 k 2 + 3 . 2 s 2 ] that are divisible by 2 s 2 .
If C Ψ S k , then C = S k ( v + S k ) , and any codeword in the coset v + S k has weight T k + or T k . Moreover, all codewords of weight T k ± belong to the coset v + S k . If y R e s ( C , v ) , then ( x , y ) S k and v + ( x , y ) v + S k for a suitable vector x (as in the proof of Lemma 1, we can consider v in the form v = ( 11 1 T k ± 00 0 T k ) ). Hence
wt ( x ) + wt ( y ) = 2 k 1 wt ( x ) + wt ( y ) = T k T k o r T k + T k
It follows that wt ( y ) = t k or t k if wt ( v ) = T k + , and wt ( y ) = t k or t k + if wt ( v ) = T k . This proves that the residual codes of C Ψ S k with respect to a codeword of weight T k belonging to the family Φ k + , and the residual codes with respect to a codeword of weight T k + belong to Φ k . □

5. Construction of Codes from Φ k Using Codes from Φ k 2

We use two constructions to generate a linear code form Φ k by using a code from Φ k 2 . The first construction is presented in this section. It can give us recursively infinite families of codes. We name this construction self-complementary lifting (SCL). The second construction is computational and uses residual codes. We present the results in the next section.
Proposition 6. 
Let A Φ k ± be a code with a generator matrix G A and B be the code generated by the matrix
G B = G A G A G A G A ¯ 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0 .
Then B Φ ( k + 2 ) ± .
Proof. 
Obviously, B is a projective code of length 2 T k ± + 2 k 1 = 2 ( 2 k 1 ± 2 s 1 ) + 2 k 1 = 2 k + 1 ± 2 s 1 = T ( k + 2 ) ± 1 . Let us calculate the weights of the codewords in B. If v B , then v = ( w , w , w , w ¯ ) , ( 1 + w , 1 + w , w , w ¯ ) , ( w , 1 + w , 1 + w , w ¯ ) , or ( 1 + w , w , 1 + w , w ¯ ) , where w A and ( w , w ¯ ) S k . Since
wt ( 1 + w , 1 + w , w , w ¯ ) = wt ( w , 1 + w , 1 + w , w ¯ ) = wt ( 1 + w , w , 1 + w , w ¯ ) ,
we calculate only the weights of ( w , w , w , w ¯ ) and ( 1 + w , 1 + w , w , w ¯ ) . For the first vector, we have wt ( w , w , w , w ¯ ) = 2 wt ( w ) + 2 k 1 . Hence
wt ( w , w , w , w ¯ ) = 2 t k + 2 k 1 = 2 k = t k + 2 , if wt ( w ) = t k 2 t k ± + 2 k 1 = 2 k ± 2 s = t ( k + 2 ) ± , if wt ( w ) = t k ±
For the second vector, we have
wt ( 1 + w , 1 + w , w , w ¯ ) = 2 ( T k ± wt ( w ) ) + 2 k 1 = 2 k ± 2 s + 2 k 1 2 wt ( w ) = 3.2 k 1 ± 2 s 2 wt ( w ) .
Hence
wt ( 1 + w , 1 + w , w , w ¯ ) = 3.2 k 1 ± 2 s 2 t k = 2 k ± 2 s = t ( k + 2 ) ± , if wt ( w ) = t k 3.2 k 1 ± 2 s 2 t k ± = 2 k ± 2 s = t ( k + 2 ) ± , if wt ( w ) = t k ±
Moreover,
wt ( 1 , 1 , 0 , 0 ) = wt ( 1 , 0 , 1 , 0 ) = wt ( 0 , 1 , 1 , 0 ) = 2 k = t k + 2 .
It follows that the nonzero weights in B are t k + 2 and t ( k + 2 ) ± , and therefore B Φ ( k + 2 ) ± . □
Proposition 7. 
Let A Φ k ± has generator matrix G A , and B has generator matrix
G A 0 G A 0 G A 0 G A ¯ 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0 .
Then, B Φ ( k + 2 ) ± .
Proof. 
Here, we can apply the same logic as that in the proof of Proposition 6. Codes in Φ ( k + 2 ) ± have parameters [ T ( k + 2 ) ± , k + 2 , { 2 2 s , 2 2 s ± 2 s } ] . Since A Φ k ± , we need to extend the matrix G A with a zero column to obtain the needed length. This does not change the weights; since we add vectors ( 1 , 1 , 0 , 0 ) and ( 0 , 1 , 1 , 0 ) to the generator matrix, B is a projective code. All other calculations are analogous to these in the proof of Proposition 6. Thus, for A Φ k + , the resulting code B is in Φ ( k + 2 ) + and for A Φ k , the code B is in Φ ( k + 2 ) . □
The next theorem follows directly from Propositions 2, 6, and 7.
Theorem 4. 
From any code C Φ k , codes in Φ k + 2 l for all integers l 1 can be constructed.

6. Computational Results

The classification problem is defined as constructing a generator matrix of exactly one representative of any equivalence class. This problem has two subproblems. One is constructive to build a generator matrix that generates a code with desired parameters and properties. The other concerns the construction of inequivalent representatives only. In the classification, full or partial, the restrictions that follow from the properties of the studied codes and their use at each step in the construction process are of particular importance. For example, the characteristics of the codes from the considered type are: (1) they have two or three fixed weights divisible by 2 m for a given integer m 1 , and (2) they have a dual distance at least 3. When we study linear codes with a significantly greater length than the dimension, it is very appropriate to use already classified residual codes. In most of the cases, we use the residual codes with respect to a codeword with minimum weight. This is because, in that case, the known part of the matrices that we want to construct is the largest for the parameters.
Our efforts are focused on the classification of projective two-weight codes with parameters [ 119 , 8 , { 56 , 64 } ] . These codes belong to the family Φ 8 . Their residual codes with respect to a codeword of weight 56 have parameters [ 63 , 7 , { 28 , 32 , 36 } ] and belong to Ψ 6 . Taking one more step with residual codes, we obtain codes with parameters [ 35 , 6 , { 14 , 16 , 18 , 20 , 22 } ] . Using the algorithm of [21], we found that there are 267 , 370 inequivalent projective codes with such parameters. Only seven of them are codes in the family Φ 6 + with parameters [ 35 , 6 , { 16 , 20 } ] . Using these seven codes as residuals, we obtained the total number of 3 , 220 , 339 inequivalent [ 63 , 7 , { 28 , 32 , 36 } ] codes. Therefore, we restricted our computations to the case when the residual codes were from the family Ψ S 6 (containing the simplex code as a subcode). This family consists of four codes that we extended. The results are presented in Table 3. In the second column, we give generator matrices for these four [ 63 , 7 , { 28 , 32 , 36 } ] codes. In the third column, we present the number of inequivalent [ 119 , 8 , { 56 , 64 } ] codes constructed from the matrix in the same row. The total number of the constructed [ 119 , 8 , { 56 , 64 } ] codes was 91 , 397 , and 91 , 337 of them were inequivalent. Adding a zero column and then the all-ones vector as a row to the generator matrices of all these codes, we obtained exactly 2946 inequivalent self-complementary [ 120 , 9 , { 56 , 64 , 120 } ] codes. These 2946 codes contain, as subcodes of dimension 8, exactly 175 , 213 codes with effective length 120, and 156 , 763 codes with effective length 119. Hence, the set of all inequivalent 331 , 976 subcodes with dimension 8 was partitioned into 2946 classes of SC-equivalence.
In Table 4, we present summarized results for the [ 28 , 7 , { 12 , 16 , 28 } ] self-complementary codes. There were exactly four inequivalent codes with these parameters [16,17]. Therefore, their subcodes of dimension 6 were partitioned into four classes of SC-equivalence. The first column in the table shows a generator matrix of the self-complementary code. The second and third columns present the number of inequivalent [ 27 , 6 , { 12 , 16 } ] and [ 28 , 6 , { 12 , 16 } ] codes that are subcodes of the corresponding self-complementary code.

7. Conclusions

In this paper, we defined and studied four families of two-weight codes and two families of three-weight codes that were closely connected to the self-complementary codes of even length meeting the Grey–Rankin bound. Furthermore, we presented the relations between these six special families of binary linear codes and showed how one could construct from a two-weight code in one of the families codes of the same dimension in the other three families of two-weight codes. Similarly, we showed how to construct a three-weight code in one of the families of three-weight codes from a code from the other family with the same dimension. We also presented a construction of a two-weight code of dimension k + 2 in one of the families from a two-weight code of dimension k. Lastly, we classified codes on the basis of the theoretical results and some other well-known properties. Our efforts were focused on the classification of projective two-weight codes with parameters [ 119 , 8 , { 56 , 64 } ] . Since the number of inequivalent linear codes that meet the Grey–Rankin bound grows exponentially [15], we presented a partial classification for the codes with these parameters; more precisely, we gave the classification of the projective two-weight [ 119 , 8 , { 56 , 64 } ] codes constructed from the seven [ 35 , 6 , { 16 , 20 } ] codes.
In conclusion, we mention some open problems related to our research:
  • Is it possible to obtain equivalent codes from inequivalent ones by self-complementary lifting, and under which conditions? We applied this construction to codes with parameters [ 119 , 8 , { 56 , 64 } ] to obtain codes with parameters [ 496 , 10 , { 240 , 256 } ] , and then to codes with parameters [ 2015 , 12 , { 992 , 1024 } ] . In these cases, inequivalent codes led to inequivalent ones.
  • Is reverse construction possible?
  • What is the relationship between the automorphism groups of codes and their extensions?
  • How does this construction reflect on other related combinatorial objects?

Author Contributions

Conceptualization, I.B.; methodology, I.B., S.B. and M.P.-G.; software, I.B.; formal analysis, S.B.; resources, I.B. and M.P.-G.; data curation, I.B. and M.P.-G.; writing—original draft preparation, I.B., S.B. and M.P.-G.; writing—review and editing, I.B., S.B. and M.P.-G.;project administration, I.B.; funding acquisition, I.B., S.B. and M.P.-G. All authors have read and agreed to the published version of the manuscript.

Funding

S. Bouyuklieva was supported by the Bulgarian National Science Fund, grant number KP-06-N32/2-2019; I, Bouyukliev was supported by the Bulgarian National Science Fund, grant number KP-06-Russia/33/17.12.2020; M. Pashinska-Gadzeva was supported by the Bulgarian Ministry of Education and Science, grant no. DO1-168/28.07.2022 for NCHDC, a part of the Bulgarian National Roadmap on RIs.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Generator matrices of the constructed codes are sent upon request by the authors.

Acknowledgments

We are greatly indebted to the anonymous referees for their useful suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. McGuire, G. Quasi-symmetric designs and codes meeting the Grey-Rankin bound. J. Combin. Theory Ser. A 1997, 78, 280–291. [Google Scholar] [CrossRef] [Green Version]
  2. Grey, L.D. Some bounds for error-correcting codes. IEEE Trans. Inform. Theory 1962, 8, 200–202. [Google Scholar] [CrossRef]
  3. Rankin, R.A. The closest packing of spherical caps in n-dimensions. Proc. Glasg. Math. Assoc. 1995, 2, 139–144. [Google Scholar] [CrossRef] [Green Version]
  4. Rankin, R.A. On the minimal points of positive definite quadratic forms. Mathematika 1956, 3, 15–24. [Google Scholar] [CrossRef]
  5. Bouyukliev, I.; Fack, V.; Willems, W.; Winne, J. Projective two-weight codes with small parameters and their corresponding graphs. Des. Codes Cryptogr. 2006, 41, 59–78. [Google Scholar] [CrossRef]
  6. Calderbank, R.; Kantor, W.M. The geometry of two-weight codes. Bull. Lond. Math. Soc. 1986, 18, 97–122. [Google Scholar] [CrossRef]
  7. Delsarte, P. Weights of linear codes and strongly regular normed spaces. Discret. Math. 1972, 3, 47–64. [Google Scholar] [CrossRef] [Green Version]
  8. Tonchev, V.D. The uniformly packed binary [27, 21, 3] and [35, 29, 3] codes. Discret. Math. 1996, 149, 283–288. [Google Scholar] [CrossRef]
  9. Ward, H. Divisible codes—Survey. Serdica Math. J. 2001, 27, 263–278. [Google Scholar]
  10. Bouyukliev, I.; Bouyuklieva, S.; Dodunekov, S. On binary self-complementary [120,9,56] codes having an automorphism of order 3 and associated SDP designs. Probl. Inf. Transm. 2007, 43, 89–96. [Google Scholar] [CrossRef]
  11. Carlet, C.; Mesnager, S. Four decades of research on bent functions. Des. Codes Cryptogr. 2016, 78, 5–50. [Google Scholar] [CrossRef]
  12. Dillon, J.F.; Schatz, J.R. Block designs with the symmetric difference property. Proc. NSA Math. Sci. Meet. 1987, 159–164. [Google Scholar]
  13. Ding, C.; Munemasa, A.; Tonchev, V. Bent vectorial functions, codes and designs. IEEE Trans. Inform. Theory 2019, 65, 7533–7541. [Google Scholar] [CrossRef] [Green Version]
  14. Gulliver, T.A.; Harada, M. Codes of lengths 120 and 136 meeting the Grey-Rankin bound and quasi-symmetric designs. IEEE Trans. Inform. Theory 1999, 45, 703–706. [Google Scholar] [CrossRef]
  15. Jungnickel, D.; Tonchev, V.D. Exponential number of quasi-symmetric SDP designs and codes meeting the Grey-Rankin bound. Des. Codes Cryptogr. 1991, 1, 247–253. [Google Scholar] [CrossRef]
  16. Dodunekov, S.M.; Encheva, S.B.; Kapralov, S.N. On the [28,7,12] binary self-complementary codes and their residuals. Des. Codes Cryptogr. 1994, 4, 57–67. [Google Scholar] [CrossRef]
  17. Parker, C.; Spence, E.; Tonchev, V.D. Designs with the symmetric difference property on 64 points and their groups. J. Combin. Theory Ser. A 1994, 67, 23–43. [Google Scholar] [CrossRef] [Green Version]
  18. Huffman, W.C.; Pless, V. Fundamentals of Error-Correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
  19. Kurz, S. Divisible codes. arXiv 2021, arXiv:2112.11763. [Google Scholar] [CrossRef]
  20. Pless, V.S. Power moment identities on weight distributions in error correcting codes. Inform. Control 1963, 6, 147–152. [Google Scholar] [CrossRef]
  21. Bouyukliev, I. The program Generation in the software package QextNewEdition. In Mathematical Software—ICMS 2020. Lecture Notes in Computer Science; Bigatti, A., Carette, J., Davenport, J., Joswig, M., de Wolff, T., Eds.; Springer: Cham, Switzerland, 2020; Volume 12097, pp. 181–189. [Google Scholar]
Table 1. Families Φ k ± and Φ k ± .
Table 1. Families Φ k ± and Φ k ± .
s = 2 s = 3 s = 4
[ n , k , { w 1 , w 2 } ] [6,4,{2,4}] [28,6,{12,16}] [120,8,{56,64}]
Φ k W ( y ) 1 + 6 y 2 + 9 y 4 1 + 28 y 12 + 35 y 16 1 + 120 y 56 + 135 y 64
17
[ n , k , { w 1 , w 2 } ] [10,4,{4,6}] [36,6,{16,20}] [136,8,{64,72}]
Φ k + W ( y ) 1 + 5 y 4 + 10 y 6 1 + 27 y 16 + 36 y 20 1 + 119 y 64 + 136 y 72
15≥91,337
[ n , k , { w 1 , w 2 } ] [5,4, {2,4}] [27,6, {12,16}] [119,8, {56,64}]
Φ k W ( y ) 1 + 10 y 2 + 5 y 4 1 + 36 y 12 + 27 y 16 1 + 136 y 56 + 119 y 64
15≥91,337
[ n , k , { w 1 , w 2 } ] [9,4,{4,6}] [35,6,{16,20}] [135,8,{64,72}]
Φ k + W ( y ) 1 + 9 y 4 + 6 y 6 1 + 35 y 16 + 28 y 20 1 + 135 y 64 + 120 y 72
17
Table 2. Families Ψ S k and Ψ S k .
Table 2. Families Ψ S k and Ψ S k .
Ψ k Ψ k
[ n , k , { w 1 , w 2 , w 3 } ] [16,5,{6,8,10}] [15,5,{6,8,10}]
s = 2 W ( y ) 1 + 6 y 6 + 15 y 8 + 10 y 10 1 + 10 y 6 + 15 y 8 + 6 y 10
11
[ n , k , { w 1 , w 2 , w 3 } ] [64,7,{28,32,36}] [63,7,{28,32,36}]
s = 3 W ( y ) 1 + 28 y 28 + 63 y 32 + 36 y 36 1 + 36 y 28 + 63 y 32 + 28 y 36
44
s = 4 [ n , k , { w 1 , w 2 , w 3 } ] [256,9,{120,128,136}] [255,9,{120,128,136}]
W ( y ) 1 + 120 y 120 + 255 y 128 + 136 y 136 1 + 136 y 120 + 255 y 128 + 120 y 136
Table 3. The [119,8,{56,64}] codes constructed using residuals.
Table 3. The [119,8,{56,64}] codes constructed using residuals.
No [63,7,{28,32,36}] * [119,8,{56,64}]
1 111111111111111111111111111100000000000000000000000000000000000 000000000000000111111111111000000000001111111111111111111100000 000000000111111000000111111001111111110000000001111111111010000 000001111000011000011001111010000011110000011110000111111001000 000110001011100001101010011000001101110011100110011000111000100 011000010101100010110100101000110010110101101010101001011000010 101010100000101110000111010011010100011000100110101011101000001 63,836
2 111111111111111111111111111100000000000000000000000000000000000 000000000000000111111111111000000000001111111111111111111100000 000000000111111000000111111001111111110000000001111111111010000 000001111000011000011001111010000011110000011110000111111001000 000110001011100001101010011000001101110011100110011000111000100 011000010101100010110100101000110010110101101010101001011000010 101010100000101010010011101011010100011010100101011011001000001 4406
3 111111111111111111111111111100000000000000000000000000000000000 000000000000000111111111111000000000001111111111111111111100000 000000000111111000000111111001111111110000000001111111111010000 000001111000011000011001111010000011110000011110000111111001000 001110001000101000101010111010011100010011100010111000111000100 010010010011100011010100011000100101110101100111001001011000010 100100100101100101010100101001001010111010101011010010101000001 23,075
4 111111111111111111111111111100000000000000000000000000000000000 000000000000000111111111111000000000001111111111111111111100000 000000000111111000000111111001111111110000000001111111111010000 000001111000011000011001111010000011110000011110000111111001000 001110001000101000101010111010011100010011100010111000111000100 110010010001001001001011011011100100101100100101011011001000010 010110111010001010001100001010101101110101101111101101010000001 80
Total:91,397
Inequivalent codes:91,337
* These codes were constructed from the four [27,6,{12,16}] codes that were in different SC-equivalence classes.
Table 4. Self-complementary [ 28 , 7 , { 12 , 16 , 28 } ] codes.
Table 4. Self-complementary [ 28 , 7 , { 12 , 16 , 28 } ] codes.
G [ 27 , 6 , { 12 , 16 } ] [ 28 , 6 , { 12 , 16 } ] Total:
1111111111111111111111111111 0000000111111111111111100000 0011111000000000111111010000 0100011000001111001111001000 1001100000110011110011000100 0110001011010001011101000010 1010111101000101000101000001 112
1111111111111111111111111111 0000000111111111111111100000 1111111000000011111111010000 0000111000011100011111001000 0001011001100101100111000100 0110001010001110111001000010 1010001100100111101010000001 123
1111111111111111111111111111 0000000111111111111111100000 1111111000000011111111010000 0000111000011100011111001000 0001011001100101100111000100 0110001010001110111001000010 1010001110100001101011000001 224
1111111111111111111111111111 0000000111111111111111100000 1111111000000011111111010000 0000111000011100011111001000 0011001001100111100011000100 0100011010101001100111000010 1001100100011010101101000001 123
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bouyukliev, I.; Bouyuklieva, S.; Pashinska-Gadzheva, M. On Some Families of Codes Related to the Even Linear Codes Meeting the Grey–Rankin Bound. Mathematics 2022, 10, 4588. https://doi.org/10.3390/math10234588

AMA Style

Bouyukliev I, Bouyuklieva S, Pashinska-Gadzheva M. On Some Families of Codes Related to the Even Linear Codes Meeting the Grey–Rankin Bound. Mathematics. 2022; 10(23):4588. https://doi.org/10.3390/math10234588

Chicago/Turabian Style

Bouyukliev, Iliya, Stefka Bouyuklieva, and Maria Pashinska-Gadzheva. 2022. "On Some Families of Codes Related to the Even Linear Codes Meeting the Grey–Rankin Bound" Mathematics 10, no. 23: 4588. https://doi.org/10.3390/math10234588

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop