Next Article in Journal
Properties of a Special Holomorphic Function Linked with a Generalized Multiplier Transformation
Previous Article in Journal
Damage Metrics for Void Detection in Adhesive Single-Lap Joints
Previous Article in Special Issue
Lower Bound on the Minimum Distance of Single-Generator Quasi-Twisted Codes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Linear Perfect b-Symbol Codes over Finite Fields

1
Department of Mathematical Sciences, UAE University, Al Ain P.O. Box 15551, United Arab Emirates
2
School of Mathematical Sciences, Peking University, Beijing 100871, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(19), 4128; https://doi.org/10.3390/math11194128
Submission received: 30 August 2023 / Revised: 22 September 2023 / Accepted: 27 September 2023 / Published: 29 September 2023
(This article belongs to the Special Issue Advances in Algebraic Coding Theory and Cryptography)

Abstract

:
Motivated by the application of high-density data storage technologies, Cassuto and Blaum introduced codes for symbol-pair read channels in 2011, and Yaakobi et al. generalized the coding framework to that for b-symbol read channels where b 2 in 2016. In this paper, we establish a b-sphere-packing bound and present a recurrence relationship for the b-weight enumerator. We determine all parameters of linear perfect b-symbol e-error-correcting codes over F q for e < 2 b and show that for 2 b e < 3 b , there exist at most finite such codes for a given b ,   e , and q. We construct a family of linear perfect b-symbol b-error-correcting codes over F q using constacyclic codes.

1. Introduction

Motivated by the application of high-density data storage technologies, Cassuto and Blaum [1] proposed a new coding framework for symbol-pair read channels in 2011. In this framework, the reading from the channel is performed as overlapping pairs of symbols due to physical limitations, and the design object is to protect against pair errors rather than symbol errors.
Construction and decoding for symbol-pair codes and bounds on their sizes were further studied in [2,3,4]. Chee et al. [5,6] established a Singleton-like bound on symbol-pair codes and constructed some MDS symbol-pair codes meeting this bound from Mendelsohn designs. More MDS symbol-pair codes were constructed by Kai et al. [7] based on constacyclic codes.
Yaakobi et al. [8] generalized symbol-pair codes to b-symbol codes where b 2 and provided extensions of some concepts and results in 2016. Subsequently, many MDS b-symbol codes were constructed in [9,10,11,12,13,14] through constacyclic codes, repeated-root cyclic codes, and projective geometry. Yang et al. [15] established a Plotkin-like bound and constructed some b-symbol codes on irreducible cyclic codes and constacyclic codes meeting this bound.
The symbol-pair sphere-packing bound was first presented in [1]. Cassuto and Litsyn [2] showed that cyclic binary Hamming codes are perfect symbol-pair codes. In [9], a constacyclic [ q 2 + q + 1 , q 2 + q 2 , 5 ] q Hamming symbol-pair code was constructed and shown to be both MDS and perfect.
In 2018, Song et al. [16] established the sphere-packing bound and Gilbert–Varshamov bound for b-symbol codes. Chen [17] studied the covering radii of linear codes in the b-symbol metric, and many cyclic and algebraic-geometric codes were proved non-perfect in the b-symbol metric.
In this paper, we continue the investigation of perfect b-symbol codes. We establish a b-sphere-packing bound for linear b-symbol codes and study the existence of linear perfect b-symbol e-error-correcting codes over F q for e < 3 b . We determine all parameters of linear perfect b-symbol e-error-correcting codes over F q for e < 2 b and show that for 2 b e < 3 b , there exist at most finite such codes for a given b ,   e , and q. In particular, we construct a family of linear perfect b-symbol b-error-correcting codes over F q using constacyclic codes.
This paper is organized as follows. Section 2 gives some preliminaries concerning b-symbol codes. The sphere-packing bound on b-symbol codes and the enumeration of b-spheres are presented in Section 3. In Section 4, we study the existence of linear perfect b-symbol e-error-correcting codes over F q for e < 3 b . Section 5 is the conclusion.

2. Preliminaries

