Binary sequences with good autocorrelation property and large linear complexity are widely used in many areas of communication systems and cryptography [1-4]. The (periodic) cross-correlation function of two binary sequences $ a=(a(0),a(1),\cdots,a(N-1)) $ and $ b=(b(0),b(1),\cdots,b(N-1)) $ of period $ N $ at shift $ \tau $ is defined by
where the sum $ t+\tau $ is computed modulo $ N $. When the two sequences $ a $ and $ b $ are identical, the cross-correlation function is called the autocorrelation function of $ a $, and is denoted by $ R_a(\tau) $. The values of $ R_a(\tau) $, $ 1\leq \tau<N $, are called the out-of-phase autocorrelation values of $ a $.
Let $ a=(a(0), a(1),\cdots, a(N-1)) $ be a binary sequence of period $ N $ and $ \mathbb{Z}_N=\{0,1,\cdots, N-1\} $ denote the ring of integers modulo $ N $. The subset $ C $ of $ \mathbb{Z}_N $ is called the support set of a sequence $ a $ if
It is well known that $ R_a(\tau)=N-4(|C|-|(C+\tau)\cap C|) $, where $ C+\tau=\{x+\tau:x\in C\} $ [5]. Clearly, $ R_a(\tau)\equiv N\,({\rm{mod}}\,4). $ According to the remainder of $ N $ modulo 4, the optimal out-of-phase autocorrelation values of binary sequences in terms of the smallest possible values of the autocorrelation are classified into four types as follows [6]:
(A) $ R_a(\tau)=0 $ if $ N\equiv 0\,({\rm{mod}}\,4) $;
(B) $ R_a(\tau)=-1 $ if $ N\equiv 3\,({\rm{mod}}\,4) $;
(C) $ R_a(\tau)\in \{1,-3\} $ if $ N\equiv 1\,({\rm{mod}}\,4) $;
(D) $ R_a(\tau)\in \{2,-2\} $ if $ N\equiv 2\,({\rm{mod}}\,4) $.
In particular, if a sequence has out-of-phase autocorrelation of type (B), it is often called an ideal sequence. If a sequence has out-of-phase autocorrelation of type (A), it is referred to as a perfect sequence. Unfortunately, the only known perfect binary sequence up to equivalence (shift and complement) is $ (0,0,0,1). $ It is conjectured that there is no perfect binary sequence of period $ N $ greater than 4 [7]. Therefore, a binary sequence $ a $ of period $ N\equiv 0\,({\rm{mod}}\,4) $ is referred to as a sequence with optimal autocorrelation value if its out-of-phase autocorrelation values $ R_a(\tau)\in\{0,4\} $ or $ R_a(\tau)\in\{0,-4\} $, and is referred to as a sequence with optimal autocorrelation magnitude if its out-of-phase autocorrelation values $ R_a(\tau)\in\{0,4,-4\} $ [6, 8].
Linear complexity of a sequence is defined as the length of the shortest linear feedback shift registers that can generate the sequence. If the linear complexity of a sequence is $ l $, then the famous Berlekamp-Massey algorithm [9] can recover the whole sequence from $ 2l $ consecutive digits of the sequence. Therefore, large linear complexity of sequences is required for cryptographic applications.
An important method used to construct sequences of period $ N\equiv 0\,({\rm{mod}}\,4) $ is interleaving technique, which was introduced in [10] for constructing new sequences of an interleaved form from base sequences with good autocorrelation. In 2008, Yu and Gong [8] presented $ 4\times (2^m-1) $ interleaved sequences with optimal autocorrelation magnitude for which all $ 2^m-1 $ base sequences are shift equivalent to the perfect binary sequence, and derived the exact linear complexity of the sequences. Yu and Gong [8] also showed that the ADS sequences proposed in [11] are $ N\times 4 $ interleaved sequences for which all four base sequences are shift equivalent up to the complement. Tang and Ding [12] generalized the ADS sequences by using two arbitrary ideal sequences and their shifted sequences as base sequences and got more sequences with optimal autocorrelation values. Xiong et al. [13] presented a sufficient condition and a necessary condition for the linear complexity of these sequences to attain their maximums. In [6], Tang and Gong proposed a $ N\times 4 $ interleaved structure
where $ d $ is some integer such that $ 4d\equiv 1\,({\rm{mod}}\,p) $, $ I $ and $ L $ denote the interleaving operator and the left cyclic shift operator, respectively (see definition in Section 2.1), $ (b(0),b(1),b(2),b(3)) $ is a binary perfect sequence. Based on this interleaved structure, they gave three new constructions of sequences with optimal autocorrelation value/magnitude by choosing different three pairs of related sequences as base sequences. The linear complexity of these sequences was discussed in [14]. In 2018, Su et al. [15] modified the structure (1.1) and presented a construction of binary sequences with optimal autocorrelation magnitude by choosing base sequences from four suitable Ding-Helleseth-Lam sequences [16]. Soon after, Fan [17] determined the linear complexity of these sequences.
In this paper, two classes of binary interleaved sequences of period $ 4p $ with low autocorrelation and large linear complexity are constructed by using the interleaved structure (1.1). Different from the previous ones in [6, 11, 15], we extend the requirement for the number and autocorrelation properties of base sequences and choose four base sequences from Hall's sextic residue sequences and their modifications (see Section 2.2). The out-of-phase autocorrelation values of the two classes of binary sequences are $ \{0,\pm 4, \pm 8\} $ and $ \{0,\pm 4,-8\} $ respectively, which are the closest to optimal autocorrelation magnitude. In order to determine the linear complexity of the constructed sequences, we adopt the classical approach described in [18, 19] and focus on the investigation of the roots of corresponding sequence polynomials in the splitting field of $ x^p-1 $ over the finite field $ \mathbb{F}_2 $. As a consequence, both the minimal polynomial and linear complexity of these two classes of interleaved sequences are determined. The linear complexity of the second class of sequences is equal to $ 4p-\gamma $ with $ \gamma\in\{1,2,3,4\} $. In most cases the linear complexity of the first class of sequences is equal to $ 4p $. Our results show that their linear complexity is quite good.
The remainder of this paper is organized as follows. Section 2 gives some preliminaries. In Section 3, we present two classes of binary interleaved sequences of period $ 4p $ and compute their out-of-phase autocorrelation values. The linear complexity of the proposed sequences is determined in Section 4. Section 5 concludes this paper.
In this section, we introduce some basic concepts and related results required for the construction of new sequences and the determination of their autocorrelation and linear complexity.
Given a family $ \{a_0, a_1, \cdots, a_{M-1}\} $ of $ M $ sequences of period $ N $, where sequences $ a_i=(a_i(0),a_i(1),\cdots,a_i(N-1)) $, $ 0\leq i<M $. An $ N\times M $ matrix $ U $ is formed by placing the sequences $ a_i $ on the $ i\rm{th} $ column, where $ 0\leq i <M $. Then one can obtain an interleaved sequence $ u $ of period $ NM $ by concatenating the successive rows of the matrix $ U $. For simplicity, the interleaved sequence $ u $ can be written as $ u=I(a_0,a_1,\cdots,\,a_{M-1}), $ where $ I $ denotes the interleaving operator and $ a_i $ with $ 0\leq i<M $ are called the base sequences of $ u $.
Let $ L $ be the cyclic left shift operator of a sequence $ a=(a(0),a(1),\cdots,a(N-1)) $ of period $ N $, which is defined by $ L(a)=(a(1),a(2),\cdots,a(N-1),a(0)) $. Then the cyclic left shift $ \tau $ bits of $ a $ can be represented as $ L^{\tau}(a)=(a(\tau),a(\tau+1),\cdots,a(N-1),a(0),\cdots,a(\tau -1)) $.
The following lemma shows that the cyclic left shift and autocorrelation function of an interleaved sequence $ s=I(a_0,a_1,\cdots,\,a_{M-1}) $ can be expressed in terms of the cyclic left shift and cross-correlation function of its base sequences, respectively.
Lemma 2.1 (see [6]) Let $ s=I(a_0,a_1,\cdots,a_{M-1}) $ be the interleaved sequence from the base sequences $ a_i $, $ 0\leq i<M $, of period $ N $. Then
(i) the cyclic left shift $ \tau $ bits of $ s $ is given by
(ii) the autocorrelation function of $ s $ at shift $ \tau $ is given by
where $ \tau=\tau_1M+\tau_2\,\,(0\leq\tau_{1}<N,\,0\leq\tau_{2}<M). $
Let $ p=6f+1 $ be an odd prime, where $ f $ is a positive integer. Let $ g $ be a primitive root modulo $ p $. Define
These $ D_i,\,\,i=0,1,\cdots,5 $, are called cyclotomic classes of order 6 with respect to $ p $ [20].
Lemma 2.2 Let $ p=6f+1 $ be an odd prime. Then
(i) (see [20]) $ -1\in D_3 $ if $ f $ is odd;
(ii) (see [1]) For $ a\in D_j $ with $ 0\leq j<6 $, we have $ aD_i=D_{(i+j)\,(\rm mod\,6)}. $
Put $ C_i=D_i\cup D_{i+1}\cup D_{i+3} $ with $ i\in \{0,1,\cdots,5\} $, where all indices are calculated modulo 6, and assume that $ s_i $ with $ i\in \{0,1,\cdots,5\} $ are binary sequences of period $ p $ with support sets $ C_i $. It has been shown that if the prime $ p=6f+1 $ is of the form $ 4A+27 $ and $ g $ is chosen such that $ 3 \in D_1 $, then each $ C_i $ forms a cyclic difference set [21]. This implies that the sequences $ s_i $ with $ i\in \{0,1,\cdots,5\} $ are all ideal sequences. These six sequences are called Hall's sextic residue sequences.
For each Hall's sextic residue sequence $ s_i $, by replacing the first bit 0 in $ s_i $ with 1, we obtain the corresponding modified version $ s'_i $ of $ s_i $ with period $ p $, which is defined by
We shall henceforth use $ s_i $ and $ s'_i $ with $ i\in \{0,1,2,\cdots,5\} $ to denote Hall's sextic residue sequences of period $ p $ and their corresponding modifications. The following lemma gives several correlation properties of $ s_i $ and $ s'_i $ that we shall need later.
Lemma 2.3 Let $ 0\leq\tau<p $ and $ 0\leq i,j\leq 5 $. Then we have
(i) the autocorrelation of $ s'_i $ is given by
(ii) the cross-correlation between $ s_i $ and $ s'_j $ is given by
(iii) the cross-correlation between $ s'_i $ and $ s_j $ is given by
(iv) the cross-correlation between $ s'_i $ and $ s'_j $ is given by
Proof We prove only (iv) and the others can be proved similarly. If $ \tau=0 $, we have
If $ \tau\neq 0 $, we have
We first point out that throughout this paper we study binary sequences. Hence, all the polynomials are in $ \mathbb{F}_2[x] $, where $ \mathbb{F}_2[x] $ denotes the set of all the polynomials in $ x $ over $ \mathbb{F}_2 $.
Let $ s=(s(0),s(1),\cdots,s(N-1)) $ be a binary sequence of period $ N $. The linear complexity $ LC(s) $ of $ s $ is the smallest positive integer $ l $ for which there exist constants $ c_0=1,c_1,c_2,\cdots,c_l\in \mathbb{F}_2 $ such that $ s(i)+c_1s(i-1)+c_2s(i-2)+\cdots+c_ls(i-l)=0 $ holds for all $ i\geq l. $ Equivalently, $ LC(s) $ is the degree of the polynomial $ m_s(x)=1+c_1x+\cdots+c_lx^{l}. $ The polynomial $ m_s(x) $ is called the minimal polynomial of $ s. $
Let $ P_s(x)=s(0)+s(1)x+\cdots+s(N-1)x^{N-1} $ be the sequence polynomial of a binary sequence $ s $ of period $ N $. Then the minimal polynomial and linear complexity of $ s $ can be calculated by using the following lemma.
Lemma 2.4 (see [22]) For a binary sequence $ s $ of period $ N $,
(i) the minimal polynomial of $ s $ is given by $ m_s(x)=\frac{x^N-1}{\gcd(x^N-1,P_s(x))}; $
(ii) the linear complexity of $ s $ is given by $ LC(s)=N-\deg(\gcd(x^N-1,P_s(x))), $ where $ \deg(f(x)) $ denotes the degree of the polynomial $ f(x) $ and $ \gcd(g(x),h(x)) $ denotes the greatest common divisor of the polynomials $ g(x) $ and $ h(x). $
The following lemma gives the relations of sequence polynomials of some related sequences.
Lemma 2.5 (see [14, 23]) Let $ a_0,a_1,a_2,a_3 $ be binary sequences of period $ N $. Then
(i) $ P_{b_0}(x)=x^{N-\tau}P_{a_0}(x) $ if $ b_0=L^{\tau}(a_0) $;
(ii) $ P_{b_0}(x)=P_{a_0}(x)+\frac{x^{N}-1}{x-1} $ if $ b_0 $ is the complement sequence of $ a_0 $ (i.e., $ b_0(t)=a_0(t)+1 $);
(iii) $ P_w(x)=P_{a_0}(x^{4})+xP_{a_1}(x^{4})+x^{2}P_{a_2}(x^{4})+x^{3}P_{a_3}(x^{4}) $ if $ w=I\,(a_0,a_1,a_2,a_3) $.
For Hall's sextic residue sequences and their modifications, we have the following facts.
Lemma 2.6 Let $ s_i $ and $ s'_i $, $ 0\leq i\leq 5 $ be Hall's sextic residue sequences and their modifications defined by (2.1). Then
(i) $ P_{s'_i}(x)=P_{s_i}(x)+1; $
(ii) $ P_{s_i}(x^4)\equiv 1\,({\rm{mod}}\,\,x^4-1). $
Proof (i) is obvious, so we only prove (ii). Note that $ x^{4k}\equiv 1\,({\rm{mod}}\,x^4-1) $ for any positive integer $ k $. Then from the definition of Hall's sextic residue sequence $ s_i $ with period $ p $, we get
Since $ p $ is of the form $ 4A+27 $, it follows that $ \frac{p-1}{2} $ is an odd number, which yields the desired result.
In this section, we construct two classes of binary sequences of period $ 4p $ with low autocorrelation by interleaving four appropriate base sequences selected from Hall's sextic residue sequences and their modifications.
Let $ s_i $ and $ s_j $ be two Hall's sextic residue sequences of period $ p $, where the integers $ i,j $ satisfy $ 0\leq i, j\leq 5 $ and $ j-i\not\equiv 0\,\,({\rm{mod}}\, 3) $. Let $ b=(b(0),b(1),b(2),b(3)) $ be a perfect binary sequence. Define the first class of binary sequences $ u $ of period $ 4p $ as
where $ d $ is some integer such that $ 4d \equiv 1 \,({\rm{mod}}\,p) $, $ \eta $ is an integer such that $ 0\leq\eta<p $.
Theorem 3.1 The first class of binary sequences $ u $ defined by (3.1) has $ R_u(\tau)\in \{0,\pm 4,\pm 8\} $ for all $ 1\leq \tau < 4p. $
Proof Writing $ \tau=4\tau_1+\tau_2 $, where $ 0\leq \tau_1<p $ and $ 0<\tau_2<4 $ or $ 0< \tau_1<p $ and $ \tau_2=0 $, we calculate the out-of-phase autocorrelation values of the sequence $ u $ in four cases.
Case 1. $ \tau_{2}=0 $, $ 0<\tau_{1}<p $. In this case, one has
by Lemma 2.1(i). Then applying the ideal autocorrelation property of Hall's sextic residue sequences and Lemmas 2.1(ii) and 2.3(i) we get that the autocorrelation of $ u $ at shift $ \tau=4\tau_1 $ which is
where $ H_{i,j}(\tau_{1})=(-1)^{s_i(\tau_1)}+(-1)^{s_i(-\tau_1)}+(-1)^{s_j(\tau_1)}+(-1)^{s_j(-\tau_1)} $. Since the period $ p=6f+1 $ of any Hall's sextic residue sequence is a prime of the form $ 4A+27 $, $ f=\frac{p-1}{6} $ is an odd number, and it follows from Lemma 2.2(i) that $ -1\in D_3 $. Then, according to the definition of Hall's sextic residue sequence and Lemma 2.2(ii), the values of $ H_{i,j}(\tau_{1}) $, $ 0\leq i,j\leq 5 $ can be obtained by straightforward calculations, which we list in Table 1.
Substituting the value of $ H_{i,j}(\tau_{1}) $ into (3.2), we get
if $ j-i\equiv 1\,({\rm{mod}}\,3) $, and
if $ j-i\equiv 2\,({\rm{mod}}\,3) $.
Case 2. $ \tau_{2}=1 $, $ 0\leq \tau_{1}<p. $ In this case, one has
by Lemma 2.1(i). Then by Lemma 2.1(ii) the autocorrelation of $ u $ at shift $ \tau=4\tau_1+1 $ is given by
The last identity holds since $ b(0)+b(1)+b(2)+b(3)\equiv 1\,({\rm{mod}}\,2) $ and $ 1-3d\equiv d\,({\rm{mod}}\,p). $
If $ \tau_1\not \equiv -d-\eta\,({\rm{mod}}\,p) $, then from Lemma 2.3(ii)(iii)(iv) we get
Since the values of $ (-1)^{s_j(\tau_1+d+\eta)}+(-1)^{s_i\left(-(\tau_1+d+\eta)\right)} $ and $ (-1)^{s_i(\tau_1+d-\eta)}-(-1)^{s_j\left(-(\tau_1+d-\eta)\right)} $ both belong to $ \{0,\pm 2\} $, it follows that $ R_u(\tau)\in\{0,\pm 4,\pm 8\}. $
If $ \tau_1\equiv -d-\eta\,({\rm{mod}}\,p) $, then also by Lemma 2.3(ii)(iii)(iv) we get
which clearly belongs to $ \{0,\pm 4\}. $
Case 3. $ \tau_{2}=2 $, $ 0\leq \tau_{1}<p $. In this case, one has
by Lemma 2.1(i). Then by Lemmas 2.1(ii) and 2.3(ii)(iii) the autocorrelation of $ u $ at shift $ \tau=4\tau_1+2 $ is given by
where $ M_{i,j}(\tau_1+2d)=-(-1)^{s_i(-(\tau_1+2d))}-(-1)^{s_i(\tau_1+2d)}+(-1)^{s_j(-(\tau_1+2d))}+(-1)^{s_j(\tau_1+2d)} $, the second identity holds since $ 1-2d\equiv 2d\,({\rm{mod}}\,p) $, and the third identity holds since $ b(0)+b(1)+b(2)+b(3)\equiv 1\,({\rm{mod}}\,2) $. By the definition of Hall's sextic residue sequence $ s_i $ and Lemma 2.2, the values of $ M_{i,j}(\tau_1+2d) $, $ 0\leq i,j\leq 5 $, are given in Table 2.
If $ j-i\equiv 1\,({\rm{mod}}\,3) $, the out-of-phase autocorrelation distribution of the sequence $ u $ is
If $ j-i\equiv 2\,({\rm{mod}}\,3) $, the out-of-phase autocorrelation distribution of the sequence $ u $ is
Case 4. $ \tau_{2}=3 $, $ 0\leq \tau_{1}<p $. In this case, one has
by Lemma 2.1(i). Then by Lemma 2.1(ii) the autocorrelation of $ u $ at shift $ \tau=4\tau_1+3 $ is given by
The second identity holds since $ 1-d\equiv 3d\,({\rm{mod}}\,p) $, and the last identity holds since $ b(0)+b(1)+b(2)+b(3)\equiv 1\,({\rm{mod}}\,2). $
If $ \tau_1\not \equiv -3d+\eta\,({\rm{mod}}\,p) $, then from Lemma 2.3(ii)(iii)(iv) we get
Since the values of $ -(-1)^{s_i(-(\tau_1+3d+\eta))}+(-1)^{s_j(\tau_1+3d+\eta)} $ and $ (-1)^{s_i(\tau_1+3d-\eta)}+(-1)^{s_j(-(\tau_1+3d-\eta))} $ belong to $ \{0,\pm 2\} $, it follows that $ R_u(\tau)\in\{0,\pm 4,\pm 8\}. $
If $ \tau_1\equiv -3d+\eta\,({\rm{mod}}\,p) $, then also by Lemma 2.3(ii)(iii)(iv) we get
which belongs to $ \{0,\pm 4\}. $
Summarizing the results in all cases, we have $ R_u(\tau)\in\{0,\pm 4,\pm 8\}. $ The proof of this theorem is complete.
Let $ s_i $ and $ s_j $ be two Hall's sextic residue sequences of period $ p $ with $ 0\leq i, j\leq 5 $, and $ b=(b(0),b(1),b(2),b(3)) $ be a perfect binary sequence. Define the second class of binary sequences $ v $ of period $ 4p $ as
Theorem 3.2 Let $ v $ be a binary sequence of period $ 4p $ defined by (3.3). Then $ R_v(\tau)\in \{0,\pm 4,-8\} $ for all $ 1\leq \tau < 4p $.
Proof Writing $ \tau=4\tau_1+\tau_2 $, where $ 0\leq \tau_1<p $ and $ 0<\tau_2<4 $ or $ 0< \tau_1<p $ and $ \tau_2=0 $. Applying Lemmas 2.1 and 2.3, the out-of-phase autocorrelation values of $ v $ can be calculated in four cases.
Then the autocorrelation of $ v $ at shift $ \tau=4\tau_1 $ is
where
By the definition of Hall's sextic residue sequence $ s_j $ and Lemma 2.2, we have
Hence, the out-of-phase autocorrelation distribution of the sequence $ v $ is
Case 2. $ \tau_{2}=1 $, $ 0\leq \tau_{1}<p $. In this case, one has
Then the autocorrelation of $ v $ at shift $ \tau=4\tau_1+1 $ is equal to
Obviously, $ R_v(\tau)\in\{0,\pm 4\}. $
Then the autocorrelation of $ v $ at shift $ \tau=4\tau_1+2 $ is
where $ A_j(\tau_1+2d) $ is defined by (3.4). From (3.5) and $ A_j(\tau_1+2d)=2 $ if $ \tau_1+2d\equiv 0\,({\rm{mod}}\,p), $ we get
Then the autocorrelation of $ v $ at shift $ \tau=4\tau_1+3 $ is equal to
Since the values of $ -2(-1)^{b(0)+b(3)}(-1)^{s_i(-(\tau_1+3d+\eta))}+2(-1)^{b(0)+b(1)}(-1)^{s_i(\tau_1+3d-\eta)}\in \{0,\pm 4\} $, it follows that $ R_v(\tau)\in\{0,\pm 4\}. $
Summarizing the results in all cases, we have $ R_v(\tau)\in\{0,\pm 4,-8\}. $ The proof of this theorem is complete.
In this section, we determine both the linear complexity and minimal polynomial of the two classes of binary sequences $ u $ and $ v $ defined in (3.1) and (3.3) by studying their sequence polynomials. Note that the sequence polynomial of a periodic sequence $ s $ is computed modulo $ x^p-1 $, where $ p $ is the period of $ s $.
Let $ m $ be the order of 2 modulo $ p $. Then the splitting field of $ x^p-1 $ is the finite field $ \mathbb{F}_{2^m} $ of characteristic 2. In the rest of this paper, we will denote one of the primitive $ p\text{th} $ root of unity of $ x^p-1 $ in $ \mathbb{F}_{2^m} $ by $ \beta $. Then $ \beta^i $ with $ 0\leq i< p $ are exactly all roots of $ x^{p}-1 $. The following facts about the roots of some polynomials will be needed in the sequel, we give them without proof.
Lemma 4.1 Let $ \beta $ be a primitive $ p\text{th} $ root of unity of $ x^p-1 $ in $ \mathbb{F}_{2^m} $. Then
(i) $ \beta^i $ with $ 0\leq i< p $ are exactly all roots of $ x^{2p}-1 $, each with multiplicity $ 2 $;
(ii) $ \beta^i $ with $ 0\leq i< p $ are exactly all roots of $ x^{4p}-1 $, each with multiplicity $ 4 $;
(iii) $ \beta^i $ with $ 1\leq i< p $ are exactly all roots of $ \frac{x^{4p}-1}{x^4-1} $, each with multiplicity 4, and $ \frac{x^{4p}-1}{x^4-1}|_{x=1}=1\neq 0 $.
Lemma 4.2 Let $ b=(b(0),b(1),b(2),b(3)) $ be a perfect sequence and $ P_b(x)=b(0)+b(1)x+b(2)x^2+b(3)x^3 $ be the sequence polynomial of $ b $. Then $ P_b(1)=1, i.e., (x-1)\nmid P_b(x). $
Theorem 4.3 The linear complexity of the first class of binary sequences $ u $ defined by (3.1) is given by
Proof By Lemmas 2.5 and 2.6(i), the sequence polynomial of $ u $ is
We now distinguish two cases.
If $ 0<\eta<p $, then by Lemmas 4.1(i)(iii) and 4.2, we have $ P_u(1)=1 $ and $ P_u(\beta^i)=1+\beta^{4i(p-\eta)}\neq 0 $ for all $ i $ with $ 1\leq i<p $. It follows from Lemma 4.1(ii) that $ \gcd(P_u(x),x^{4p}-1)=1 $, so that the minimal polynomial of $ u $ is $ m_u(x)=x^{4p}-1 $ and the linear complexity of $ u $ is $ LC(u)=4p $ by Lemma 2.4.
If $ \eta=0 $, then we have $ P_u(x)=(1+x^{2p})P_{s_i}(x^4)+x^p(1+x^{2p})P_{s_j}(x^4)+x^{2p}+x^p+P_b(x)\frac{x^{4p}-1}{x^4-1}. $ Also by Lemmas 4.1 and 4.2, we get $ P_u(1)=1 $ and $ P_u(\beta^i)=0 $ for all $ i $ with $ 1\leq i<p $. So
where $ l(x)=(1+x^p)P_{s_i}(x^4)+x^p(1+x^p)P_{s_j}(x^4)+x^p $. Since $ l(\beta^i)=1 $ for $ 1\leq i<p $ and $ \beta^i $ with $ 1\leq i<p $ are exactly all distinct roots of $ (\frac{x^{p}-1}{x-1})^3 $, each with multiplicity 3, it follows that $ \gcd((x-1)l(x),(\frac{x^{p}-1}{x-1})^3)=1 $. Then we get $ \gcd(P_u(x),x^{4p}-1)=\frac{x^p-1}{x-1} $, and so the minimal polynomial of $ u $ is $ m_u(x)=(x-1)(x^p-1)^3 $ and the linear complexity of $ u $ is $ LC(u)=3p+1 $ by Lemma 2.4.
The proof is complete.
Theorem 4.4 The linear complexity of the second class of binary sequences $ v $ defined by (3.3) is given by
Proof By Lemmas 2.5 and 2.6(i), the sequence polynomial of $ v $ is
By Lemmas 4.1 and 4.2, we have $ P_v(1)=0 $ and $ P_v(\beta^i)=\beta^{4i(p-\eta)}\neq 0 $ for any $ 1\leq i<p $. So
for some integer $ k $ with $ 1\leq k\leq 4 $ by Lemma 4.1(ii). Next, we will determine the value of $ k $. Define
Then
Note that $ x^{p-4\eta}\equiv x^p\,({\rm{mod}}\,\,x^4-1) $. This together with (4.1), (4.2), (4.3), (4.4) and Lemma 2.6(ii) implies that
Define
Next, we divide the discussion into four cases.
Case 1. $ b\in \{(0,0,1,0),(1,0,0,0),(0,1,1,1),(1,1,0,1)\} $. If $ b=(0,0,1,0) $, then we have
Since $ (1+x)||x^{p-1}(1+x) $ and $ (1+x)^3||(1+x^p)(1+x^{2p}) $, where $ f(x)^i||g(x) $ denotes that $ f(x)^i|g(x) $ but $ f(x)^{i+1}\nmid g(x) $, it follows that $ \gcd(h_2(x),(x-1)^4)=x-1. $ Together with (4.5) and (4.6), we have $ \gcd(P_v(x), x^{4p}-1)=x-1 $, i.e., $ k=1 $ in (4.2). Therefore, the minimal polynomial of $ v $ is $ m_v(x)=\frac{x^{4p}-1}{x-1} $ and the linear complexity of $ v $ is $ LC(v)=4p-1 $ by Lemma 2.4. For $ b\in\{(1,0,0,0),(0,1,1,1),(1,1,0,1)\} $, the result can be shown in the same way.
Case 2. $ b\in \{(0,1,0,0),(1,0,1,1)\} $. For $ b=(0,1,0,0) $, we have
Since $ (1+x)^2||x^{p-2}(1+x^2) $ and $ (1+x)^3||(1+x^p)(1+x^{2p}) $, $ \gcd(h_2(x),(x-1)^4)=(x-1)^2. $ Together with (4.5) and (4.6), we have $ \gcd(P_v(x), x^{4p}-1)=(x-1)^2 $, i.e., $ k=2 $ in (4.2). Therefore, the minimal polynomial of $ v $ is $ m_v(x)=\frac{x^{4p}-1}{(x-1)^2} $ and the linear complexity of $ v $ is $ LC(v)=4p-2 $ by Lemma 2.4. For $ b=(1,0,1,1) $, the result can be obtained similarly.
Case 3. $ b=(0,0,0,1) $. Then $ h_2(x) =(1+x^p)(1+x^{2p}). $ Since $ (1+x)^3||(1+x^p)(1+x^{2p}) $, $ \gcd(h_2(x),(x-1)^4)=(x-1)^3. $ Together with (4.5) and (4.6), we have $ \gcd(P_v(x), x^{4p}-1)=(x-1)^3 $, i.e., $ k=3 $ in (4.2). Therefore, the minimal polynomial of $ v $ is $ m_v(x)=\frac{x^{4p}-1}{(x-1)^3} $ and the linear complexity of $ v $ is $ LC(v)=4p-3 $ by Lemma 2.4.
Case 4. $ b=(1,1,1,0) $. Then
Since $ (1+x)|(1+x+x^2+\cdots+x^{p-1})^3+x^{p-3} $, $ \gcd(h_2(x),(x-1)^4)=(x-1)^4. $ Together with (4.5) and (4.6), we have $ \gcd(P_v(x), x^{4p}-1)=(x-1)^4 $, i.e., $ k=4 $ in (4.2). Therefore, the minimal polynomial of $ v $ is $ m_v(x)=\frac{x^{4p}-1}{(x-1)^4} $ and the linear complexity of $ v $ is $ LC(v)=4p-4 $ by Lemma 2.4. Thus the proof of Theorem 4.4 is in all cases complete.
Example 1 Let $ p=31=4+27 $. To ensure $ 3\in D_1 $, we use a primitive root $ g=3 $ of $ p=31 $ to define the cyclotomic classes of order 6. Then
The six Hall's sextic residue sequences $ s_i $ of period $ 31 $ with support sets $ C_i=D_i\cup D_{i+1}\cup D_{i+3} $, $ i=0,1,\cdots,5 $ are, respectively,
Take $ b=(0,0,0,1),\, i=0,\, j=1,\, \eta=1 $, and $ d=8. $ By (3.1), the interleaved sequence $ u $ of period $ 4p=124 $ is
By Magma program, the out-of-phase autocorrelation of $ u $ is
and the linear complexity of $ u $ is $ LC(u)=124 $, which are coincident with the results given by Theorem 3.1 and Theorem 4.3.
Take $ b=(0,0,1,0),\, i=2,\, j=5,\, \eta=5 $, and $ d=8. $ By (3.3), the interleaved sequence $ v $ of period $ 4p=124 $ is
By Magma program, the out-of-phase autocorrelation of $ v $ is
and the linear complexity of $ v $ is $ LC(v)=123 $, which are coincident with the results given by Theorem 3.2 and Theorem 4.4.
Theoretically, the next smallest values which are the closest to optimal autocorrelation magnitude for the out-of-phase autocorrelation values of binary sequence $ s $ of period $ N\equiv 0\,({\rm{mod}}\,4) $ are $ \{0,\pm 4, 8\} $, $ \{0,\pm 4, -8\} $ or $ \{0,\pm 4, \pm 8\} $. In this paper, we propose two classes of binary interleaved sequences of period $ 4p $ by interleaving four suitable base sequences chosen from Hall's sextic residue sequences and their modified versions. The results show that the out-of-phase autocorrelation values of our proposed sequences are the closest to the optimal autocorrelation magnitude. Moreover the proposed sequences are also shown to have very large linear complexity. Especially, when $ \eta\neq 0 $, the linear complexity of the first class of sequences is equal to the period of the sequences. Noting the multiple choices of base sequences and the parameter $ \eta $, our construction can generate a great number of binary sequences with low autocorrelation sidelobes and large linear complexity.