Families of sequences with good family complexity and cross-correlation measure
Abstract
In this paper we study pseudorandomness of a family of sequences in terms of two measures, the family complexity (-complexity) and the cross-correlation measure of order . We consider sequences not only on binary alphabet but also on -symbols (-ary) alphabet. We first generalize some known methods on construction of the family of binary pseudorandom sequences. We prove a bound on the -complexity of a large family of binary sequences of Legendre-symbols of certain irreducible polynomials. We show that this family as well as its dual family have both a large family complexity and a small cross-correlation measure up to a rather large order. Next, we present another family of binary sequences having high -complexity and low cross-correlation measure. Then we extend the results to the family of sequences on -symbols alphabet.
Index Terms:
pseudorandomness, binary sequences, family complexity, cross-correlation measure, Legendre sequence, polynomials over finite fields, -symbols sequences.I Introduction
Pseudorandom sequence is a sequence of numbers generated deterministically and looks random. It is called binary (-ary or -symbol) sequence if its elements are in {-1,+1} (resp. for some numbers ). Pseudorandom sequences have a lot of application areas such as telecommunication, cryptography, simulation see for example [8, 12, 34, 39]. According to its application area, the quality of a pseudorandom sequence is evaluated in many directions. There are statistical test packages (for example L’Ecuyer’s TESTU01 [19], Marsaglia’s Diehard [25] or the NIST battery [35]) for evaluating the quality of a pseudorandom sequence. In addition to that, there are proven theoretical results on some randomness measures that a pseudorandom sequence needs to satisfy. For instance, linear complexity, (auto)correlation, discrepancy, well-distribution and others, see [16, 39] and references therein. In some cases one needs many pseudorandom binary sequences, for instance in cryptographic applications. Therefore, their randomness has to be proven by several figures of merit, e.g. family complexity, cross-correlation, collision, distance minimum, avalanche effect and others, see [37] and references therein. The typical values of some randomness measures of a truly random sequence are proven in [3, 5, 32]. Sequences satisfying typical values are so called good sequences.
After Mauduit and Sárközy [27] introduced a construction method of good binary sequences by using Legendre symbol, other construction methods have been given in the literature [6, 7, 21]. In 2004, Goubin, Mauduit and Sárközy [14] first constructed large families of pseudorandom binary sequences. Later, many new constructions [10, 15, 20, 26, 29, 30] and their complexity bounds [31, 33, 36] were developed, see [37] for others.
These pseudorandom measures defined for binary sequences have been extended to sequences of -symbols [11, 28, 40] and some constructions of good -symbols sequences were given in [2, 9, 13, 22, 24].
Huaning Liu and Xi Liu [23] constructed new family of binary sequences has both small cross-correlation measure and large family complexity.
In this paper we study two such measures the family complexity (in short -complexity) and the cross-correlation measure of order of families of binary and -ary sequences.
Ahlswede et al. [1] introduced the -complexity as follows.
Definition 1.
The -complexity of a family of binary sequences of length is the greatest integer such that for any and any there is a sequence with
We have the trivial upper bound
(1) |
where denotes the size of the family .
Gyarmati et al. [17] introduced the cross-correlation measure of order .
Definition 2.
The cross-correlation measure of order of a family of binary sequences , , is defined as
where denotes an tuple of integers such that and if for , and denotes an tuple .
For a family of binary sequences of length with , the expected value of the cross-correlation measure of order is , see [32].
We use the notation for the cross correlation evaluated for fixed and for all .
Winterhof and the author in [43] proved the estimation of the -complexity of a family of binary sequences
in terms of the cross-correlation measure of the dual family of binary sequences
as follows
(2) |
In Section II we generalize the construction of the family of binary pseudorandom sequences presented in [43]. We prove a bound on the -complexity of the family of binary sequences of Legendre-symbols of irreducible polynomials defined as
We show that this family as well as its dual family have both a large family complexity and a small cross-correlation measure up to a rather large order.
In Section III we study another family of binary sequences
for a positive integer . We prove that has high -complexity and low cross-correlation measure by using (2). We note that the roots of an irreducible polynomial are called to be conjugate to each other.
In Section IV we extend the relation (2) to the family of sequences on -symbols alphabet. Finally, we show in Section V that extension of the family to -symbols alphabet has also high -complexity and low cross-correlation measure.
Throughout the paper, the notations and are equivalent to the statement that holds with some positive constant . Moreover, the notation is equivalent to
II A family and its dual with bounded cross-correlation and family complexity measures
In this section we present an extension of the family of sequences given in [43], where a family of sequences of Legendre symbols with irreducible quadratic polynomials and its dual family were given. It was shown that both families have high family complexity and small cross-correlation measure up to a large order . Namely, for a prime and a quadratic nonresidue modulo they study the following family and its dual family :
and they show
(3) |
for each integer Then (2) immediately implies
We now present an extension of this result to higher degree polynomials over prime finite fields. Note that for these families we also get analog bounds for their duals.
Let be a prime number, and be a set of irreducible polynomials over of degree defined as
Theorem 1.
Let be a family of binary sequences for some defined as
where for and . Let be the dual of . Then we have
for each integer and
Proof Since otherwise the crosscorrelation values, bounded by the length of the sequences, become greater than ; we may assume . We note that is an homogeneous polynomial of degree . Thus it is enough to choose an irreducible polynomial
such that . It is clear that each is irreducible for whenever is irreducible.
According to Definition 2 we need to estimate
We will first show that
is a monic square-free polynomial and then apply Weil’s Theorem, see [18, 38, 42]. Since each is an irreducible polynomial it is enough to show that they are distinct from each other. Assume that for some . Then by comparing the coefficients of the term we have since . Hence we have the equality . But then by comparing the coefficients of the terms and we have
Since and are non zero we have
This implies that , a contradiction. Therefore is a square-free polynomial. Since the degree of is then the following holds
Similarly we can show that
for . Next we use (2) to get the bounds on the family complexity.
(11) |
Example 1.
Let and . The polynomial is in the set . The irreducible polynomials generated by for are
, , , , , , , , , .
The sequences generated by the polynomials above are , , , , ,
, , , ,
This sequence family does not have the complexity 3, since the tuples , , , , , , , in the vector space are not in the all possible 3 tuples of the sequence family.
For example, the first three bits of sequence family are . However, this multi list does not contain all the vectors in .
On the other hand, the complexity-2 is satisfied.
The cross-correlation measure of order 5 of the family gets the maximum value 10 with M=10, I=[2,6,7,8,10] and D=[0,0,0,0,0].
The dual family gets the cross-correlation measure 9 of order 5 with I=[3,4,6,9,10] and D=[0,0,0,1,1]. The complexity of the dual family is 1.
We note that each two sequences in (resp. ) given in Theorem 1 are distinct as (resp. ). Hence, we have the family size for the family. In the next result, we give an upper bound on the number of distinct families. This result is a direct consequence from the paper [4]. Before that we will give some notation. Let be curves over for . Let denote the number of points on and define . Let denote the Möbius function and denote its truth value, i.e., if , and otherwise.
Corollary 1.
where
III A large family of sequences with low cross correlation and high family complexity
Now we construct a larger family with both small cross-correlation measure and high -complexity. However, for these families of sequences we cannot say anything about their duals.
Theorem 2.
Let be a prime number, and . Let be the set defined as
Let a family of binary sequences be defined as
Then,
(12) |
The family size equals
for .
Proof It is clear by the Weil bound that each irreducible polynomial generates a distinct sequence in . Yucas [44] proved that number of irreducible polynomials over of degree with and trace zero equals
By doing calculations
With smallest p=3, we see that
Hence,
and we have proved the size of family.
Next, we prove the bound on family complexity by using (2) with instead . Because estimating is easier in this case. In order to calculate we need to estimate
Note that if and only if for some with and for any . Hence we rewrite as
(15) |
where is the norm function from to . We note that is the quadratic character of and the number of elements and but is at most
Thus we can estimate as follows:
(20) |
The last inequality follows by Weil’s Theorem [41]. By (1) and since we get . Therefore by using (2) we have
(31) |
Example 2.
Let and .
. This family consists of 2640 irreducible polynomials. The f-complexity of this family is 8. The cross-correlation measure of order 5 of the family gets the maximum value 10 with M=10, I=[2573, 244, 2118, 1629, 740] and D=[0,0,0,0,0].
IV Sequences on -symbols alphabet
In [28] the correlation measure of a sequence consisting of symbols is defined. We similarly extend the definition of cross-correlation measure for a family of sequences consisting of -symbols in the following.
Definition 3.
The cross-correlation measure of order of a family of sequences , , is defined as
for
where , denotes an tuple of integers such that and if for , and denotes an tuple .
The definition of -complexity C() for a family of binary sequences can be directly generalized to a family of sequences consisting of -symbols.
Definition 4.
The -complexity of a family of -symbol sequences of length is the greatest integer such that for any and any there is a sequence with
Now we prove the following extension of (2).
Theorem 3.
Let be a family of sequences for and its dual family of binary sequences for . Then we have
(32) |
and
(33) |
where denotes the base logarithm.
Proof Assume that for an integer a specification
(34) |
for occurs in the family for some . Let denotes the number of sequences in satisfying (34). By the definition of cross-correlation we have
(38) |
Hence, we obtain that
If then there exists at least one sequence in satisfying (34). Therefore for all integers satisfying
we have which completes the proof of (32). And, the proof of (33) is done similarly.
V A large family of -symbols sequences with low cross correlation and high family complexity
In this section we extend the family of binary sequences that we have presented in Section III to the -symbols alphabet. We prove the following generalization of Theorem 2. Its proof is similar to proof of Theorem 2, see also [27, Theorem 3].
Theorem 4.
Let and be distinct prime numbers and be a positive integer such that
Let be an irreducible polynomial of degree over the finite field such that
for an element . Let a family of -ary sequences be defined as
for some character of order . Then we have
(39) |
for each integer and
(40) |
The family size equals
Proof Let be a -th root of unity and denote
Then we have
Now we estimate as follows.
(47) |
Now consider the polynomial
We will show that it is not a -th power of a polynomial over . As for , we can write as follows
for some and for all . Then, the linear terms are distinct to each other. So it is enough to show that the power of each component is not divisible by . And this holds as we have and .
By applying Weil Theorem to the inner character sum we obtain
and by substituting this into Definition 3 we complete the proof of (39).
Next we prove the bound (40). Before this we note that family size equals the number of irreducible polynomials of degree over having zero trace since they all produce a distinct sequence in . Note that there are distinct elements in having zero trace, and of them combines into an irreducible polynomial over . So we have
(48) |
Now we estimate
(51) |
Similar to the proof of (39) we have
(55) |
Since and , the polynomial inside the character sum is not a -th power. Thus by Weil Theorem we have
and so by Definition 3 we have
(56) |
Therefore by using (48) and (56) we obtain that
as desired.
VI Conclusion
Pseudorandom sequences are used in many practical areas and their quality is decided by statistical test packages as well as by proved results on certain measures. In addition to that, a large family of good pseudorandom sequences in terms of several directions is required in some applications. In this paper we studied two such measures the -complexity, and the cross-correlation measure of order for family of sequences on binary and -symbols alphabet. We considered two families of binary sequences of Legendre-symbols
for irreducible polynomials and
for a positive integer . We show that the families and have both a large family complexity and a small cross-correlation measure up to a rather large order. Then we proved the analog results for the family of sequences on -symbols alphabet, and constructed a good family of -symbols sequences.
Acknowledgment
This study was initiated in 2020 and supported by the Scientific and Technological Research Council of Turkey (TÜBİTAK) under Project No: 116R026. The study has been updated in 2022 and since then Oğuz Yayla has been supported by Middle East Technical University - Scientific Research Projects Coordination Unit under grant number 10795.
References
- [1] R. Ahlswede, L. H. Khachatrian, C. Mauduit, and A. Sárközy, “A complexity measure for families of binary sequences,” Period. Math. Hungar., vol. 46, no. 2, pp. 107–118, 2003.
- [2] R. Ahlswede, C. Mauduit, and A. Sárközy, “Large families of pseudorandom sequences of k-symbols and their complexity, I – II,” in General theory of information transfer and combinatorics. Springer, 2006, pp. 293–307 and 308–325.
- [3] N. Alon, Y. Kohayakawa, C. Mauduit, C. G. Moreira, and V. Rödl, “Measures of pseudorandomness for finite sequences: typical values,” Proceedings of the London Mathematical Society, vol. 95, no. 3, pp. 778–812, 2007.
- [4] Y. Çakıroğlu, O. Yayla, and E. S. Yılmaz, “The number of irreducible polynomials over finite fields with vanishing trace and reciprocal trace,” Designs, Codes and Cryptography, pp. 1–11, 2022.
- [5] J. Cassaigne, C. Mauduit, and A. Sarkozy, “On finite pseudorandom binary sequences VII: The measures of pseudorandomness,” Acta Aritmetica-Warszawa, vol. 103, no. 2, pp. 97–118, 2002.
- [6] Z. Chen, “Elliptic curve analogue of Legendre sequences,” Monatshefte für Mathematik, vol. 154, no. 1, pp. 1–10, 2008.
- [7] Z. Chen, A. Ostafe, and A. Winterhof, “Structure of pseudorandom numbers derived from Fermat quotients,” in International Workshop on the Arithmetic of Finite Fields. Springer, 2010, pp. 73–85.
- [8] J. Dick and F. Pillichshammer, Digital nets and sequences: discrepancy theory and quasi–Monte Carlo integration. Cambridge University Press, 2010.
- [9] X. Du and Z. Lin, “On pseudorandom sequences of k-symbols constructed using finite fields,” Applicable Algebra in Engineering, Communication and Computing, vol. 25, no. 4, pp. 265–285, 2014.
- [10] J. Folláth, “Construction of pseudorandom binary sequences using additive characters over GF(),” Periodica Mathematica Hungarica, vol. 57, no. 1, pp. 73–81, 2008.
- [11] B. Gergely, “On finite pseudorandom sequences of k-symbols,” Periodica Mathematica Hungarica, vol. 47, no. 1-2, pp. 29–44, 2003.
- [12] S. W. Golomb and G. Gong, Signal design for good correlation. Cambridge University Press, Cambridge, 2005.
- [13] D. Gomez and A. Winterhof, “Multiplicative character sums of Fermat quotients and pseudorandom sequences,” Periodica Mathematica Hungarica, vol. 64, no. 2, pp. 161–168, 2012.
- [14] L. Goubin, C. Mauduit, and A. Sárközy, “Construction of large families of pseudorandom binary sequences,” J. Number Theory, vol. 106, no. 1, pp. 56–69, 2004.
- [15] K. Gyarmati, “On a family of pseudorandom binary sequences,” Period. Math. Hungar., vol. 49, no. 2, pp. 45–63, 2004.
- [16] ——, “Measures of pseudorandomness,” in in Pascale Charpin, Alexander Pott, and Arne Winterhof (eds.), Finite Fields and Their Applications: Character sums and polynomials, ser. Radon Ser. Comput. Appl. Math. Walter de Gruyter, Berlin, 2013, vol. 11, pp. 43–64.
- [17] K. Gyarmati, C. Mauduit, and A. Sárközy, “The cross-correlation measure for families of binary sequences,” in Applied algebra and number theory. Cambridge Univ. Press, Cambridge, 2014, pp. 126–143.
- [18] H. Iwaniec and E. Kowalski, Analytic number theory, ser. American Mathematical Society Colloquium Publications. American Mathematical Society, Providence, RI, 2004, vol. 53.
- [19] P. L’Ecuyer and R. Simard, “Testu01: AC library for empirical testing of random number generators,” ACM Transactions on Mathematical Software (TOMS), vol. 33, no. 4, pp. 1–40, 2007.
- [20] H. Liu, “A family of pseudorandom binary sequences constructed by the multiplicative inverse,” Acta Arithmetica, vol. 2, no. 130, pp. 167–180, 2007.
- [21] ——, “New pseudorandom sequences constructed by quadratic residues and Lehmer numbers,” Proceedings of the American Mathematical Society, pp. 1309–1318, 2007.
- [22] H. Liu and B. Gao, “A large family of pseudorandom sequences of symbols with length ,” Acta Arithmetica, vol. 181, pp. 1–26, 2017.
- [23] H. Liu and X. Liu, “Binary sequence family with both small cross-correlation and large family complexity,” Finite Fields and Their Applications, vol. 97, 2024.
- [24] K.-H. Mak, “More constructions of pseudorandom sequences of k symbols,” Finite fields and their applications, vol. 25, pp. 222–233, 2014.
- [25] G. Marsaglia, “Diehard: a battery of tests of randomness,” http://stat. fsu. edu/geo, 1996.
- [26] C. Mauduit, J. Rivat, and A. Sárközy, “Construction of pseudorandom binary sequences using additive characters,” Monatshefte für Mathematik, vol. 141, no. 3, pp. 197–208, 2004.
- [27] C. Mauduit and A. Sárközy, “On finite pseudorandom binary sequences. I. Measure of pseudorandomness, the Legendre symbol,” Acta Arith., vol. 82, no. 4, pp. 365–377, 1997.
- [28] ——, “On finite pseudorandom sequences of k symbols,” Indagationes Mathematicae, vol. 13, no. 1, pp. 89–101, 2002.
- [29] ——, “Construction of pseudorandom binary sequences by using the multiplicative inverse,” Acta Mathematica Hungarica, vol. 108, no. 3, pp. 239–252, 2005.
- [30] L. Mérai, “Construction of pseudorandom binary sequences over elliptic curves using multiplicative characters,” Publ. Math. Debrecen, vol. 80, no. 1-2, pp. 199–213, 2012.
- [31] ——, “The cross-correlation measure of families of finite binary sequences: limiting distributions and minimal values,” Discrete Applied Mathematics, vol. 214, pp. 153–168, 2016.
- [32] ——, “On the typical values of the cross-correlation measure,” Monatshefte für Mathematik, vol. 180, no. 1, pp. 83–99, 2016.
- [33] L. Mérai and O. Yayla, “Improving results on the pseudorandomness of sequences generated via the additive order of a finite field,” Discrete Mathematics, vol. 338, no. 11, pp. 2020–2025, 2015.
- [34] H. Niederreiter and A. Winterhof, Applied Number Theory. Springer, Cham, 2015.
- [35] A. Rukhin, J. Soto, J. Nechvatal, M. Smid, and E. Barker, “A statistical test suite for random and pseudorandom number generators for cryptographic applications,” DTIC Document, Tech. Rep., 2001.
- [36] A. Sárközy and A. Winterhof, “Measures of pseudorandomness for binary sequences constructed using finite fields,” Discrete mathematics, vol. 309, no. 6, pp. 1327–1333, 2009.
- [37] A. Sárközy, “On pseudorandomness of families of binary sequences,” Discrete Applied Mathematics, vol. 216, pp. 670–676, 2017.
- [38] A. Tietäväinen, “Vinogradov’s method and some applications,” in Number theory and its applications (Ankara, 1996), ser. Lecture Notes in Pure and Appl. Math. Dekker, New York, 1999, vol. 204, pp. 261–282.
- [39] A. Topuzoğlu and A. Winterhof, “Pseudorandom sequences,” in Topics in geometry, coding theory and cryptography, ser. Algebr. Appl. Springer, Dordrecht, 2007, vol. 6, pp. 135–166.
- [40] V. Tóth, “Extension of the notion of collision and avalanche effect to sequences of k symbols,” Periodica Mathematica Hungarica, vol. 65, no. 2, pp. 229–238, 2012.
- [41] A. Weil, “On some exponential sums,” Proc. Nat. Acad. Sci. U. S. A., vol. 34, pp. 204–207, 1948.
- [42] A. Winterhof, “Some estimates for character sums and applications,” Des. Codes Cryptogr., vol. 22, no. 2, pp. 123–131, 2001.
- [43] A. Winterhof and O. Yayla, “Family complexity and cross-correlation measure for families of binary sequences,” The Ramanujan Journal, vol. 39, no. 3, pp. 639–645, 2016.
- [44] J. L. Yucas, “Irreducible polynomials over finite fields with prescribed trace/prescribed constant term,” Finite Fields Appl., vol. 12, no. 2, pp. 211–221, 2006.