Basic concepts and propositions related to linear codes over finite fields, the Hamming distance, and the Hamming weight can be found in Chapter 1 of [18].
Let Σ be an alphabet consisting of q elements and b 2 be an integer. For a vector x = ( x 0 , x 1 , , x n 1 ) Σ n , the b-symbol read vector of x is defined as
π b ( x ) = ( ( x 0 , x 1 , , x b 1 ) , ( x 1 , x 2 , , x b ) , , ( x n 1 , x 0 , , x b 2 ) ) ( Σ b ) n .
For b-symbol vectors
u ( i ) = ( ( u 11 ( i ) , u 12 ( i ) , , u 1 b ( i ) ) , ( u 21 ( i ) , u 22 ( i ) , , u 2 b ( i ) ) , , ( u n 1 ( i ) , u n 2 ( i ) , , u n b ( i ) ) ) ( Σ b ) n
where i = 1 , 2 , the b-distance between u ( 1 ) and u ( 2 ) is defined as
D b ( u ( 1 ) , u ( 2 ) ) = | { 1 i n : ( u i 1 ( 1 ) , u i 2 ( 1 ) , , u i b ( 1 ) ) ( u i 1 ( 2 ) , u i 2 ( 2 ) , , u i b ( 2 ) ) } | ,
where ( u i 1 ( 1 ) , u i 2 ( 1 ) , , u i b ( 1 ) ) = ( u i 1 ( 2 ) , u i 2 ( 2 ) , , u i b ( 2 ) ) if u i j ( 1 ) = u i j ( 2 ) for all 1 j b .
For notational aesthetics, we have
D b ( x , u ) D b ( π b ( x ) , u ) , D b ( x , y ) D b ( π b ( x ) , π b ( y ) ) ,
where x , y Σ n . As in the Hamming case, Σ n with the b-distance is a metric space.
The b-weight of x Σ n is defined as
w t b ( x ) = D b ( x , 0 ) .
Throughout this paper, we consider Σ to be the finite field F q , with q a prime power, and C F q n to be a linear code of length n and dimension k over F q .
Proposition 1.
For all x , y F q n , D b ( x , y ) = w t b ( x y ) .
Proposition 2
([12]). For all x F q n such that 0 < w t H ( x ) n ( b 1 ) ,
w t H ( x ) + b 1 w t b ( x ) b · w t H ( x ) .
The minimum b-distance of a code C is defined as
d b = min { D b ( x , y ) : x , y C , x y } .
Since C is linear, we have
Proposition 3.
d b = min { w t b ( x ) : x C , x 0 } .
Referring to these propositions, we have
Corollary 1.
For a linear code C over F q with d H ( C ) > 0 ,
min { d H ( C ) + b 1 , n } d b ( C ) b · d H ( C ) .
Let x F q n . In the b-symbol sense, a b-symbol vector u ( F q b ) n is the result of an e-error from x if D b ( x , u ) e . A code C is an e-error-correcting code if no u is the result of an e-error from both x and y for some x y C .
Proposition 4.
A code C is an e-error-correcting code if and only if d b 2 e + 1 .
Proof. 
This follows from the fact that F q n with the b-distance is a metric space. □

3. Sphere-Packing Bound and b-Spheres

