Next Article in Journal
Multiple-Solution Tasks in Pre-Service Teachers Course on Combinatorics
Previous Article in Journal
A Set of New Stable, Explicit, Second Order Schemes for the Non-Stationary Heat Conduction Equation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Linear Complexity and Trace Representation of New Ding Generalized Cyclotomic Sequences with Period pq and Order Two

School of Information Science and Engineering, Yanshan University, Qinhuangdao 066004, China
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(18), 2285; https://doi.org/10.3390/math9182285
Submission received: 9 August 2021 / Revised: 4 September 2021 / Accepted: 14 September 2021 / Published: 16 September 2021

Abstract

:
Linear complexity is an important property to measure the unpredictability of pseudo-random sequences. Trace representation is helpful for analyzing cryptography properties of pseudo-random sequences. In this paper, a class of new Ding generalized cyclotomic binary sequences of order two with period pq is constructed based on the new segmentation of Ding Helleseth generalized cyclotomy. Firstly, the linear complexity and minimal polynomial of the sequences are investigated. Then, their trace representation is given. It is proved that the sequences have larger linear complexity and can resist the attack of the Berlekamp–Massey algorithm. This paper also confirms that generalized cyclotomic sequences with good randomness may be obtained by modifying the characteristic set of generalized cyclotomy.

1. Introduction

Pseudo-random sequences are widely used in spread spectrum communication, multiple access communication, radar navigation, software testing, cryptography, and so on. The study keystones of pseudo-random sequence are its construction methods and randomness analysis. As the property of pseudo-random sequences, the linear complexity is defined as the length of the shortest linear shift register, which can generate the sequences [1]. By the Berlekamp–Massey algorithm [2], the linear complexity of a pseudo-random sequence must be greater than the half of its period. Trace representation is an important tool for designing and analyzing pseudo-random sequences [3]. In 1962, Whiteman proposed the Whiteman generalized cyclotomy in search of residual difference sets [4]. Subsequently, Ding et al. [5] presented the Ding–Helleseth generalized cyclotomy. Generalized cyclotomy became a popular method to construct pseudo-random sequences. Based on the Ding–Helleseth generalized cyclotomy of order two, Ding [6] constructed new generalized cyclotomic classes ( V 0 , V 1 ) . By use of these cyclotomic classes, Liu et al. [7] constructed the generalized cyclotomic sequences, and calculated the linear complexity and autocorrelation values of the sequences. Chen et al. [8] described the trace representations of the sequences by the Mattson–Solomon polynomial. However, these new generalized cyclotomic sequences are almost balanced, and their imbalance is q p 1 .
Li et al. [9] constructed a group of balanced sequences based on Whiteman’s generalized cyclotomy, but only gave the lower bound of linear complexity. Bai et al. [10] defined a class of balanced binary sequence based on the Ding–Helleseth generalized cyclotomy and calculated the linear complexity. By the defining pairs of the Legendre sequence, Du et al. determined the trace representation and linear complexity of the generalized cyclotomic sequence of length pq with arbitrary order. It can be seen that Bai et al.’s conclusion is a special case when the order is two [11].
Kim et al. [12] found a general trace representation of Lengendre sequences with any prime period. Qi et al. [13] pointed out that a simpler trace representation of Legendre sequences. In 2015, Lv et al. [14] proofed that generalized cyclotomic sequences of order d can be represented as a sum of d-residue sequences. Especially if d = 2, generalized cyclotomic sequences can be represented as a sum of Legendre sequences. Inspired by these conclusions, we consider that trace representation of generalized cyclotomic binary sequences with period pq can be expressed by trace representation of Legendre sequences with period p and q.
In this paper, we constructed a class of new balanced generalized cyclotomic sequences with an imbalance degree of 1 based on the Ding’s new generalized cyclotomic classes ( V 0 , V 1 ) , and discuss the linear complexity and trace representation of the sequences. According to the definition of the new sequences, their characteristic sets are different from those in [9,11,15], and they belong to different sequences.

2. Preliminaries

