Five Infinite Families of Binary Cyclic Codes and Their Related Codes With Good Parameters
Five Infinite Families of Binary Cyclic Codes and Their Related Codes With Good Parameters
Abstract
Cyclic codes are an interesting type of linear codes and have wide applications in communication
and storage systems due to their efficient encoding and decoding algorithms. Inspired by the recent
work on binary cyclic codes published in IEEE Trans. Inf. Theory, vol. 68, no. 12, pp. 7842-7849,
2022, the objectives of this paper are the construction and analyses of five infinite families of binary
cyclic codes with parameters [n, k] and (n− 6)/3 ≤ k ≤ 2(n+ 6)/3. Three of the five families of binary
cyclic codes and their duals have a very good lower bound on their minimum distances and contain
distance-optimal codes. The other two families of binary cyclic codes are composed of binary duadic
codes with a square-root-like lower bound on their minimum distances. As a by-product, two infinite
families of self-dual binary codes with a square-root-like lower bound on their minimum distances are
obtained.
The work of Hai Liu and Chengju Li was supported by the National Natural Science Foundation of China (12071138),
Shanghai Rising-Star Program (22QA1403200), the open research fund of National Mobile Communications Research Laboratory
of Southeast University (2022D05), and the Shanghai Trusted Industry Internet Software Collaborative Innovation Center. The
work of Cunsheng Ding was supported by the Hong Kong Research Grants Council under Grant 16302121. (Corresponding
author: Chengju Li.)
H. Liu and C. Li are with the Shanghai Key Laboratory of Trustworthy Computing, East China Normal University, Shanghai,
200062, China; and are also with the National Mobile Communications Research Laboratory, Southeast University, Nanjing
210096, China (email: [email protected], [email protected]).
C. Ding is with the Department of Computer Science and Engineering, The Hong Kong University of Science and Technology,
Clear Water Bay, Kowloon, Hong Kong, China (email: [email protected]).
2
C ONTENTS
1 Introduction 3
2 The first three families of binary cyclic codes and their duals 5
2-A The construction of the first three families of binary cyclic codes . . . . . 5
2-B Some auxiliary results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2-B1 The odd m case . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2-B2 The even m case . . . . . . . . . . . . . . . . . . . . . . . . . 9
2-C Parameters of the binary codes C(i,m) . . . . . . . . . . . . . . . . . . . . . 11
2-C1 Parameters of C(i,m) when m ≥ 5 is odd . . . . . . . . . . . . . 11
2-C2 Parameters of C(i,m) when m ≥ 4 is even . . . . . . . . . . . . 13
⊥
2-D Parameters of the dual codes C(i,m) . . . . . . . . . . . . . . . . . . . . . . 15
⊥
2-D1 Parameters of C(i,m) when m ≥ 5 is odd . . . . . . . . . . . . . 16
⊥
2-D2 Parameters of C(i,m) when m ≥ 4 is even . . . . . . . . . . . . 18
2-E Comments on the binary cyclic codes C(i,m) . . . . . . . . . . . . . . . . . 21
References 31
3
1. I NTRODUCTION
In this paper, let Fq denote the finite field of order q, where q is a power of a prime p. An
[n, k, d] linear code C over Fq is a k-dimensional subspace of Fnq with minimum (Hamming)
distance d. The dual code of C, denoted by C ⊥ , is defined by
where bcT is the standard inner product of two vectors b and c in Fnq .
The linear code C over Fq is said to be cyclic if (c0 , c1 , . . . , cn−1) ∈ C implies (cn−1 , c0 , . . . , cn−2) ∈
C. By identifying each vector (c0 , c1 , . . . , cn−1 ) ∈ Fnq with
It is an interesting problem to design an infinite family of binary cyclic codes with good
parameters such that their duals also have good parameters. For convenience, we call such an
infinite family of binary cyclic codes a dually-good infinite family of binary cyclic codes. Dully-
good infinite families of binary cyclic codes with small or large dimensions relative to their
lengths are relatively easy to construct. The binary Hamming codes and the punctured binary
second-order Reed-Muller codes are two dully-good infinite families of binary cyclic codes with
a large and small dimension, respectively. However, only a small number of dully-good infinite
families of binary cyclic codes with parameters [n, k] and (n − 6)/3 ≤ k ≤ 2(n + 6)/3 are
known in the literature. The following is a list of such binary cyclic codes known to the authors.
1) The family of binary quadratic-residue codes.
2) The punctured binary Reed-Muller codes of length 2m − 1 and order (m − 1)/2, where m
is odd.
3) Two families of cyclic codes presented in [14].
It is in general very hard to determine the minimum distance of a cyclic code with parameters
[n, k] and (n − 6)/3 ≤ k ≤ 2(n + 6)/3 as the dimension k is neither small nor large compared
with a large length n [1], [11], [12]. If it is impossible to determine the minimum distance of
such a code, the best one can do is to develop a good lower bound on the minimum distance of
the code. This is the only way to show that such a code has a good error-correcting capability.
However, this is not easy either. It is more difficult to develop good lower bounds on the minimum
distances of both C and C ⊥ [7], [15]. This explains why it is very difficult to find a dully-good
infinite family of binary cyclic codes with parameters [n, k] and (n − 6)/3 ≤ k ≤ 2(n + 6)/3.
Inspired by the works in [14], our objectives in this paper are the construction and analyses of
five dully-good infinite families of binary cyclic codes with parameters [n, k] and (n − 6)/3 ≤
k ≤ 2(n + 6)/3. Three of the five infinite families of binary cyclic codes and their duals have
a very good lower bound on their minimum distances and contain distance-optimal codes. The
other two families of binary cyclic codes are composed of binary duadic codes with a square-
root-like lower bound on their minimum distances. As a by-product, two families of self-dual
binary codes with a square-root-like lower bound on their minimum distances are obtained.
In this paper by the Database we mean the tables of best known linear codes [8], which are
maintained by Markus Grassl at http://www.codetables.de/. We inform the reader that all the
code examples given in this paper are computed by the Magma software package.
The rest of this paper is organised as follows. Section 2 introduces and analyses the first three
5
families of binary cyclic codes and their related codes. Section 3 constructs and analyses the
two families of binary duadic codes and their related codes. Section 4 concludes this paper and
proposes some open problems.
where ls is the smallest positive integer such that s ≡ s2ls (mod n). For an integer i with
0 ≤ i ≤ 2m − 1, let
i = im−1 2m−1 + im−2 2m−2 + · · · + i1 2 + i0
for each i ∈ {0, 1, 2}. Note that w2 (a1 ) = w2 (a2 ) if a1 and a2 belong to the same cyclotomic
coset. It then follows that g(i,m) (x) ∈ F2 [x]. Let C(i,m) denote the binary cyclic code of length
n = 2m − 1 with generator polynomial g(i,m) (x) for i = 0, 1, 2. When m = 3 and 4, Table I
shows that the three families of binary cyclic codes and their dual codes contain some optimal
binary cyclic codes, which motivated us to study the parameters of the three families of binary
cyclic codes C(i,m) and their dual codes.
In the following three subsections, the dimensions of the three families of binary cyclic codes
C(i,m) and their dual codes will be determined and lower bounds on their minimum distances
will be developed with the BCH bound on cyclic codes.
In this subsection, we will present some auxiliary results on the defining sets of the three
families of binary cyclic codes C(i,m) , which will play an important role in developing good
6
TABLE I
PARAMETERS OF C(i,m) FOR m = 3, 4
lower bounds on the minimum distance of the binary codes. The following well-known lemma
will be employed later.
gcd(am − 1, al − 1) = agcd(m,l) − 1,
for i = 0, 1, 2. By the definition of C(i,m) given by (1), T(i,m) is the defining set of C(i,m) with
respect to the n-th primitive root of unity α.
1) The odd m case:
Proof. If v = 2(m−1)/2 −1, it follows from Lemma 2.1 that gcd(v, n) = 1. When a = 2(m−1)/2 +2,
we have
av = 2m−1 + 2(m−1)/2 − 2 = 2(2m−2 + 2(m−3)/2 − 1).
āv = ā2(m+1)/2 − ā
(m−3)/2 (m−3)/2
X X
i+(m+1)/2 (m−1)/2
= ai 2 +2 + (1 − ai )2i + 1.
i=1 i=0
8
As a result, we have
m−1 m+1
w2 (āv) = w2 (ā) − 1 + 2 + − w2 (ā) = ≡ 1 (mod 3).
2 2
If v = 2(m−1)/2 − 1, it follows from Lemma 2.1 that gcd(v, n) = 1. When a = 2m−1 +
2(m−1)/2 + 1, one can check that
(m−5)/2
X
m−1 (m−1)/2
av = (2 +2 +1+ ti 2i )(2(m−1)/2 − 1)
i=0
(m−5)/2 (m−5)/2
X X
(m−1)/2 m−1 i+(m−1)/2
=2 2 −1+ ti 2 − ti 2i
i=0 i=0
(m−5)/2 (m−5)/2
X X
≡ ti 2i+(m−1)/2 + (1 − ti )2i (mod n).
i=0 i=0
Proof. The proof is very similar to that of Lemma 2.2 and omitted here.
Proof. The proof is very similar to that of Lemma 2.2 and omitted here.
Now assume that 1 ≤ a ≤ 2(m−2)/2 − 1. Let a = 2l ā, where ā is odd and l ≥ 0 is an integer.
Let the 2-adic expansion of ā be given by
(m−4)/2
X
ā = ai 2i ,
i=0
where a0 = 1. We have
(m−4)/2 (m−4)/2
X X
i+(m−2)/2
āv = ai 2 + (1 − ai )2i + 1.
i=1 i=0
10
Next, we assume that 1 ≤ a ≤ 2(m−4)/2 − 1. Let a = 2l ā, where ā is odd and l ≥ 0 is an integer.
Let the 2-adic expansion of ā be given by
(m−6)/2
X
ā = ai 2i ,
i=0
where a0 = 1. One can check that
(m−6)/2 (m−6)/2
X X
i+(m−2)/2
āv = ai 2 + (1 − ai )2i + 1.
i=1 i=0
It then follows that
1 (mod 3),
if m ≡ 0 (mod 6);
m−4
w2 (av) = w2 (āv) = ≡ 2 (mod 3), if m ≡ 2 (mod 6);
2
0 (mod 3), if m ≡ 4 (mod 6).
In this subsection, we investigate the dimensions and minimum distances of the binary cyclic
codes C(i,m) for i = 0, 1, 2.
√
2π −1
Let ω = e 3 ∈ C be a 3-th primitive root of unity, i.e., ω 2 + ω + 1 = 0. Denote
X m X m X m
s0 = , s1 = , and s2 = . (2)
0≤i≤m
i 0≤i≤m
i 0≤i≤m
i
i≡0 (mod 3) i≡1 (mod 3) i≡2 (mod 3)
Then we have
(1 + ω)m = s0 + s1 ω + s2 ω 2 , (1 + ω 2 )m = s0 + s1 ω 2 + s2 ω.
Theorem 2.7. Let m ≡ 1 (mod 6) ≥ 7 be an odd integer. Then the codes C(0,m) and C(1,m) have
parameters
[2m − 1, (2m+1 − 1)/3, d ≥ 2(m−1)/2 + 3],
Proof. Note that m ≡ 1 (mod 6) is odd and w2 (i)+w2 (n−i) = m for each i with 1 ≤ i ≤ n−1.
Hence i ∈ T(0,m) if and only if n − i ∈ T(1,m) , which means that
|T(0,m) | = |T(1,m) |.
Then
|T(0,m) | = |T(2,m) | or |T(2,m) | = |T(0,m) | + 2.
12
We assert that |T(0,m) | = |T(2,m) | holds, otherwise, we have |T(2,m) | = |T(0,m) | + 2 and 3|T(0,m) | +
2 = 2m − 2, which leads to a contradiction since |T(0,m) | = (2m − 4)/3 is not a integer.
Consequently,
|T(0,m) | = |T(1,m) | = |T(2,m) | = (2m − 2)/3
and
dim(C(0,m) ) = dim(C(1,m) ) = dim(C(2,m) ) = n − (2m − 2)/3 = (2m+1 − 1)/3.
m−1
Denote v = 2 2 − 1. It follows from Lemma 2.2 that gcd(v, n) = 1. Let v be the integer
satisfying vv ≡ 1 (mod n). Write γ = αv . It is deduced from Lemma 2.2 that the defining set of
C(0,m) with respect to γ contains the set 1, 2, ..., 2(m−1)/2 + 2 . The lower bound on the minimum
distance of C(0,m) then follows from the BCH bound on cyclic codes. The desired conclusion
on the minimum distances of C(1,m) and C(2,m) can be similarly obtained. This completes the
proof.
When m ≡ 3 (mod 6) ≥ 9 is odd, the parameters of C(i,m) for i = 0, 1, 2 are treated in the
following theorem.
Theorem 2.8. Let m ≡ 3 (mod 6) ≥ 9 be an odd integer. Then the codes C(1,m) and C(2,m) have
parameters
[2m − 1, (2m+1 − 4)/3, d ≥ 2(m−1)/2 + 1],
|T(1,m) | = |T(2,m) |.
One can similarly obtain from (3) that |T(1,m) | = |T(0,m) | + 3. Thus, we have
The desired conclusion on the dimensions then follows. The lower bounds on the minimum
distances can be derived by employing Lemma 2.3. The proof is very similar to that of Theorem
2.7 and omitted.
Theorem 2.9. Let m ≡ 5 (mod 6) ≥ 5 be an odd integer. Then the codes C(0,m) and C(2,m) have
parameters
[2m − 1, (2m+1 − 1)/3, d ≥ 2(m−1)/2 + 1],
|T(2,m) | = |T(0,m) |
and
s0 = |T(0,m) | + 1, s1 = |T(1,m) |, s2 = |T(2,m) | + 1.
The remainder of the proof is very similar to that of Theorem 2.7 with the help of Lemma 2.4,
and we omit the details.
Theorem 2.10. Let m ≡ 0 (mod 4) ≥ 4 be an even integer. Then we have the following.
1) If m ≡ 0 (mod 6) ≥ 6, then C(1,m) and C(2,m) have parameters
The desired lower bound on d then follows from the BCH bound on cyclic codes.
15
Theorem 2.11. Let m ≡ 2 (mod 4) ≥ 4 be an even integer. Then we have the following.
1) If m ≡ 0 (mod 6) ≥ 6, then C(1,m) and C(2,m) have parameters
Proof. The proof is very similar to that of Theorem 2.10 and omitted here.
⊥
D. Parameters of the dual codes C(i,m)
⊥
In this subsection, we investigate the parameters of the dual codes C(i,m) for i = 0, 1, 2. Their
dimensions are explicitly determined and low bounds on the minimum distances of these codes
are developed.
16
⊥
1) Parameters of C(i,m) when m ≥ 5 is odd: To develop lower bounds on the minimum
⊥
distances of C(i,m) for odd m ≥ 5, we need the following three lemmas, which can be similarly
proved by using the same techniques given in Section 2-B. Below we only state the lemmas and
omit their proofs.
⊥
The dimensions and lower bounds on the minimum distances of the dual codes C(i,m) for
i = 0, 1, 2 are documented in the following theorem.
and
2(m−1)/2 + 4,
if m ≡ 1 or 5 (mod 6) ≥ 5;
d⊥ ≥
2(m+1)/2 + 10,
if m ≡ 3 (mod 6) ≥ 9.
⊥
2) The code C(1,m) has parameters [2m − 1, k ⊥ , d⊥ ], where k ⊥ and d⊥ are given as follows:
(2m − 2)/3, if m ≡ 1 or 5 (mod 6) ≥ 5;
⊥
k =
(2m + 1)/3, if m ≡ 3 (mod 6) ≥ 9;
and
2(m−1)/2 + 4, if m ≡ 1 (mod 6) ≥ 7;
d⊥ ≥ 2(m−1)/2 + 2, if m ≡ 3 (mod 6) ≥ 9;
2(m+1)/2 + 2,
if m ≡ 5 (mod 6) ≥ 5.
⊥
3) The code C(2,m) has parameters [2m − 1, k ⊥ , d⊥ ], where k ⊥ and d⊥ are given as follows:
(2m − 2)/3, if m ≡ 1 or 5 (mod 6) ≥ 5;
⊥
k =
(2m + 1)/3, if m ≡ 3 (mod 6) ≥ 9;
and
(m+1)/2
2
+ 10, if m ≡ 1 (mod 6) ≥ 7;
d⊥ ≥ 2(m−1)/2 + 2, if m ≡ 3 (mod 6) ≥ 9;
2(m−1)/2 + 4, if m ≡ 5 (mod 6) ≥ 5.
⊥ ⊥
Proof. We prove the desired conclusion only for the code C(0,m) , as the conclusion for C(1,m)
⊥
and C(2,m) can be similarly proved.
18
⊥ ⊥ −1 −1
dim(C(0,m) ) = n − |T(0,m) | = n − |Zn \ T(0,m) | = |T(0,m) |.
⊥
The desired conclusion on the dimension of C(0,m) then follows from (4) and Theorems 2.7, 2.8,
⊥
and 2.9. The desired lower bound on the minimum distance of C(0,m) is deduced from the BCH
bound with the help of Lemmas 2.12, 2.13, and 2.14.
⊥
2) Parameters of C(i,m) when m ≥ 4 is even: Assume that m ≥ 4 is an even integer. To develop
⊥
lower bounds on the minimum distances of C(i,m) in this case, the following two lemmas will be
employed later. The two lemmas below can be similarly proved by using the same techniques
given in Section 2-B. Below we only state the lemmas and omit their proofs.
⊥
When m ≥ 4 is even, the parameters of C(i,m) for i = 0, 1, 2 are treated in the following
theorem.
and
2(m−2)/2 + 2, if m ≡ 0 (mod 6);
d⊥ ≥ 2m/2 + 6, if m ≡ 2 (mod 6);
2(m−2)/2 + 6,
if m ≡ 4 (mod 6),
⊥
3) The code C(2,m) has parameters [2m − 1, k ⊥ , d⊥ ], where
(2m − 1)/3, if m ≡ 0 (mod 6);
k ⊥ = (2m − 4)/3, if m ≡ 2 (mod 6);
(2m + 2)/3, if m ≡ 4 (mod 6),
and
2(m−2)/2 + 2, if m ≡ 0 (mod 6);
d⊥ ≥ 2(m−2)/2 + 6, if m ≡ 2 (mod 6);
2m/2 + 2,
if m ≡ 4 (mod 6),
Proof. The proof is very similar to that of Theorem 2.15 and omitted here.
The dimensions dim(C(i,m) ) of these codes are around 2n/3 and the dimensions of their duals
are around n/3. Experimental data shows that the lower bounds on the minimum distances of
⊥
C(i,m) and C(i,m) developed in the previous subsections are very good. In particular, the three
families of codes contain distance-optimal codes (see Example 1). Hence, they are three dully-
good infinite families of binary cyclic codes.
22
3. T WO FAMILIES OF BINARY DUADIC CODES WITH A SQUARE - ROOT- LIKE LOWER BOUND
In this subsection, we introduce binary duadic codes and survey binary duadic codes with a
square-root-like lower bound on their minimum distances, which are binary duadic codes with
√
parameters of the form [n, (n ± 1)/2, d] such that d is very close to n.
Let n be an odd positive integer and let Zn denote the ring of integers modulo n. Let m =
ordn (2), i.e., the order of 2 modulo n. Let β be an n-th primitive root of unity in F2m . Let S1
and S2 be two subsets of Zn such that
• S1 ∩ S2 = ∅ and S1 ∪ S2 = Zn \ {0}, and
• both S1 and S2 are the union of some 2-cyclotomic cosets modulo n.
If there is a unit µ ∈ Zn such that S1 µ = S2 and S2 µ = S1 , then (S1 , S2 , µ) is called a splitting
of Zn .
Let (S1 , S2 , µ) be a splitting of Zn . Define
Y
gi (x) = (x − β i ) and g̃i (x) = (x − 1)gi (x)
i∈Si
for i ∈ {1, 2}. The pair of cyclic codes C1 and C2 of length n over F2 with generator polynomials
g1 (x) and g2 (x) are called odd-like duadic codes, and the pair of cyclic codes C˜1 and C˜2 of length
n over F2 with generator polynomials g̃1 (x) and g̃2 (x) are called even-like duadic codes.
By definition, C1 and C2 have parameters [n, (n+1)/2] and C˜1 and C˜2 have parameters [n, (n−
1)/2]. For odd-like duadic codes, we have the following result [6, Theorem 6.5.2].
Theorem 3.1 (Square root bound). Let C1 and C2 be a pair of odd-like duadic codes of length
n over F2 . Let do be their (common) minimum odd weight. Then the following hold:
1) d2o ≥ n.
2) If the splitting defining the duadic codes is given by µ = −1, then d2o − do + 1 ≥ n.
3) Suppose d2o − do + 1 = n, where do > 2, and assume that the splitting defining the duadic
codes is given by µ = −1. Then do is the minimum weight of both C1 and C2 .
Binary duadic codes are theoretically attractive due to the following facts [4]:
• All code examples demonstrate that duadic codes of prime lengths have a square-root bound
on their minimum distances. It is known that duadic codes that are not quadratic-residue
codes have a square-root bound on their minimum odd weight (see Theorem 3.1).
23
• Duadic codes could be the best class of cyclic codes of certain lengths. For example, consider
n = 31 and all binary cyclic codes of length 31 and dimension 16. There are four [31, 16]
binary cyclic codes up to equivalence, one is the quadratic-residue code and the other is
duadic, not quadratic-residue. Both of these have minimum weight 7, the other two codes
have minimum weights 5 and 6 [6, Chapter 6].
• Another example of very good duadic codes that are not quadratic-residue codes are the
[113, 57, 18] codes, which have higher minimum weight than the quadratic residue code of
the same length [13]. Further the [151, 76, 23] and [233, 117, 32] duadic codes have higher
minimum weights than the quadratic residue codes of the same lengths [13] and indeed are
the best codes known of their length.
• Every self-dual extended cyclic binary code is the extended code of a duadic code [13, p.
10].
Duadic codes are a generalisation of the quadratic residue codes. They were introduced and
investigated by Leon, Masley and Pless [9], Leon [10], and Pless, Masley and Leon [13], where
a number of properties are proved. Also all binary duadic codes of length until 241 are described
in [13]. The total number of binary duadic codes of prime power lengths and their constructions
were presented in [3] and [4]. Further information on the existence, constructions, and properties
of duadic codes can be found in [6, Chapter 6].
pm
Q
It is proven that binary duadic codes of length n exist if and only if n = i i
i
where each
pi ≡ ±1 (mod 8) [9]. In general, there are many binary duadic codes of length n (see [3] and
[4]). Experimental computations show that the minimum distance of many binary duadic codes
is poor [6, Chapter 6]. The minimum weight of an odd-like duadic code may be even. It is open
which binary duadic codes have an odd minimum weight. Hence, the lower bound in Theorem
3.1 cannot be used to develop a lower bound on the minimum weight of a binary duadic code.
The only known infinite families of binary duadic codes with a square-root-like lower bound on
their minimum distances are the following:
• Binary quadratic residue codes with parameters [n, (n + 1)/2, d], where d2 ≥ n and n ≡ ±1
(mod 8) is a prime.
• The punctured binary Reed-Muller codes of order (m − 1)/2 which has parameters [2m −
1, 2m−1 , 2(m+1)/2 − 1], where m is odd.
• Two infinite families of binary duadic codes with parameters [2m − 1, 2m−1 , d]] presented
24
From now on, we fix n = 2m − 1 and let α denote a primitive element of F2m , where m ≥ 3
is odd. Define a polynomial
Y
g(i1 ,i2 ,m) (x) = (x − αj ), (5)
1≤i≤n−1
w2 (j)≡i1 or i2 (mod 4)
where i1 and i2 are a pair of distinct elements in the set {0, 1, 2, 3}. It is easily seen that
g(i1 ,i2 ,m) (x) ∈ F2 [x]. Let C(i1 ,i2 ,m) denote the binary cyclic code of length n = 2m − 1 with
generator polynomial g(i1 ,i2 ,m) (x). Denote
for i = 0, 1, 2, 3. It is clear that T(i1 ,i2 ,m) is the defining set of C(i1 ,i2 ,m) with respect to the n-th
primitive root of unity α. When m is odd, it is easy to see that C(0,2,m) and C(1,3,m) form a pair
of odd-like duadic codes, which were originally proposed and studied in [14]. We will prove
the following two statements later:
• When m ≡ 1 (mod 4), C(0,3,m) and C(1,2,m) form a pair of odd-like duadic codes.
• When m ≡ 3 (mod 4), C(0,1,m) and C(2,3,m) form a pair of odd-like duadic codes.
In the following subsections, we will investigate the dimensions and minimum distances of the
two families of duadic codes and their dual and extended codes.
To develop lower bounds on the minimum distances of the two families of duadic codes, we
need some auxiliary results about their defining sets.
Proof. If v = 2(m−1)/2 −1, it follows from Lemma 2.1 that gcd(v, n) = 1. When a = 2(m−1)/2 +2,
we have
av = 2m−1 + 2(m−1)/2 − 2 = 2(2m−2 + 2(m−3)/2 − 1).
āv = ā2(m+1)/2 − ā
(m−3)/2 (m−3)/2
X X
i+(m+1)/2 (m−1)/2
= ai 2 +2 + (1 − ai )2i + 1.
i=1 i=0
As a result, we have
m−1 m+1
w2 (āv) = w2 (ā) − 1 + 2 + − w2 (ā) = ≡ 1 (mod 4).
2 2
This completes the proof.
The following three lemmas can be similarly proved and their proofs are omitted here.
D. Parameters of the two families of duadic codes and their related codes
When m ≡ 1 (mod 4) ≥ 5, the parameters of C(0,3,m) and C(1,2,m) are treated in the following
theorem.
Theorem 3.6. Let m ≡ 1 (mod 4) ≥ 5 be an integer. Then C(0,3,m) and C(1,2,m) form a pair of
odd-like duadic codes with parameters [2m − 1, 2m−1 , d], where
2(m−1)/2 + 3 if m ≡ 1 (mod 8),
d≥
2(m−1)/2 + 1 if m ≡ 5 (mod 8).
It then follows that C(0,3,m) and C(1,2,m) form a pair of duadic codes with length n and dimension
(n + 1)/2. Hence, the two codes have the same minimum distance d.
We only prove the lower bounds on minimum distannce d in the case that m ≡ 1 (mod 8) as
m−1
it is similar to prove the desired conclusion for m ≡ 5 (mod 8). Denote v = 2 2 −1. It follows
from Lemma 3.2 that gcd(v, n) = 1. Let v be the integer satisfying vv ≡ 1 (mod n). Write
γ = αv . It is deduced from Lemma 3.2 that defining set of C(0,3,m) with respect to γ contains
the set 1, 2, ..., 2(m−1)/2 + 2 . The desired lower bound on the minimum distance of C(0,3,m)
then follows from the BCH bound on cyclic codes. The desired conclusion on the minimum
distance of C(1,2,m) follows naturally, as the two duadic codes have the same minimum distance.
This completes the proof.
⊥ ⊥
When m ≡ 1 (mod 4) ≥ 5, the parameters of the dual codes C(0,3,m) and C(1,2,m) are studied
in the following theorem.
⊥ ⊥
Theorem 3.7. Let m ≡ 1 (mod 4) ≥ 5 be an integer. Then C(0,3,m) and C(1,2,m) form a pair of
even-like duadic codes with parameters [2m − 1, 2m−1 − 1, d⊥ ], where
2(m−1)/2 + 4 if m ≡ 1 (mod 8),
⊥
d ≥
2(m−1)/2 + 2 if m ≡ 5 (mod 8).
⊥ ⊥
Proof. Note that the defining sets of C(0,3,m) and C(1,2,m) with respect to α are {0} ∪ T(0,3,m) and
⊥
{0} ∪ T(1,2,m) , respectively. It then follows that C(0,3,m) is the even-weight subcode of C(0,3,m)
28
⊥
and C(1,2,m) is the even-weight subcode of C(1,2,m) . The desired conclusion then follows from
Theorem 3.6.
When m ≡ 1 (mod 4) ≥ 5, the parameters of extended codes C(0,3,m) and C(1,2,m) are
investigated in the following theorem.
Theorem 3.8. Let m ≡ 1 (mod 4) ≥ 5 be an integer. Then the extended codes C(0,3,m) and
C(1,2,m) of C(0,3,m) and C(1,2,m) are self-dual and doubly-even. Furthermore, they have parameters
[2m , 2m−1 , d¯ ≥ 2(m−1)/2 + 4], where d¯ denotes the minimum distance of C(0,3,m) or C(1,2,m) .
Proof. It is well known that the extended codes of a pair of odd-like binary duadic codes are
self-dual if the splitting corresponding to the pair of odd-like binary duadic codes is given by
−1 [6, Theorem 6.4.12]. Note that (T(0,3,m) , T(1,2,m) , −1) is a splitting of Z2m −1 when m ≡ 1
(mod 4). Consequently, the extended codes C(0,3,m) and C(1,2,m) of C(0,3,m) and C(1,2,m) are self-
dual. It then follows from [6, Theorem 6.5.1] that the Hamming weight of each codeword in
C(0,3,m) and C(1,2,m) is divisible by 4. The remaining conclusions follow from Theorem 3.6.
Similarly, we have the following three theorems on parameters of C(0,1,m) and C(2,3,m) and
their dual and extended codes when m ≡ 3 (mod 4).
Theorem 3.9. Let m ≡ 3 (mod 4) be an integer. Then C(0,1,m) and C(2,3,m) form a pair of
odd-like duadic codes with parameters [2m − 1, 2m−1 , d], where
2(m−1)/2 + 1 if m ≡ 3 (mod 8),
d≥
2(m−1)/2 + 3 if m ≡ 7 (mod 8).
Proof. The proof is very similar to that of Theorem 3.6 and omitted here.
⊥ ⊥
Theorem 3.10. Let m ≡ 3 (mod 4) be an integer. Then C(0,1,m) and C(2,3,m) form a pair of
even-like duadic codes with parameters [2m − 1, 2m−1 − 1, d⊥ ], where
2(m−1)/2 + 2 if m ≡ 3 (mod 8),
d⊥ ≥
2(m−1)/2 + 4 if m ≡ 7 (mod 8).
Proof. The proof is very similar to that of Theorem 3.7 and omitted here.
Theorem 3.11. Let m ≡ 3 (mod 4) ≥ 7 be an integer. Then the extended codes C(0,1,m) and
C(2,3,m) of C(0,1,m) and C(2,3,m) are self-dual and doubly-even. Furthermore, they have parameters
[2m , 2m−1 , d¯ ≥ 2(m−1)/2 + 4], where d¯ denotes the minimum distance of C(0,1,m) or C(2,3,m) .
29
Proof. The proof is very similar to that of Theorem 3.8 and omitted here.
The lower bounds on the minimum distances of C(0,1,m) , C(2,3,m) , C(0,3,m) , C(1,2,m) and their
duals developed in this paper are very close to the square-root bound. Hence, they are very
good codes in general. Example 3 shows that C(0,3,m) and C(1,2,m) could be a best cyclic code.
Example 4 shows that the minimum distance of C(0,1,7) and C(2,3,7) is less than that of the two
⊥ ⊥ ⊥
duadic codes C(0,2,7) and C(1,3,7) presented in [14], but their duals C(0,1,7) and C(2,3,7) , C(0,2,7) and
⊥
C(1,3,7) have the same parameters [127, 63, 20]. Example 4 shows that the minimum distance of
C(0,1,7) and C(2,3,7) equals that of the punctured binary Reed-Muller code PRM2 (3, 7) of length
⊥ ⊥
127 and order 3, but C(0,1,7) and C(2,3,7) are much better than PRM2 (3, 7)⊥ as
and
⊥ ⊥
d(C(0,1,7) ) = d(C(2,3,7) ) = 20,
None of the families of duadic codes, C(0,1,m) , C(2,3,m) , C(0,3,m) and C(1,2,m) , is identical with
the family of binary quadratic residue codes, as 2m − 1 is composite for many odd m. The two
families of binary duadic codes studied in [14] are C(0,2,m) , C(1,3,m) and thus are not identical
with any of the families of duadic codes investigated in this paper, as their defining sets are
different. This is also justified by the facts that
d(C(0,1,7) ) = d(C(2,3,7) ) = 15
and
d(C(0,2,7) ) = d(C(1,3,7) ) = 19,
and
d(PRM2 (3, 7)⊥ ) = 16.
In this paper, we constructed and studied the parameters of the five families of binary cyclic
codes with parameters [n, k, d] and their duals, where n = 2m −1 and (n−6)/3 ≤ k ≤ (n+6)/3.
They contain some distance-optimal codes and are very good in general, as they have a very
good lower bound on their minimum distances. The work on the two families of duadic codes
C(0,1,m) , C(2,3,m) , C(0,3,m) and C(1,2,m) complements the work in [14]. It is possible to improve the
lower bounds on the binary cyclic codes developed in this paper.
The works of [14] and this paper can be generalised and extended to obtain more families
of binary duadic codes and other binary cyclic codes. But it will be more difficult to develop a
good lower bound on their minimum distances. The generalisation goes as follows. Let r ≥ 2
be a positive integer and let n = 2m − 1 for an integer m ≥ 3. Let S be any proper subset of
Zr . Define
T[r,m,S] = {1 ≤ i ≤ n − 1 : w2 (i) mod r ∈ S}.
31
By definition, T[r,m,S] is the union of some 2-cyclotomic cosets modulo n. Let α be a primitive
element of F2m . Let C[r,m,S] denote the binary cyclic code of length n with generator polynomial
Y
g[r,m,S] (x) = (x − αi ).
i∈T[r,m,S]
When r = 2 and |S| = 1, the codes C[r,m,S] were studied in [14]. When r = 3 and |S| = 1, the
codes C[r,m,S] were treated in this paper. When r = 4 and |S| = 2, some of the codes C[r,m,S]
were investigated in this paper, and the others were not studied in this paper as they are not
duadic codes. When r ≥ 6 is even and |S| = r/2, the code C[r,m,S] could be a duadic code for
certain odd m. Hence, we propose the following research problems.
Open Problem 1. Let m ≥ 3 be an integer and let r = 4. Let S ∈ {(0, 1), (2, 3)}, Determine
the parameters of the code C[r,m,S] for m 6≡ 3 mod 4.
Open Problem 2. Let m ≥ 3 be an integer and let r = 4. Let S ∈ {(0, 3), (1, 2)}. Determine
the parameters of the code C[r,m,S] for m 6≡ 1 mod 4.
The two problems above can be solved with similar techniques in this paper. The following
two research problems are harder.
Open Problem 3. Let m ≥ 3 be an integer and let r ≥ 5 be an integer. For any proper subset
S of Zr , determine the parameters of the code C[r,m,S] .
Open Problem 4. Let r ≥ 6 be an even integer. Find a subset S of Zr with |S| = r/2 such that
C[r,m,S] is a binary duadic code of length n = 2m − 1 for infinitely many odd m. Determine the
parameters of these duadic codes.
R EFERENCES
[1] P. Charpin, “Open problems on cyclic codes,” in Handbook of Coding Theory, vol. 1, V. S. Pless and W. C. Huffman,
Eds. Amsterdam, The Netherlands: Elsevier, 1998, pp. 963–1063.
[2] C. Ding, Codes from Difference Sets. Singapore: World Scientific, 2018.
[3] C. Ding, K. Y. Lam and C. Xing, “Enumeration and construction of all duadic codes of length pm ,” Fundamenta
Informaticae, vol. 38, no. 1, pp. 149–161, 1999.
[4] C. Ding, V. Pless, “Cyclotomy and duadic codes of prime lengths,” IEEE Trans. Inf. Theory, vol. 45, no. 2, pp. 453–466,
March 1999.
[5] C. Ding and J. Yang, “Hamming weights in irreducible cyclic codes,” Discrete Math., vol. 313, no. 4, pp. 434–446, 2013.
[6] W. C. Huffman and V. Pless, Fundamentals Error-Correcting Codes. Cambridge, U.K.: Cambridge Univ. Press, 2003.
32
[7] B. Gong, C. Ding and C. Li, “The dual codes of several classes of BCH codes,” IEEE Trans. Inf. Theory, vol. 68, no. 2,
pp. 953–964, 2022.
[8] M. Grassl, Bounds on the minimum distance of linear codes and quantum codes, Online available at
http://www.codetables.de, accessed on 2023-1-1.
[9] J. S. Leon, J. M. Masley, and V. Pless, “Duadic codes,” IEEE Trans. Inf. Theory, vol. 30, no. 5, pp. 709–714, Sept. 1984.
[10] J. S. Leon, “A probabilistic algorithm for computing minimum weight of large error-correcting codes,” IEEE Trans Inf.
Theory, vol. 34, no. 5, pp. 1354–1359, Sept. 1988.
[11] S. Li, “The minimum distance of some narrow-sense primitive BCH codes,” SIAM J. Discrete Math., vol. 31, no. 4, pp.
2530–2569, 2017.
[12] S. Noguchi, X.-N. Lu, M. Jimbo, Y. Miao, “BCH codes with minimum distance proportional to code length, SIAM J.
Discrete Math., vol. 35, no. 1, pp. 179–193, 2021.
[13] V. Pless, J. M. Masley, and J. S. Leon, “On weights in duadic codes,” J. Comb. Theory Ser. A, vol. 44, pp. 6–21, 1987.
[14] C. Tang, C. Ding, “Binary [n, (n + 1)/2] cyclic codes with good minimum distances,” IEEE Trans. Inf. Theory, vol. 68,
no. 12, pp. 7842–7849, 2022.
[15] X. Shi, Q. Yue, Y. Wu, “The dual-containing primitive BCH codes with the maximum designed distance and their
applications to quantum codes,” Des. Codes and Cryptogr., vol. 87, pp. 2165–2183, 2019.
[16] M. Xiong, “On cyclic codes of composite length and the minimum distance,” IEEE Trans. Inf. Theory, vol. 64, no. 9, pp.
6305–6314, 2018.
[17] M. Xiong, A. Zhang, “On cyclic codes of composite length and the minimum distance II,” EEE Trans. Inf. Theory, vol.
67, no. 8, pp. 5097–5103, 2021.