Let x F q n . We define the b-sphere S r n , b , q ( x ) of radius r as the set of all y F q n such that D b ( x , y ) = r and the b-ball B r n , b , q ( x ) of radius r as the set of all y F q n such that D b ( x , y ) r .
Since x is in F q n , | S r n , b , q ( x ) | and | B r n , b , q ( x ) | do not rely on the selection of x . Hence, we denote | S r n , b , q ( x ) | = f r b , q ( n ) and | B r n , b , q ( x ) | = g r b , q ( n ) .
For a linear b-symbol e-error-correcting code C of length n and dimension k over F q , since there are q k disjoint b-balls of radius e, we can establish a b-sphere-packing bound if we can enumerate g r b , q ( n ) .
Definition 1.
For a word x F q n , suppose that w t H ( x ) = l . The remaining n l indices { i : x i = 0 } can be uniquely partitioned into a union of its subsets such that each subset consists of consecutive numbers j , j + 1 , , j + h 1 modulo n for some j , h , and x j 1 , x j + h 0 . Suppose that there are c i of these subsets in the partition with an exact cardinality of i for i = 1 , 2 , , b 2 , and c of them have a cardinality of no less than b 1 . Then, we say that x is an ( l ; c 1 , , c b 2 , c ) -word, in the b-symbol sense.
Now, we calculate the b-weight of an ( l ; c 1 , , c b 2 , c ) -word.
Proposition 5.
Suppose that x is an ( l ; c 1 , , c b 2 , c ) -word; then, we have
w t b ( x ) = l + i = 1 b 2 i c i + ( b 1 ) c .
Proof. 
By the definition of the b-weight,
w t b ( x ) = n | { 0 i n 1 : x i = x i + 1 = = x i + b 1 = 0 } | ,
where the indices may wrap around modulo n. The indices of b consecutive zeros must belong to one of the c subsets which have a cardinality of no less than b 1 in the partition of zeros of x . On the other hand, each A j of these c subsets contributes | A j | ( b 1 ) of indices i such that x i = x i + 1 = = x i + b 1 = 0 . Hence, we have
w t b ( x ) = n | { 0 i n 1 : x i = x i + 1 = = x i + b 1 = 0 } | = n j = 1 c [ | A j | ( b 1 ) ] = n j = 1 c | A j | + ( b 1 ) c = l + i = 1 b 2 i c i + ( b 1 ) c .
For example, the word x = ( 0 , 1 , 2 , 0 , 0 , 1 , 0 , 2 , 0 , 0 , 0 , 1 , 2 , 0 ) F 3 14 is a ( 6 ; 1 , 3 ) -word in the three-symbol sense, and w t 3 ( x ) = 6 + 1 · 1 + 2 · 3 = 13 . The following theorem shows how many ( l ; c 1 , , c b 2 , c ) -words there are.
Theorem 1.
The number of ( l ; c 1 , , c b 2 , c ) -words ( l > 0 ) in F q n is
n l n l i = 1 b 2 i c i ( b 1 ) c + c 1 c 1 i = 1 b 2 c i + c c 1 , c 2 , , c b 2 , c l i = 1 b 2 c i + c ( q 1 ) l .
Proof. 
We prove the theorem by the following five steps:
(1)
We sort all these ( l ; c 1 , , c b 2 , c ) -words into several classes such that x and y are in the same class if and only if for some j, x i = y i + j for all i = 0 , 1 , , n 1 . For each of these classes, whether or not the cardinality is n, the exact l / n of the words in the class satisfy x 0 0 . Hence, the exact l / n of all ( l ; c 1 , , c b 2 , c ) -words satisfies x 0 0 . For example, the two words ( 1 , 0 , 1 , 0 ) and ( 0 , 1 , 0 , 1 ) form a class, and 2 / 4 of them, i.e., ( 1 , 0 , 1 , 0 ) , satisfy x 0 0 .
(2)
By Proposition 5, the c subsets A 1 , A 2 , , A c , which have a cardinality of no less than b 1 in the partition of zeros of an ( l ; c 1 , , c b 2 , c ) -word x , contribute all n w t b ( x ) = n l i = 1 b 2 i c i ( b 1 ) c indices i such that x i = x i + 1 = = x i + b 1 = 0 . Consider the number of non-negative integer solutions ( X 1 , X 2 , , X c ) = ( | A 1 | ( b 1 ) , | A 2 | ( b 1 ) , , | A c | ( b 1 ) ) of the equation
X 1 + X 2 + + X c = n l i = 1 b 2 i c i ( b 1 ) c ,
or, equivalently, the number of positive integer solutions ( X 1 , X 2 , , X c ) = ( X 1 + 1 , X 2 + 1 , , X c + 1 ) of the equation
X 1 + X 2 + + X c = n l i = 1 b 2 i c i ( b 1 ) c + c .
The latter is obviously n l i = 1 b 2 i c i ( b 1 ) c + c 1 c 1 .
(3)
We then consider the order of the i = 1 b 2 c i + c subsets in the partition. Since we suppose that x 0 0 , no subset wraps around modulo n, and the number is simply i = 1 b 2 c i + c c 1 , c 2 , , c b 2 , c .
(4)
Now that the cardinalities and the order of these subsets have been determined, we just need to choose i = 1 b 2 c i + c from these l non-zeros and insert corresponding zeros after each of them. The number of possible choices is l i = 1 b 2 c i + c .
(5)
Each of the l non-zeros has ( q 1 ) possible values.
Now, by the rule of product, the number of ( l ; c 1 , , c b 2 , c ) -words is
n l n l i = 1 b 2 i c i ( b 1 ) c + c 1 c 1 i = 1 b 2 c i + c c 1 , c 2 , , c b 2 , c l i = 1 b 2 c i + c ( q 1 ) l .
Corollary 2.
The number of ( l ; c ) -words ( l > 0 ) in F 2 n is
n l n l 1 c 1 l c .
Proof. 
Take b = 2 and q = 2 in Theorem 1. □
This corollary coincides with Theorem 8 in [1]. By these results, we can determine the size of b-spheres and b-balls.
Proposition 6.
The cardinality f r b , q ( n ) of a b-sphere S r n , b , q ( x ) ( r > 0 ) is
l + i = 1 b 2 i c i + ( b 1 ) c = r n l n r + c 1 c 1 i = 1 b 2 c i + c c 1 , c 2 , , c b 2 , c l i = 1 b 2 c i + c ( q 1 ) l .
The cardinality g r b , q ( n ) of a b-ball B r n , b , q ( x ) is 1 + i = 1 r f i b , q ( n ) .
Finally, we establish the following bound.
Theorem 2
(b-Sphere-Packing Bound). For a linear b-symbol e-error-correcting code C of length n and dimension k over F q n , we have
g e b , q ( n ) q n k ,
where g e b , q ( n ) = 1 + r = 1 e f r b , q ( n ) and f r b , q ( n ) =
l + i = 1 b 2 i c i + ( b 1 ) c = r n l n r + c 1 c 1 i = 1 b 2 c i + c c 1 , c 2 , , c b 2 , c l i = 1 b 2 c i + c ( q 1 ) l .
Proof. 
The q k b-balls, each with a cardinality g e b , q ( n ) , are disjoint and contained in F q n ; hence, q k g e b , q ( n ) q n . □
The e-error-correcting code meeting this bound is called a perfect code, as in the Hamming case.
We set W n b , q ( x ) = 1 + r = 1 n f r b , q ( n ) x r to be the b-weight enumerator of all words in F q n ; then, for a linear perfect b-symbol code C , the following equation holds:
x C y B e b , q ( x ) x w t b ( y ) = W n b , q ( x ) .
Before studying the existence of perfect codes, we present another way to calculate f r b , q ( n ) . Note that for a given b and q, f r b , q ( n ) is a polynomial of n, by the expression in Theorem 2.
Proposition 7.
For n > b , we have
f r b , q ( n ) = f r b , q ( n 1 ) + ( q 1 ) i = 1 b f r i b , q ( n i ) ( q 1 ) i = 1 b 1 f r i b , q ( n 1 i ) .
Proof. 
For r b , the equation holds trivially. Now, we consider r > b .
For each x F q m and w t b ( x ) = r i ( i = 0 , 1 , , b ) , we have w t H ( x ) 1 . Suppose that
x 0 = x 1 = = x i 1 = 0 , x i 0 , x m 1 = x m 2 = = x m j = 0 , x m j 1 0
for some non-negative integers i , j . Then, we define α ( x ) = i and β ( x ) = j .
For each x F q m and w t b ( x ) = r , we have w t H ( x ) 2 . Suppose that
x m 1 = x m 2 = = x m j = 0 , x m j 1 0 , x m j 2 = x m j 3 = = x m j k 1 = 0 , x m j k 2 0
for some non-negative integers j , k . Then, we define γ ( x ) = k .
For example, if x = ( 0 , 1 , 0 , 0 , 1 , 0 , 0 , 1 ) , then α ( x ) = 1 , β ( x ) = 0 and γ ( x ) = 2 .
We divide the set S r n , b , q ( 0 ) into four parts:
A = { x S r n , b , q ( 0 ) : β ( x ) 1 , α ( x ) + β ( x ) b } B = { x S r n , b , q ( 0 ) : β ( x ) 1 , α ( x ) + β ( x ) < b , γ ( x ) < α ( x ) } C = { x S r n , b , q ( 0 ) : β ( x ) 1 , α ( x ) + β ( x ) < b , γ ( x ) α ( x ) } D = { x S r n , b , q ( 0 ) : β ( x ) = 0 }
We divide the set S r n 1 , b , q ( 0 ) into four parts:
A = { x S r n 1 , b , q ( 0 ) : α ( x ) + β ( x ) b 1 } B = { x S r n 1 , b , q ( 0 ) : β ( x ) 1 , α ( x ) + β ( x ) < b 1 , γ ( x ) < α ( x ) } C = { x S r n 1 , b , q ( 0 ) : β ( x ) 1 , α ( x ) + β ( x ) < b 1 , γ ( x ) α ( x ) } D = { x S r n 1 , b , q ( 0 ) : β ( x ) = 0 , α ( x ) < b 1 }
For 1 i b 1 , we divide the set S r i n i , b , q ( 0 ) into four parts:
E i = { x S r i n i , b , q ( 0 ) : α ( x ) i , β ( x ) 1 , α ( x ) + β ( x ) b } B i = { x S r i n i , b , q ( 0 ) : α ( x ) i , β ( x ) 1 , α ( x ) + β ( x ) < b } C i = { x S r i n i , b , q ( 0 ) : α ( x ) i 2 } D i = { x S r i n i , b , q ( 0 ) : α ( x ) i , β ( x ) = 0 o r α ( x ) = i 1 }
For i = b , we divide the set S r b n b , b , q ( 0 ) into two parts:
C b = { x S r b n b , b , q ( 0 ) : α ( x ) b 2 } D b = { x S r b n b , b , q ( 0 ) : α ( x ) b 1 }
For 1 i b 1 , we divide the set S r i n 1 i , b , q ( 0 ) into four parts:
E i = { x S r i n 1 i , b , q ( 0 ) : α ( x ) i , α ( x ) + β ( x ) b 1 } B i = { x S r i n 1 i , b , q ( 0 ) : α ( x ) i , β ( x ) 1 , α ( x ) + β ( x ) < b 1 } C i = { x S r i n 1 i , b , q ( 0 ) : α ( x ) i 2 } D i = { x S r i n 1 i , b , q ( 0 ) : α ( x ) i , β ( x ) = 0 , α ( x ) < b 1 o r α ( x ) = i 1 }
We construct several maps:
ϕ : ( x 0 , x 1 , , x n 1 ) ( x 0 , x 1 , , x n 2 ) ψ : ( x 0 , x 1 , , x n 1 ) ( x 0 , x 1 , , x n 2 β ( x ) γ ( x ) , x n β ( x ) , x n β ( x ) + 1 , , x n 1 ) σ : ( x 0 , x 1 , , x n 1 ) ( x 0 , x 1 , , x n 2 α ( x ) β ( x ) ) τ : ( x 0 , x 1 , , x n 1 ) ( x 0 , x 1 , , x n 2 min { α ( x ) , γ ( x ) , b 1 } )
For example, if we set b = 3 , then
ϕ ( 0 , 0 , 1 , 2 , 0 , 1 , 0 ) = ( 0 , 0 , 1 , 2 , 0 , 1 ) , ψ ( 0 , 1 , 0 , 1 , 2 , 1 , 0 ) = ( 0 , 1 , 0 , 1 , 2 , 0 ) , σ ( 0 , 1 , 0 , 2 , 0 , 1 , 0 ) = ( 0 , 1 , 0 , 2 ) , τ ( 0 , 1 , 0 , 2 , 0 , 0 , 1 ) = ( 0 , 1 , 0 , 2 , 0 ) .
It is not hard to prove that
ϕ : A A , ϕ : E i E i , i = 1 , 2 , , b 1
are all well-defined one-to-one maps, and
ψ : B i = 1 b 1 B i , ψ : B i = 1 b 1 B i , σ : C i = 1 b C i , σ : C i = 1 b 1 C i , τ : D i = 1 b D i , τ : D i = 1 b 1 D i
are all well-defined ( q 1 ) -to-1 maps. Thus, we have
| A | = | A | , | E i | = | E i | , i = 1 , 2 , , b 1 , | B | = ( q 1 ) i = 1 b 1 | B i | , | B | = ( q 1 ) i = 1 b 1 | B i | , | C | = ( q 1 ) i = 1 b | C i | , | C | = ( q 1 ) i = 1 b 1 | C i | , | D | = ( q 1 ) i = 1 b | D i | , | D | = ( q 1 ) i = 1 b 1 | D i | .
Note that
f r b , q ( n ) = | A | + | B | + | C | + | D | , f r b , q ( n 1 ) = | A | + | B | + | C | + | D | , f r i b , q ( n i ) = | E i | + | B i | + | C i | + | D i | , i = 1 , 2 , , b 1 , f r b b , q ( n b ) = | C b | + | D b | , f r i b , q ( n 1 i ) = | E i | + | B i | + | C i | + | D i | , i = 1 , 2 , , b 1 .
Putting all these together, we have
f r b , q ( n ) = f r b , q ( n 1 ) + ( q 1 ) i = 1 b f r i b , q ( n i ) ( q 1 ) i = 1 b 1 f r i b , q ( n 1 i ) .
The relationship between f r b , q ( n ) gives a relationship between W n b , q ( x ) .
Theorem 3.
Suppose b 2 . For n > b , we have
W n b , q ( x ) = q W n 1 b , q ( x ) + ( q 1 ) i = 1 b x i 1 ( x 1 ) W n i b , q ( x ) .
Proof. 
Comparing the coefficients of x r , the equation holds by Proposition 7. □
For example, we take b = 3 and q = 3 . By this theorem, we have W 5 3 , 3 ( x ) = 212 x 5 + 20 x 4 + 10 x 3 + 1 ; hence, f 1 3 , 3 ( 5 ) = f 2 3 , 3 ( 5 ) = 0 , f 3 3 , 3 ( 5 ) = 10 , f 4 3 , 3 ( 5 ) = 20 , and f 5 3 , 3 ( 5 ) = 212 . The results coincide with Proposition 6.