Let S = { S i } be a sequence of period N over a finite field G F ( 2 ) , then the generating polynomial of S can be expressed as
S ( x ) = S N ( x ) / g c d ( S N ( x ) , x N 1 ) ( x N 1 ) / g c d ( S N ( x ) , x N 1 )
where S N ( x ) = s 0 + s 1 x + + s N 1 x N 1 . The minimal polynomial of S is given by M S ( x ) = ( x N 1 ) / g c d ( S N ( x ) , x N 1 ) , and the linear complexity of S is given by
L C ( S ) = d e g ( M S ( x ) ) = N d e g ( g c d ( S N ( x ) , x N 1 ) )
Let m be the order of 2 modulo N. α is a primitive Nth root of unity over the field G F ( 2 m ) of x N 1 . The linear complexity of the sequence { S i } is further derived as
L C ( S ) = N | { k : S ( α k ) = 0 , 0 k N 1 } |
Let p be an odd prime, gcd(t, p) = 1. Define
( t p ) = { 1 ,   i f   x 2 t ( m o d   p )   f o r   s o m e   x , 1 ,   o t h e r w i s e . ,
where ( t p ) is the Lengendre symbol.
The trace function of x from finite field G F ( 2 n ) to G F ( 2 ) is defined as
t r 1 n ( x ) = x + x 2 + x 2 2 + x 2 n 1
For a , b G F ( 2 ) , x , y G F ( 2 n ) , trace function t r 1 n ( x ) satisfy the following properties:
(i)
t r 1 n ( x ) = t r 1 n ( x 2 j ) for any positive integer j.
(ii)
t r 1 n ( x ) ( a x + b y ) = a t r 1 n ( x ) + b t r 1 n ( y )
These properties show that trace functions are linear functions. See, e.g., [1,3] for details.

3. The Construction of the New Ding Generalized Cyclotomic Binary Sequences

Let p and q be two distinct odd primes with p < q . Define N = p q , g c d ( p 1 , q 1 ) = 2 , and d = ( p 1 ) ( q 1 ) / 2 . By the Chinese Remainder Theorem, there exists a common primitive root g of both p and q [10,11,16].
Clearly, o r d N ( g ) = l c m ( o r d p ( g ) , o r d q ( g ) ) = d , where o r d N ( g ) denotes the multiplicative order of g modulo N. Let x be an integer satisfying the simultaneous congruencies: x g ( m o d   p ) , x 1 ( m o d   q ) . The existence of x mod pq is guaranteed by the Chinese Remainder Theorem [10,13].
Define the new segmentation of the Ding–Helleseth generalized cyclotomy as follows:
V 0 = { g s x h : 0 s d 1 , 0 h 1 , 2 | s + h } , V 1 = { g s x h : 0 s d 1 , 0 h 1 , 2 s + h } .
Clearly, V 0 = g V 1 according to the definitions of V 0 and V 1 .
Therefore, the Ding’s new generalized cyclotomic classes ( V 0 , V 1 ) constitute a segmentation of all invertible elements in Z N [4], the residue ring module N. It is easy to see that Z N * = V 0 V 1 , V 0 V 1 = , where Z N * denotes multiplicative group of the ring Z N and the empty set.
Define
P = { p , 2 p , ( q 1 ) p } , Q = { q , 2 q , ( p 1 ) q } .
In order to obtain the average segmentation of P and Q by quadratic residues theory, define
D 0 ( p ) = { g 2 f m o d   p : f = 0 , 1 , , ( p 3 ) / 2 } ,   D 0 ( q ) = { g 2 f m o d   q : f = 0 , 1 , , ( q 3 ) / 2 } ,   D 1 ( p ) = g D 0 ( p ) , D 1 ( q ) = g D 0 ( q ) ,   R = { 0 } ,   P 0 = p D 0 ( q ) ,   P 1 = p D 1 ( q ) ,   Q 0 = q D 0 ( p ) ,   Q 1 = q D 1 ( p ) ,   C 0 = P 0 Q 0 V 0 R , C 1 = P 1 Q 1 V 1 .   Then ,   Z N = C 0 C 1 ,   C 0 C 1 = .
Definition 1.
The new generalized cyclotomic sequences { S i } of order two of length pq is defined by
S i = { 0 , i f ( i   m o d   N ) C 0 , 1 , i f ( i   m o d   N ) C 1 .
Clearly, the sequence { S i } has least period N. In one period of this sequence, the integer 0 appears ( p q + 1 ) / 2 times and the integer 1 appears ( p q 1 ) / 2 times. It is a balance sequence with imbalance degree 1.

4. Linear Complexity and Minimal Polynomial of the New Sequences

According to the definition of { S i } , the generating polynomial S ( x ) can be expressed as
S ( x ) = i C 1 x i = i P 1 Q 1 V 1 x i G F ( 2 ) [ x ]
According to the expression of S ( x ) , S ( 1 ) can be reckoned as
S ( 1 ) = ( ( p 1 ) / 2 + ( q 1 ) / 2 + ( p 1 ) ( q 1 ) / 2 ) ( m o d   2 ) = ( ( p 1 ) / 2 + ( q 1 ) / 2 ) ( m o d   2 )
Lemma 1.
i P 0 P 1 α i = 1 ,   i Q 0 Q 1 α i = 1 , i = 0 N 1 α i = i P Q V 0 V 1 α i + 1 = 0 .
Refer to the Equations (4) and (5) in [10] for details.
Lemma 2
([8]). Let  α V j and i , j { 0 , 1 } , then α V i V i + j ( m o d 2 ) .
Lemma 3.
i V 1 α k i = { p 1 2 ( m o d   2 ) , k P , 0 , k Q .
Proof. 
Suppose that k P , by the definition of x, we have
V 1 ( m o d   q ) = { g 2 f + 1 x ( m o d   q ) : f = 0 , 1 , , ( d 2 ) 2 } { g 2 f ( m o d   q ) : f = 0 , 1 , , ( d 2 ) 2 } = { g f m o d   q : f = 0 , 1 , , d 1 } = { 1 , 2 , , q 1 } .
When f ranges over { 0 , 1 , , d 1 } , g f m o d   q takes on each element of { 0 , 1 , , q 1 } ( p 1 ) / 2 times. It follows from Lemma 2 that
i V 1 α k i = p 1 2 i P α i = p 1 2 ( m o d 2 )
Suppose that k Q . By symmetry, we get
V 1 ( m o d   p ) = { g f ( m o d   p ) : f = 0 , 1 , , ( d 2 ) 2 } = { g , g 3 , , g p 2 }
When f ranges over { 0 , 1 , , d 1 } , V 1 ( m o d   p ) takes on each element of D 1 ( p ) q 1 times. It follows from Lemma 1 that
i V 1 α k i = ( q 1 ) i P α i = 0
Lemma 4.
Let the symbols be the same as before. Then,
S ( α k ) = { S ( α ) ,    k Z N *   a n d   k   m o d   p D 0 ( q ) , S ( α ) + 1 , k Z N *   a n d   k   m o d   p D 1 ( q ) , i P 1 α k i ,     k P , i Q 1 α k i + q 1 2 ,   k Q .
Proof. 
By the proof of Lemma 3, we obtain V 0 ( m o d   p ) = D 0 ( p ) , V 1 ( m o d   p ) = D 1 ( p ) , V 0 ( m o d   q ) = V 1 ( m o d   q ) = D 0 ( q ) D 1 ( q ) = { 1 , 2 , , q 1 } .
If k V 0 , k m o d   p D 0 ( q ) , there must exist an integer m such that k g m m o d   p q , where m { 0 , 1 , , d 1 } . According to the Chinese Remainder Theorem, we can get that k g m m o d   p and m must be even. Hence, k Q 1 = Q 1 , and k P 1 = P 1 . By Lemma 2, k V 1 = V 1 . By Lemma 1
S ( α k ) = i P 1 Q 1 V 1 α k i = S ( α )
If k V 0 and k m o d   p D 1 ( q ) then k P 1 = P 0 , k Q 1 = Q 1 , k V 1 = V 1 . By Lemma 1
S ( α k ) = i P 1 Q 1 V 1 α k i = i P 0 Q 0 V 1 α i = S ( α ) + 1
If k V 1 and k m o d   p D 0 ( q ) then k P 1 = P 1 , k Q 1 = Q 0 , k V 1 = V 0 . By Lemma 1
S ( α k ) = i P 1 Q 1 V 1 α k i = i P 1 Q 1 V 0 α i = S ( α )
If k V 1 and k m o d   p D 1 ( q ) then k P 1 = P 0 , k Q 1 = Q 0 , k V 1 = V 0 . By Lemma 1
S ( α k ) = i P 1 Q 1 V 1 α k i = i P 0 Q 0 V 0 α i = S ( α ) + 1
To sum up, if k Z N * , and k m o d   p D 0 ( q ) then S ( α k ) = S ( α ) ; if k Z N * , and k m o d   p D 1 ( q ) , then S ( α k ) = S ( α ) + 1 .
If k P , then by Lemma 3
S ( α k ) = i P 1 Q 1 V 1 α k i = i P 1 α k i + i D 1 ( p ) α q k i + i V 1 α k i = i P 1 α k i + p 1 2 + p 1 2 = i P 1 α k i .
If k Q , then by Lemma 3
S ( α k ) = i P 1 Q 1 V 1 α k i = i Q 1 α k i + i D 1 ( q ) α p k i + i V 1 α k i = i Q 1 α k i + q 1 2
Lemma 5. 
S ( α ) { 0 , 1 } if and only if q ± 1 ( m o d 8 ) .
Proof. 
The proof can be referred to Lemma 4 in [10]. □
Lemma 6. 
(i) 
If k P , i P 1 α k i { 0 , 1 } if and only if q ± 1 ( m o d 8 ) .
(ii) 
If k Q , i Q 1 α k i { 0 , 1 } if and only if p ± 1 ( m o d 8 ) .
Proof. 
The proof can be referred to [1,17,18]. □
Note that
  • if k P 0 , i P 1 α k i = 0 , then k P 1 , i P 1 α k i = 1 ;
  • if k P 0 , i P 1 α k i = 1 , then k P 1 , i P 1 α k i = 0 .
  • if k Q 0 , i Q 1 α k i = 0 , then k Q 1 , i Q 1 α k i = 1 ;
  • if k Q 0 , i Q 1 α k i = 1 , then k Q 1 , i Q 1 α k i = 0 .
Considering the symmetry, in this paper, we set that
  • if k P 0 , then i P 1 α k i = 0 , and if k P 1 , then i P 1 α k i = 1 ;
  • if k Q 0 , then i Q 1 α k i + q 1 2 = 0 , and if k Q 1 , then i Q 1 α k i + q 1 2 = 1 .
Let α be the same as before, then α p is a primitive qth root of unity, α q is a primitive pth root of unity. Hence,
x p 1 = i R Q ( x α i ) , x q 1 = i R P ( x α i ) .
In case q ± 1 ( m o d 8 ) , define P j ( x ) = i p j ( x α i ) , where j = { 0 , 1 } . It follows that
x q 1 = P 0 ( x ) P 1 ( x ) ( x 1 )
In case p ± 1 ( m o d 8 ) , define Q j ( x ) = i Q j ( x α i ) , where j = { 0 , 1 } . It follows that
x p 1 = Q 0 ( x ) Q 1 ( x ) ( x 1 )
Let D ( x ) = i Z N * ( x α i ) , D j ( x ) = i Z N * i ( m o d   p ) D j ( q ) ( x α i ) , where j { 0 , 1 } . It follows that
D ( x ) = D 0 ( x ) D 1 ( x )
Theorem 1. 
Let notations be the same as before, then the linear complexity of the new generalized cyclotomic sequences S = { S i } satisfies
(i) 
If p 3 ( m o d 8 ) , q 3 ( m o d 8 ) or p 3 ( m o d 8 ) , q 3 ( m o d 8 ) , then
L C ( S ) = N ,   M S ( x ) = x N 1 .
(ii) 
If p 3 ( m o d 8 ) , q 3 ( m o d 8 ) , then
L C ( S ) = N 1 ,   M S ( x ) = x N 1 x 1 .
(iii) 
If p 3 ( m o d 8 ) , q 1 ( m o d 8 ) or p 3 ( m o d 8 ) , q 1 ( m o d 8 ) , then
L C ( S ) = N q 1 2 ,   M S ( x ) = x N 1 P 0 ( x ) .
(iv) 
If p 3 ( m o d 8 ) , q 1 ( m o d 8 ) , then
L C ( S ) = N q 1 2 1 ,   M S ( x ) = x N 1 P 0 ( x ) ( x 1 ) .
(v) 
If p 1 ( m o d 8 ) , q 3 ( m o d 8 ) or p 1 ( m o d 8 ) , q 3 ( m o d 8 ) , then
L C ( S ) = N + q 2 ,   M S ( x ) = x N 1 Q 0 ( x ) D 0 ( x ) .
(vi) 
If p 1 ( m o d   8 ) , q 3 ( m o d   8 ) ,then
L C ( S ) = N + q 2 1 ,   M S ( x ) = x N 1 Q 0 ( x ) D 0 ( x ) ( x 1 ) .
(vii) 
If p 1 ( m o d 8 ) , q 1 ( m o d 8 ) or p 1 ( m o d 8 ) , q 1 ( m o d 8 ) , then
L C ( S ) = N + 1 2 ,   M S ( x ) = x N 1 P 0 ( x ) Q 0 ( x ) D 0 ( x ) .
(viii) 
If p 1 ( m o d 8 ) , q 1 ( m o d 8 ) , then
L C ( S ) = N 1 2 ,   M S ( x ) = x N 1 P 0 ( x ) Q 0 ( x ) D 0 ( x ) ( x 1 ) .
Proof. 
In the two cases of (i), by Lemmas 4–6 and the Equation (8)
S ( α k ) = { 1 , k = 0 , 0 , k Z N * , 0 , k P , 0 , k Q .
Hence, g c d ( x N 1 , S ( x ) ) = 1 . It follows that
M S ( x ) = x N 1 ,   L C ( S ) = d e g ( M S ( x ) ) = N .
In the case of (ii), by Lemmas 4–6 and the Equation (8),
S ( α k ) = { 0 , k = 0 , 0 , k Z N * , 0 , k P , 0 , k Q .
Hence, g c d ( x N 1 , S ( x ) ) = x 1 . It follows that
M S ( x ) = x N 1 x 1 , L C ( S ) = d e g ( M S ( x ) ) = N 1 .
In the two cases of (iii), by Lemmas 4–6, the Equation (8) and the choice of α
S ( α k ) = { 1 , k = 0 , 0 , k Z N * , 0 , k P 0 , 1 , k P 1 , 0 , k Q .
Hence, g c d ( x N 1 , S ( x ) ) = P 0 ( x ) . It follows that
M S ( x ) = x N 1 P 0 ( x ) ,   L C ( S ) = d e g ( M S ( x ) ) = N q 1 2 .
In the case of (iv), by Lemmas 4–6, the Equation (8) and the choice of α
S ( α k ) = { 0 , k = 0 , 0 , k Z N * , 0 , k P 0 , 1 , k P 1 , 0 , k Q .
Hence, g c d ( x N 1 , S ( x ) ) = P 0 ( x ) ( x 1 ) . It follows that
M S ( x ) = x N 1 P 0 ( x ) ( x 1 ) ,   L C ( S ) = d e g ( M S ( x ) ) = N q 1 2 1 .
In the case of (v), by Lemmas 4–6, the Equation (8) and the choice of α
S ( α k ) = { 1 , k = 0 , 0 , k Z N *   a n d   k   m o d   q D 0 ( q ) , 1 , k Z N *   a n d   k   m o d   q D 1 ( q ) , 0 , k P Q 1 , 0 , k Q 0 .
Hence, g c d ( x N 1 , S ( x ) ) = Q 0 ( x ) D 0 ( x ) . It follows that
M S ( x ) = x N 1 Q 0 ( x ) D 0 ( x ) , L C ( S ) = d e g ( M S ( x ) ) = N + q 2 .
In the case of (vi), by Lemmas 4–6, the Equation (8) and the choice of α
S ( α k ) = { 0 , k = 0 , 0 , k Z N *   a n d   k   m o d   q D 0 ( q ) , 1 , k Z N *   a n d   k   m o d   q D 1 ( q ) , 0 , k P Q 1 , 0 , k Q 0 .
Hence, g c d ( x N 1 , S ( x ) ) = Q 0 ( x ) D 0 ( x ) ( x 1 ) . It follows that
M S ( x ) = x N 1 Q 0 ( x ) D 0 ( x ) ( x 1 ) ,   L C ( S ) = d e g ( M S ( x ) ) = N + q 2 1 .
In the two cases of (vii), by Lemmas 4–6, the Equation (8) and the choice of α
S ( α k ) = { 1 , k = 0 , 0 , k Z N *   a n d   k   m o d   q D 0 ( q ) , 1 , k Z N *   a n d   k   m o d   q D 1 ( q ) , 1 , k P 0 Q 0 , 0 , k P 1 Q 1 .
Hence, g c d ( x N 1 , S ( x ) ) = P 0 ( x ) Q 0 ( x ) D 0 ( x ) . It follows that
M S ( x ) = x N 1 P 0 ( x ) Q 0 ( x ) D 0 ( x ) , L C ( S ) = d e g ( M S ( x ) ) = N + 1 2 .
In the case of (viii), by Lemmas 4–6, the Equation (8) and the choice of α
S ( α k ) = { 0 , k = 0 , 0 , k Z N *   a n d   k   m o d   q D 0 ( q ) , 1 , k Z N *   a n d   k   m o d   q D 1 ( q ) , 1 , k P 0 Q 0 , 0 , k P 1 Q 1 .
Hence, g c d ( x N 1 , S ( x ) ) = P 0 ( x ) Q 0 ( x ) D 0 ( x ) ( x 1 ) . It follows that
M S ( x ) = x N 1 P 0 ( x ) Q 0 ( x ) D 0 ( x ) ,   L C ( S ) = d e g ( M S ( x ) ) = N 1 2

5. Trace Representation of the New Sequences

Lemma 7.
Let p and q be two odd primes, p ± 1 ( m o d 8 ) and q ± 1 ( m o d 8 ) , n be the order of 2 mod p, and m be the order of 2 mod q. Suppose g is a fixed common primitive root both p and q such that g p 1 n 2 ( m o d   p ) and g q 1 m 2 ( m o d   q ) . Then, there exists a primitive pth root of unity β G F ( 2 n ) and a primitive qth root of unity γ G F ( 2 m ) for any positive integer f such that
i = 0 p 1 2 n 1 t r 1 n ( β q f g 2 i ) = 0 ,   j = 0 q 1 2 m 1 t r 1 m ( γ p f g 2 j ) = 0 .
i = 0 p 1 2 n 1 t r 1 n ( β q f g 2 i t ) = { p 1 2 , i f   t = 0   m o d   p 1 ( t p ) 2 ,   i f   t 0   m o d   p ,   j = 0 q 1 2 m 1 t r 1 m ( γ p f g 2 j t ) = { q 1 2 , i f   t = 0   m o d   q 1 ( t q ) 2 ,   i f   t 0   m o d   q
Proof. 
The proof can be referred to Theorem 2 in [12]. □
Lemma 8.
Let p > 3 and q > 3 be primes, p ± 3 ( m o d 8 ) and q ± 3 ( m o d 8 ) , n be the order of 2 mod p, m be the order of 2 mod q. Suppose g is a fixed common primitive root both p and q such that g p 1 n 2 ( m o d   p ) and g q 1 m 2 ( m o d   q ) . Let 2 n 1 = 3 p x and 2 m 1 = 3 q y for some positive integer x and y. Let α 1 be a primitive element in G F ( 2 n ) , α 2 be a primitive element in G F ( 2 m ) . Then, there exists a primitive pth root of unity β G F ( 2 n ) and a primitive qth root of unity γ G F ( 2 m ) for any positive integer f such that
i = 0 p 1 n 1 t r 1 n ( ( α 1 p x ) 2 i β q f g i ) = 0 ,   j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j β p f g j ) = 0 .
i = 0 p 1 n 1 t r 1 n ( ( α 1 p x ) 2 i β q f g i t ) = { t r 1 n ( α 1 p x ) ,   i f   t = 0   m o d   p 1 ( t p ) 2 ,    i f   t 0   m o d   p
j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ p f g j t ) = { t r 1 m ( α 2 q y ) ,   i f   t = 0   m o d   q 1 ( t q ) 2 ,    i f   t 0   m o d   q
Proof. 
The proof can be referred to Theorem 4 in [12]. □
Theorem 2.
Let p ± 1 ( m o d 8 ) , q ± 1 ( m o d 8 ) , N = p q , 0 t N 1 , then the sequences { S i } can be expressed as
S ( t ) = i = 0 p 1 2 n 1 t r 1 n ( β q g 2 i t ) + j = 0 q 1 2 m 1 t r 1 m ( γ p g 2 j t ) + δ ( t )
(i) 
If p 1 ( m o d 8 ) , q 1 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 2 m 1 t r 1 m ( γ g 2 j t ) , t Z N * { 0 } i = 0 p 1 n 1 t r 1 n ( β q g i t ) , t P Q
(ii) 
If p 1 ( m o d 8 ) , q 1 ( m o d 8 ) , then
δ ( t ) = { 1 + j = 0 q 1 2 m 1 t r 1 m ( γ g 2 j + 1 t ) , t Z N * { 0 } j = 0 q 1 m 1 t r 1 m ( γ p g j t ) , t P Q
(iii) 
If p 1 ( m o d 8 ) , q 1 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 2 m 1 t r 1 m ( γ g 2 j t ) , t Z N * 1 , t P Q 0 , t = 0
Proof. 
(i) Let a ( t ) = i = 0 p 1 2 n 1 t r 1 n ( β q g 2 i t ) , b ( t ) = j = 0 q 1 2 m 1 t r 1 m ( γ p g 2 j t ) .
If t V 0 , then a ( t ) = 0 , b ( t ) = 1 ( t q ) 2 , δ ( t ) = 1 ( t q ) 2 . Hence, S ( t ) = 0 .
If t V 1 , then a ( t ) = 1 , b ( t ) = 1 ( t q ) 2 , δ ( t ) = 1 ( t q ) 2 . Hence, S ( t ) = 1 .
If t P , let t = p k 1 , where 1 k 1 q 1 . So, there exists positive integer u such that t = p g u . Then, a ( t ) = i = 0 p 1 2 n 1 t r 1 n ( 1 ) = 0 , δ ( t ) = i = 0 p 1 n 1 t r 1 n ( 1 ) = 0 , b ( t ) is discussed in the following two cases:
If t P 0 , b ( t ) = 0 ; If t P 1 , b ( t ) = 1 .
Hence, if t P 0 , S ( t ) = 0 and if t P 1 , b ( t ) = 1 .
If t Q , let t = q k 2 , where 1 k 2 p 1 . Thus, there exists a positive integer v such that t = q g v . Then, b ( t ) = j = 0 q 1 2 m 1 t r 1 m ( 1 ) = 1 , δ ( t ) = i = 0 p 1 2 n 1 t r 1 n ( β q 2 g 2 i + β q 2 g 2 i + 1 ) = 1 , a ( t ) is discussed in the following two cases:
If t Q 0 , a ( t ) = 0 ; If t Q 1 , a ( t ) = 1 .
Hence, if t Q 0 , S ( t ) = 0 and if t Q 1 , S ( t ) = 1 .
If t = 0 , then S ( t ) = i = 0 p 1 2 n 1 t r 1 n ( 1 ) + j = 0 q 1 2 m 1 t r 1 m ( 1 ) + j = 0 q 1 2 m 1 t r 1 m ( 1 ) = 0 .
(ii) and (iii) can be proved similarly.
The theorem is proved. □
Theorem 3.
Let p ± 3 ( m o d 8 ) , q ± 3 ( m o d 8 ) , N = p q , 0 t N 1 , then the sequences { S i } can be expressed as
S ( t ) = i = 0 p 1 n 1 t r 1 n ( ( α 1 p x ) 2 i β q g i t ) + j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ p g j t ) + δ ( t )
(i) 
If p 3 ( m o d 8 ) , q 3 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ g j t ) , t Z N * { 0 } j = 0 q 1 m 1 t r 1 m ( γ p g j t ) , t P Q
(ii) 
If p 3 ( m o d 8 ) , q 3 ( m o d 8 ) , then
δ ( t ) = { 1 + j = 0 q 1 m 1 t r 1 m ( ( α 2 2 q y ) 2 j γ g j t ) , t Z N * { 0 } i = 0 p 1 n 1 t r 1 n ( β q g i t ) , t P Q
(iii) 
If p 3 ( m o d 8 ) , q 3 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ g j t ) , t Z N * 1 , t P Q 0 , t = 0
Proof. 
(i) Let a ( t ) = i = 0 p 1 n 1 t r 1 n ( ( α 1 p x ) 2 i β q g i t ) , b ( t ) = j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ p g j t ) .
If t V 0 , then a ( t ) = 0 , b ( t ) = 1 ( t q ) 2 , δ ( t ) = 1 ( t q ) 2 . Hence S ( t ) = 0 .
If t V 1 , then a ( t ) = 1 , b ( t ) = 1 ( t q ) 2 , δ ( t ) = 1 ( t q ) 2 . Hence S ( t ) = 1 .
If t P , let t = p k 1 , where 1 k 1 q 1 . Thus, there exists a positive integer u such that t = p g u . Then, a ( t ) = i = 0 p 1 n 1 t r 1 n ( α 1 p x ) = 1 , δ ( t ) = j = 0 q 1 m 1 t r 1 m ( γ p 2 g j + u ) = 1 , b ( t ) is discussed in the following two cases:
If t P 0 , b ( t ) = 0 ; If t P 1 , b ( t ) = 1 .
Hence, if t P 0 , S ( t ) = 0 and if t P 1 , b ( t ) = 1 .
If t Q , let t = q k 2 , where k k 2 p 1 . Thus, there exists positive integer v such that t = q g v . Then, b ( t ) = j = 0 q 1 m 1 t r 1 m ( α 2 q y ) = 0 , δ ( t ) = j = 0 q 1 m 1 t r 1 m ( 1 ) = 0 , a ( t ) is discussed in the following two cases:
If t Q 0 , a ( t ) = 0 ; If t Q 1 , a ( t ) = 1 .
Hence, if t Q 0 , S ( t ) = 0 and if t Q 1 , S ( t ) = 1 .
If t = 0 , then S ( t ) = i = 0 p 1 2 n 1 t r 1 n ( α 1 p x ) + j = 0 q 1 m 1 t r 1 m ( α 2 q y ) + j = 0 q 1 m 1 t r 1 m ( α 2 q y ) = 0
(ii) and (iii) can be proved similarly.
The theorem is proved. □
Theorem 4.
Let p ± 1 ( m o d 8 ) , q ± 3 ( m o d 8 ) , N = p q , 0 t N 1 , then the sequences { S i } can be expressed as
S ( t ) = i = 0 p 1 2 n 1 t r 1 n ( β q g 2 i t ) + j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ p g j t ) + δ ( t )
(i) 
If p 1 ( m o d 8 ) , q 3 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 2 m 1 t r 1 m ( γ g 2 j t ) , t Z N * { 0 } i = 0 p 1 n 1 t r 1 n ( β q g i t ) , t P Q
(ii) 
If p 1 ( m o d 8 ) , q 3 ( m o d 8 ) , then
δ ( t ) = { 1 + j = 0 q 1 2 m 1 t r 1 m ( γ g 2 j + 1 t ) , t Z N * { 0 } j = 0 q 1 m 1 t r 1 m ( γ p g j t ) , t P Q
(iii) 
If p 1 ( m o d 8 ) , q 3 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 2 m 1 t r 1 m ( γ g 2 j t ) , t Z N * 1 , t P Q 0 , t = 0
Proof. 
The proof can be referred to Theorem 2 and Theorem 3. □
Theorem 5.
Let p ± 3 ( m o d 8 ) , q ± 1 ( m o d 8 ) , N = p q , 0 t N 1 , then the sequences { S i } can be expressed as
S ( t ) = i = 0 p 1 n 1 t r 1 n ( ( α 1 p x ) 2 i β q g i t ) + j = 0 q 1 2 m 1 t r 1 m ( γ p g 2 j t ) + δ ( t )
(i) 
If p 3 ( m o d 8 ) , q 1 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ g j t ) , t Z N * { 0 } j = 0 q 1 m 1 t r 1 m ( γ p g j t ) , t P Q
(ii) 
If p 3 ( m o d 8 ) , q 1 ( m o d 8 ) , then
δ ( t ) = { j = 0 q 1 m 1 t r 1 m ( ( α 2 q y ) 2 j γ g j t ) , t Z N * 1 , t P Q 0 , t = 0
(iii) 
If p 3 ( m o d 8 ) , p 1 ( m o d 8 ) , then
δ ( t ) = { 1 + j = 0 q 1 m 1 t r 1 m ( ( α 2 2 q y ) 2 j γ g j t ) , t Z N * { 0 } i = 0 p 1 n 1 t r 1 n ( β q g i t ) , t P Q
Proof. 
The proof can be referred to Theorem 2 and Theorem 3. □

6. Conclusions

In this paper, we presented the construction of a class of new balanced generalized cyclotomic binary sequences of order two with period pq based on the Ding’s new generalized cyclotomic classes ( V 0 , V 1 ) . The imbalance degree of the new sequences is 1, which conforms to the Golomb’s random principles [3]. We determined the linear complexity and the minimal polynomial of the sequences. The results show that the sequences have good linear complexity to resist the attack of the Berlekamp–Massey algorithm. It is feasible that it serves as key stream in stream ciphers or as pseudo-random sequences in random number generators. By comparison, we can see that the linear complexity of the new sequences approximate to the result in [8], but the similar values are under different conditions with the choices of α . Moreover, the linear complexity of the new sequences in this paper is better than those in [6,19]. We also give the trace representation of the sequences. The next step is to study the autocorrelation of the sequences [20].

Author Contributions

Conceptualization, J.M. and Y.J.; Data curation, X.S.; Funding acquisition, Y.J. and X.S.; Methodology, J.M.; Project administration, Y.J.; Resources, Y.J.; Software, W.Z.; Validation, W.Z., Y.J. and H.J.; Writing—original draft, J.M.; Writing—review & editing, J.M. and Y.J. All authors have read and agreed to the published version of the manuscript.

Funding

This paper was supported by the National Natural Science Foundation of China (61501395), the Natural Science Foundation of Hebei Province (F2020203043), the Research Project for Science and Technology in Higher Education of Hebei (QN2021144) and Science and Technology Research and Development Program of Qinhuangdao (202005A008).

Data Availability Statement

The data used to support the findings of this study are included within the article.

Acknowledgments

The authors would like to thank anonymous referees for helpful suggestions, which greatly improve the presentation quality of this paper.

Conflicts of Interest

The authors declare that they have no conflict of interest.

References

  1. Cusick, T.W.; Ding, C.S.; Renvall, A. Stream Ciphers and Number Theory; Elsevier/North-Holland Mathematical Library: Amsterdam, The Netherlands, 1998. [Google Scholar]
  2. Imamura, K.; Yoshida, W. A simple derivation of the Berlekamp- Massey algorithm and some applications. IEEE Trans. Inf. Theory 1987, 33, 146–150. [Google Scholar] [CrossRef]
  3. Golomb, S.W.; Gong, G. Signal Design for Good Correlation; Cambridge University Press: Cambridge, NY, USA, 2005; pp. 117–119. [Google Scholar]
  4. Whiteman, A.L. A family of difference sets. Ill. J. Math. 1962, 6, 107–121. [Google Scholar] [CrossRef]
  5. Ding, C.S.; Helleseth, T. New generalized cyclotomy and its applications. Finite Fields Appl. 1998, 4, 140–166. [Google Scholar] [CrossRef] [Green Version]
  6. Ding, C.S. Cyclotomic constructions of cyclic codes with length being the product of two primes. IEEE Trans. Inf. Theory 2012, 58, 2231–2236. [Google Scholar] [CrossRef] [Green Version]
  7. Liu, H.N.; Chen, X.L. Autocorrelation Values and Linear Complexity of New Generalized Cyclotomic sequences. Acta Math. Sin. 2019, 3, 233–246. [Google Scholar]
  8. Chen, Z.X.; Liu, H.N.; Yang, Y. Trace Representation of New Generalized Cyclotomic Sequences Based on RSA Moduli. Acta Electron. Sin. 2019, 47, 1512–1517. [Google Scholar]
  9. Li, S.Q.; Xiao, G.Z. Study on a Class of Whiteman Generalized Cyclotomic Sequence with Length pq and Order Two. J. Electron. Inf. Technol. 2009, 31, 2205–2208. [Google Scholar]
  10. Bai, E.J.; Liu, X.J.; Xiao, G.Z. Linear complexity of new generalized cyclotomic sequences of order of length pq. IEEE Trans. Inf. Theory 2005, 51, 1849–1853. [Google Scholar] [CrossRef]
  11. Du, X.; Yan, T.; Xiao, G. Trace representation of some generalized cyclotomic sequences of length pq. Inf. Sci. 2008, 178, 3307–3316. [Google Scholar] [CrossRef]
  12. Kim, J.H.; Song, H.Y. Trace Representation of Legendre Sequences. Des. Codes Cryptogr. 2001, 24, 343–348. [Google Scholar] [CrossRef]
  13. Qi, M.; Xiong, S.; Yuan, J.; Rao, W.; Zhong, L. A Simpler Trace Representation of Legendre Sequences. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2015, 98, 1026–1031. [Google Scholar] [CrossRef]
  14. Lv, C.; Yan, T.; Xiao, G. Multi-Rate Representation of Generalized Cyclotomic Sequences of Any Odd Period. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2015, 98, 2301–2306. [Google Scholar] [CrossRef] [Green Version]
  15. Chen, Z.X.; Li, S.Q. Some Notes on Generalized Cyclotomic Sequences of Length pq. J. Exp. Algorithmics 2008, 23, 843–850. [Google Scholar] [CrossRef]
  16. Ding, C.S.; Pei, D.; Salomaa, A. Chinese Remainder Theorem. Applications in Computing, Coding, Cryptography; World Scientific: Singapore, 1996. [Google Scholar]
  17. Ding, C.; Hesseseth, T.; Shan, W. On linear complexity of Legendre sequences. IEEE Trans. Inf. Theory 1998, 44, 1276–1278. [Google Scholar] [CrossRef] [Green Version]
  18. Wang, Q.; Lin, D.; Guang, X. On the Linear Complexity of Legendre Sequences over Fq. IEICE Trans. Fundam. 2014, 97, 1627–1630. [Google Scholar] [CrossRef]
  19. Bo, Y.A.; Du, T.Q.; Xiao, Z.B. Linear Complexity of Generalized Cyclotomic Binary Sequences of Period pq. Acta Math. Sin. 2020, 40, 16–25. [Google Scholar]
  20. Korobeinikov, A.V. Fast algorithm for calculating autocorrelation function in code synthesis tasks by enumerative technique. Issues Radio Electron. 2021, 1, 13–18. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ma, J.; Zhao, W.; Jia, Y.; Shen, X.; Jiang, H. Linear Complexity and Trace Representation of New Ding Generalized Cyclotomic Sequences with Period pq and Order Two. Mathematics 2021, 9, 2285. https://doi.org/10.3390/math9182285

AMA Style

Ma J, Zhao W, Jia Y, Shen X, Jiang H. Linear Complexity and Trace Representation of New Ding Generalized Cyclotomic Sequences with Period pq and Order Two. Mathematics. 2021; 9(18):2285. https://doi.org/10.3390/math9182285

Chicago/Turabian Style

Ma, Jiang, Wei Zhao, Yanguo Jia, Xiumin Shen, and Haiyang Jiang. 2021. "Linear Complexity and Trace Representation of New Ding Generalized Cyclotomic Sequences with Period pq and Order Two" Mathematics 9, no. 18: 2285. https://doi.org/10.3390/math9182285

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