4. Linear Perfect b-Symbol Codes for e < 3 b

For linear perfect b-symbol codes, g e b , q ( n ) = q n k . So far, we know that g e b , q ( n ) is the sum of 1 and some f r b , q ( n ) , where each f r b , q ( n ) is a polynomial of n. Now, we analyze the expression of f r b , q ( n ) more carefully. When e = n , we have g e b , q ( n ) = q n and k = 0 , and the corresponding code is the trivial code. Hence, we suppose that e < n from now on.
For each word in B e b , q ( 0 ) \ { 0 } , we have l c 1 . Therefore, by Proposition 5, e l + ( b 1 ) c b c , or c e b . Note that each polynomial f r b , q ( n ) of n has a degree of no more than c, and the sum g e b , q ( n ) must be a polynomial of n with a degree of no more than e b . On the other hand, there does exist a word with c = 0 and l = e ( b 1 ) c ; hence, g e b , q ( n ) is a polynomial of n with degree e b .

4.1. Linear Perfect b-Symbol Codes for 1 e b 1

In this case, e b = 0 , and there is no possible c for a word in B e b , q ( 0 ) \ { 0 } ; hence, g e b , q ( n ) = 1 and k = n . The code C = F q n has a minimum b-distance b and is a perfect e-error-correcting code if and only if e b 1 2 .
Theorem 4.
For 1 e b 1 , linear perfect b-symbol e-error-correcting codes over F q exist if and only if 1 e b 1 2 . The parameters of these perfect codes are [ n , n , b ] q .

4.2. Linear Perfect b-Symbol Codes for e = b

In this case, e b = 1 . Hence, all words in B e b , q ( 0 ) \ { 0 } satisfy l = c = 1 and c i = 0 for i = 1 , 2 , , b 2 , since l + i = 1 b 2 i c i + ( b 1 ) c e .
By Proposition 6, g e b , q ( n ) = 1 + ( q 1 ) n . Let 1 + ( q 1 ) n = q n k ; thus, we have n = q r 1 q 1 and k = q r 1 q 1 r . Before we construct the corresponding perfect codes, we need the following lemma.
Lemma 1
([7], the BCH Bound for Constacyclic Codes). Let C be an ω-constacyclic code of length n over F q with generating polynomial g ( x ) , where ω is a primitive t-th root of unity. Let δ be a primitive n t -th root of unity in an extension field of F q such that δ n = ω . If g ( x ) has the elements { δ 1 + t i : i 0 i i 0 + d 1 } as its roots for some integer i 0 , then d H d + 1 .
The basic idea of the following construction is from [12].
Theorem 5.
There exists a linear perfect [ q r 1 q 1 , q r 1 q 1 r , 2 b + 1 ] q b-symbol b-error-correcting code over F q for any r b + 1 .
Proof. 
Let n = q r 1 q 1 ; then, n > 1 + ( r 1 ) q 1 + b q 1 + 2 b . Let ω be a primitive element of F q and δ be a primitive element of F q r such that δ n = ω . Note that g ( x ) = ( x δ ) ( x δ q ) ( x δ q r 1 ) F q [ x ] divides x n ω . Let C be the ω -constacyclic code g ( x ) F q [ x ] / ( x n ω ) . Then, C is a linear [ q r 1 q 1 , q r 1 q 1 r , d H ] q code. By Lemma 1, d H 3 .
Let c ( x ) = i = 0 n 1 c i x i be any non-zero codeword. If there exists a j such that
c j = c j + 1 = = c j + b 2 = 0 , c j + b 1 0 ,
where the indices are the reduced modulo n, then we consider the codeword c ( x ) = x n j b + 1 c ( x ) = i = 0 n 1 c i x i . By the selection of j, we have
c n 1 = c n 2 = = c n b + 1 = 0 , c 0 0 .
Suppose that
c n 1 = c n 2 = = c t + 1 = 0 , c t 0
for some t n b . Since g ( x ) c ( x ) , we have t r . Consider the set
I = { i : ( c i , c i + 1 , , c i + b 1 ) ( 0 , 0 , , 0 ) } ,
where the indices are the reduced modulo n. The set I has at least 2 b elements t b + 1 i t and n b + 1 i n , since t b + 1 r b + 1 > 0 ; n b + 1 > n b t ; and c 0 0 , c t 0 . If | I | = 2 b , then ( c i , c i + 1 , , c i + b 1 ) = ( 0 , 0 , , 0 ) for 1 i t b , which means that c 1 = c 2 = = c t 1 = 0 and contradicts d H 3 . Hence, w t b ( c ( x ) ) = w t b ( c ( x ) ) = | I | 2 b + 1 .
If there does not exist such a j, then w t b ( c ( x ) ) = n > 2 b + 1 .
Hence, we always have w t b ( c ( x ) ) 2 b + 1 and d b 2 b + 1 . On the other hand, the b-error-correcting code C meets the b-sphere-packing bound. Thus, C is a perfect code, and for the word ( 1 , 1 , 0 , 0 , , 0 ) , which has a b-weight b + 1 , there must be a codeword separated from it by a b-distance of no more than b. This codeword has a b-weight of no more than 2 b + 1 , and hence d b = 2 b + 1 . □
Lemma 2
([12], b-Singleton Bound). Let q 2 and b d b n . If C is an ( n , M , d b ) q b-symbol code, then we have M q n d b + b .
Theorem 6.
For e = b , linear perfect b-symbol e-error-correcting codes over F q exist. The parameters of all these perfect codes are [ q r 1 q 1 , q r 1 q 1 r , 2 b + 1 ] q , where r b + 1 .
Proof. 
By the discussion at the beginning of this subsection and Theorem 5, the only detail we need to prove is that r b + 1 must hold, which is exactly what the b-Singleton bound tells us. □

4.3. Linear Perfect b-Symbol Codes for b + 1 e 2 b 1

In this case, e b = 1 . Hence, all words in B e b , q ( 0 ) \ B b b , q ( 0 ) satisfy c = 1 and l 2 .
Theorem 7.
For b + 1 e 2 b 1 , g e b , q ( n ) = 1 + q e b ( q 1 ) n .
Proof. 
By Proposition 6,
g e b , q ( n ) 1 ( q 1 ) n = r = b + 1 e l + i = 1 b 2 i c i = r b + 1 n l i = 1 b 2 c i + 1 c 1 , c 2 , , c b 2 , 1 l i = 1 b 2 c i + 1 ( q 1 ) l = r = b + 1 e l = 2 r b + 1 i = 1 b 2 i c i = r b + 1 l l 1 c 1 , c 2 , , c b 2 , l 1 i = 1 b 2 c i ( q 1 ) l n
For a fixed r and l, the number of ways to insert c 1 1-consecutive zeros, c 2 2-consecutive zeros, …, c b 2 ( b 2 ) -consecutive zeroes into l non-zeros is l 1 c 1 , c 2 , , c b 2 , l 1 i = 1 b 2 c i . Note that r b + 1 l 2 b 1 b + 1 2 = b 2 , and the number of ways to insert r b + 1 l zeros into l non-zeros is exactly
i = 1 b 2 i c i = r b + 1 l l 1 c 1 , c 2 , , c b 2 , l 1 i = 1 b 2 c i .
On the other hand, this number is r b + 1 l + l 2 r b + 1 l = r b 1 l 2 . Thus, we have
g e b , q ( n ) = 1 + ( q 1 ) n + r = b + 1 e l = 2 r b + 1 r b 1 l 2 ( q 1 ) l n = 1 + ( q 1 ) n + r = b + 1 e q r b 1 ( q 1 ) 2 n = 1 + q e b ( q 1 ) n .
Theorem 8.
For b + 1 e 2 b 1 , linear perfect b-symbol e-error-correcting codes over F q do not exist.
Proof. 
By Theorem 7, g e b , q ( n ) 1 ( mod q ) and hence cannot meet the b-sphere-packing bound. □

4.4. Linear Perfect b-Symbol Codes for 2 b e 3 b 1

We present a general result first. The following lemma is a classical result, and the proof can be found in, for example, [19].
Lemma 3.
Let f ( x ) be a polynomial with integer coefficients and at least two zeroes. When integer x + , we have P + , where P is the greatest prime factor of f ( x ) .
Theorem 9.
For e 2 b , there exist infinite linear perfect b-symbol e-error-correcting codes over F q for a given b , e , and q only if g e b , q ( n ) = ( K n + 1 ) e b for some integer K.
Proof. 
g e b , q ( n ) is a polynomial with rational coefficients, and deg ( g e b , q ( n ) ) = e b 2 . Consider the equation g e b , q ( n ) = q n k ; we can rewrite it as F ( n ) = C q n k such that F ( n ) is a polynomial with integer coefficients and C is an integer. Since the greatest prime factor of C q n k is a constant, the equation has infinite solutions only if F ( n ) = C 0 ( a 0 n + b 0 ) e b , by Lemma 3.
Taking n = 0 , we have C = C 0 b 0 e b , since g e b , q ( 0 ) = 1 . Thus, g e b , q ( n ) = ( a 0 b 0 n + 1 ) e b . Taking n = 1 , we know that a 0 b 0 is an integer K, since g e b , q ( 1 ) is an integer. The statement of the theorem follows. □
From now on, we focus on the case 2 b e 3 b 1 . In this case, e b = 2 , and g e b , q ( n ) is a quadratic function of n.
Theorem 10.
For 2 b e 3 b 1 , the coefficient of n 2 in g e b , q ( n ) is
1 2 [ ( e 2 b ) q e 2 b 1 ( q 1 ) 3 + q e 2 b ( q 1 ) 2 ] .
Proof. 
In order to calculate the coefficient of n 2 , we only need to consider those words satisfying c = 2 . By Proposition 6, this coefficient is
r = 2 b e l + i = 1 b 2 i c i = r 2 b + 2 1 l i = 1 b 2 c i + 2 c 1 , c 2 , , c b 2 , 2 l i = 1 b 2 c i + 2 ( q 1 ) l = 1 2 ( q 1 ) 2 + 1 2 r = 2 b + 1 e l = 3 r 2 b + 2 i = 1 b 2 i c i = r 2 b + 2 l ( l 1 ) l 2 c 1 , c 2 , , c b 2 , l 2 i = 1 b 2 c i ( q 1 ) l
Note that r 2 b + 2 l 3 b 1 2 b + 2 3 = b 2 , and we have
i = 1 b 2 i c i = r 2 b + 2 l l 2 c 1 , c 2 , , c b 2 , l 2 i = 1 b 2 c i = r 2 b 1 l 3
by the same method we used to prove Theorem 7.
Thus, the coefficient is
1 2 ( q 1 ) 2 + 1 2 r = 2 b + 1 e l = 3 r 2 b + 2 ( l 1 ) r 2 b 1 l 3 ( q 1 ) l = 1 2 ( q 1 ) 2 + 1 2 r = 2 b + 1 e l = 3 r 2 b + 2 ( l 3 ) r 2 b 1 l 3 ( q 1 ) l + r = 2 b + 1 e l = 3 r 2 b + 2 r 2 b 1 l 3 ( q 1 ) l = 1 2 ( q 1 ) 2 + 1 2 r = 2 b + 1 e l = 4 r 2 b + 2 ( r 2 b 1 ) r 2 b 2 l 4 ( q 1 ) l + r = 2 b + 1 e q r 2 b 1 ( q 1 ) 3 = 1 2 ( q 1 ) 2 + r = 2 b + 1 e [ 1 2 ( r 2 b 1 ) q r 2 b 2 ( q 1 ) 4 + q r 2 b 1 ( q 1 ) 3 ] = 1 2 [ ( e 2 b ) q e 2 b 1 ( q 1 ) 3 + q e 2 b ( q 1 ) 2 ]
Theorem 11.
For 2 b e 3 b 1 , there exist at most finite linear perfect b-symbol e-error-correcting codes over F q for a given b , e , and q.
Proof. 
By Theorems 9 and 10, we only need to consider the case g e b , q ( n ) = ( K n + 1 ) 2 , and hence
1 2 [ ( e 2 b ) q e 2 b 1 ( q 1 ) 3 + q e 2 b ( q 1 ) 2 ] = K 2 .
for some integer K.
If e = 2 b , then 1 2 ( q 1 ) 2 = K 2 , which is impossible.
If e = 2 b + 1 , then 1 2 ( q 1 ) 2 ( 2 q 1 ) = K 2 . Hence, 4 q 2 is a perfect square, which is also impossible.
If e 2 b + 2 , then p 1 2 [ ( e 2 b ) q e 2 b 1 ( q 1 ) 3 + q e 2 b ( q 1 ) 2 ] , where q is a power of prime p. Hence, p K , and g e b , q ( n ) = ( K n + 1 ) 2 1 ( mod p ) , which contradicts g e b , q ( n ) = q n k . □

5. Conclusions

In this paper, we established a b-sphere-packing bound and presented a recurrence relationship for the b-weight enumerator. We determined all parameters of linear perfect b-symbol e-error-correcting codes over F q for e < 2 b and showed that for 2 b e < 3 b , there exist at most finite such codes for a given b ,   e , and q. A family of linear perfect b-symbol b-error-correcting codes over F q was constructed using constacyclic codes.
So far, we have not found any perfect b-symbol e-error-correcting codes for b < e < n . New conditions for perfect b-symbol codes besides the b-sphere-packing bound may need to be established for a further study.
Most of our results stay true for a more general alphabet Σ , such as Z q with an arbitrary q. However, the construction using constacyclic codes does need Σ to be a finite field. Whether perfect b-symbol b-error-correcting codes exist for a q that is not a prime power is also unknown.

Author Contributions

Investigation, K.A., J.C. and R.F. All authors have read and agreed to the published version of the manuscript.

Funding

The first author was supported by the UAEU (grant G00003490). The third author was supported by the National Natural Science Foundation of China (No. 12231015) and by the National Key Research and Development Program of China (No. 2018YFA0704703).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cassuto, Y.; Blaum, M. Codes for symbol-pair read channels. IEEE Trans. Inf. Theory 2011, 57, 8011–8020. [Google Scholar] [CrossRef]
  2. Cassuto, Y.; Litsyn, S. Symbol-pair codes: Algebraic constructions and asymptotic bounds. In Proceedings of the 2011 IEEE International Symposium on Information Theory Proceedings (ISIT), St. Petersburg, Russia, 31 July–5 August 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 2348–2352. [Google Scholar]
  3. Yaakobi, E.; Bruck, J.; Siegel, P.H. Decoding of cyclic codes over symbol-pair read channels. In Proceedings of the 2012 IEEE International Symposium on Information Theory Proceedings (ISIT), Cambridge, MA, USA, 1–6 July 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 2891–2895. [Google Scholar]
  4. Hirotomo, M.; Takita, M.; Morii, M. Syndrome decoding of symbol-pair codes. In Proceedings of the 2014 IEEE Information Theory Workshop (ITW), Hobart, TAS, Australia, 2–5 November 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 162–166. [Google Scholar]
  5. Chee, Y.M.; Kiah, H.M.; Wang, C. Maximum distance separable symbol-pair codes. In Proceedings of the 2012 IEEE International Symposium on Information Theory Proceedings (ISIT), Cambridge, MA, USA, 1–6 July 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 2886–2890. [Google Scholar]
  6. Chee, Y.M.; Ji, L.; Kiah, H.M.; Wang, C.; Yin, J. Maximum distance separable codes for symbol-pair read channels. IEEE Trans. Inf. Theory 2013, 59, 7259–7267. [Google Scholar] [CrossRef]
  7. Kai, X.; Zhu, S.; Li, P. A construction of new MDS symbol-pair codes. IEEE Trans. Inf. Theory 2015, 61, 5828–5834. [Google Scholar] [CrossRef]
  8. Yaakobi, E.; Bruck, J.; Siegel, P.H. Constructions and Decoding of Cyclic Codes Over b-Symbol Read Channels. IEEE Trans. Inf. Theory 2016, 62, 1541–1551. [Google Scholar] [CrossRef]
  9. Li, S.; Ge, G. Constructions of maximum distance separable symbol-pair codes using cyclic and constacyclic codes. Des. Codes Cryptogr. 2017, 84, 359–372. [Google Scholar] [CrossRef]
  10. Ding, B.; Ge, G.; Zhang, J.; Zhang, T.; Zhang, Y. New constructions of MDS symbol-pair codes. Des. Codes Cryptogr. 2018, 86, 841–859. [Google Scholar] [CrossRef]
  11. Chen, B.; Lin, L.; Liu, H. Constacyclic Symbol-Pair Codes: Lower Bounds and Optimal Constructions. IEEE Trans. Inf. Theory 2017, 63, 7661–7666. [Google Scholar] [CrossRef]
  12. Ding, B.; Zhang, T.; Ge, G. Maximum Distance Separable Codes for b-Symbol Read Channels. Finite Fields Their Appl. 2016, 49, 180–197. [Google Scholar] [CrossRef]
  13. Dinh, H.Q.; Wang, X.; Sirisrisakulchai, J. Optimal b-symbol constacyclic codes with respect to the Singleton bound. J. Algebra Its Appl. 2020, 19, 2050151. [Google Scholar] [CrossRef]
  14. Liu, H.; Pan, X. Generalized b-Symbol Weights of Linear Codes and b-Symbol MDS Codes. IEEE Trans. Inf. Theory 2023, 69, 2311–2323. [Google Scholar] [CrossRef]
  15. Yang, M.; Li, J.; Feng, K. Construction of Cyclic and Constacyclic Codes for b-symbol Read Channels Meeting the Plotkin-like Bound. arXiv 2016, arXiv:1607.02677. [Google Scholar]
  16. Song, S.; Fujiwara, T. Sphere Packing Bound and Gilbert-Varshamov Bound for b-Symbol Read Channels. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2018, 101, 1915–1924. [Google Scholar] [CrossRef]
  17. Chen, H. Covering b-Symbol Metric Codes and the Generalized Singleton Bound. arXiv 2022, arXiv:2206.12668. [Google Scholar]
  18. Huffman, W.C.; Pless, V. Fundamentals of Error-Correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar] [CrossRef]
  19. Shorey, T.N.; Tijdeman, R. On the greatest prime factors of polynomials at integer points. Compos. Math. 1976, 33, 187–195. [Google Scholar]
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.

Share and Cite

MDPI and ACS Style

Abdukhalikov, K.; Chen, J.; Feng, R. On Linear Perfect b-Symbol Codes over Finite Fields. Mathematics 2023, 11, 4128. https://doi.org/10.3390/math11194128

AMA Style

Abdukhalikov K, Chen J, Feng R. On Linear Perfect b-Symbol Codes over Finite Fields. Mathematics. 2023; 11(19):4128. https://doi.org/10.3390/math11194128

Chicago/Turabian Style

Abdukhalikov, Kanat, Jiajie Chen, and Rongquan Feng. 2023. "On Linear Perfect b-Symbol Codes over Finite Fields" Mathematics 11, no. 19: 4128. https://doi.org/10.3390/math11194128

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