Abstract
In this paper, the autocorrelations of l-sequences with prime connection integer are discussed. Let \(\underline{a}\) be an l-sequence with connection integer p and period T = p − 1, we show that the autocorrelation \(C_{\underline{a}}(\tau )\) of \(\underline{a}\) with shift τ satisfies:
Thus by calculating this triangular sum, an estimate of \(C_{\underline{a} }(\tau )\) can be obtained. Particularly, for any shift τ with \( 2^{-\tau }(\mbox{mod}\ p)=(p-3)/2\) or \( (p+3)/2\), the autocorrelation \(C_{ \underline{a}}(\tau )\) of \(\underline{a}\) with shift τ satisfies \(C_{ \underline{a}}(\tau )=O(\ln ^{2}p)\), thus when p is sufficiently large, the autocorrelation is low. Such result also holds for the decimations of l-sequences.
Similar content being viewed by others
References
Arnault, F., Berger, T.P.: Design and properties of a new pseudorandom generator based on a filtered FCSR automaton. IEEE Trans. Comput. 54(11), 1374–1383 (2005)
Arnault, F., Berger, T.P.: F-FCSR, design of a new class of stream ciphers. In: Fast Software Encryption. LNCS 3557, pp. 83–97. Springer, New York (2005)
Arnault, F., Berger, T.P., Lauradoux, C.: Update on F-FCSR stream cipher. ECRYPT Stream Cipher Project Report 2006/025. http://www.ecrypt.eu.org/stream (2006)
Couture, R., L’Ecuyer, P.: On the lattice structure of certain linear congruential sequences related to AWC/SWB generators. Math. Comput. 62, 799–808 (1994)
Golomb, S.W.: Shift Register Sequences. Holden-Day, San Francisco (1967) (reprinted by Aegean Park Press, 1982)
Goresky, M., Klapper, A.: Arithmetic crosscorrelations of feedback with carry shift register sequences. IEEE Trans. Inf. Theory 43(7), 1342–1345 (1997)
Goresky, M., Klapper, A.: Periodicity and distribution properties of combined FCSR sequences. In: Sequnces and their Applications—SETA. LNCS 4086, pp. 334–341. Springer, New York (2006)
Klapper, A., Goresky, M.: 2-adic shift registers. In: Fast Software Encryption. LNCS 809, pp. 174–178. Springer, Berlin (1994)
Klapper, A., Goresky, M.: Large period nearly deBrujin FCSR sequences. In: Advances in Cryptology—Eurocrypt 1995. LNCS 921, pp. 263–273. Springer, New York (1995)
Klapper, A., Goresky, M.: Feedback shift registers, 2-adic span, and combiners with memory. J. Cryptol. 10, 111–147 (1997)
Lidl, R., Niedereiter, H.: Finite Field. Addison-Wesley, Toronto (1983)
Marsaglia, G., Zaman, A.: A new class of random number generators. Ann. Appl. Probab. 1(3), 462–480 (1991)
Xu, H., Qi, W.-F.: Autocorrelations of maximum period FCSR sequences. SIAM J. Discrete Math. 20(3), 568–577 (2006)
Acknowledgements
The authors are grateful to the editor and the referees for their valuable comments and suggestions. We would like to especially thank the second referee for pointing out that the four values of τ given in the example of the previous manuscript correspond to \(\tau \in \left\{ -1,1, \frac{T}{2}-1,\frac{T}{2}+1\right\} \), where \(C_{\underline{a}}(\tau )\) take values − 2,0 and 2, and in that case our estimate is trivial. Following the referee’s advice, a more proper example is presented in this new revision.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was supported by the NSF of China under grant 60673081 and the 863 Project of China under grant 2006AA01Z417.
Appendix
Appendix
The proof of Lemma 3 is presented in this Appendix.
Before giving the proof, we first show some necessary lemmas.
Lemma 4
For any real x , if \(0<x<\frac{\pi }{2}\) , then
Proof
The result follows from \(\cos x=\sin \left( \frac{\pi }{2}-x\right) \) and \( \frac{\pi }{2}\sin x>x\) for \(0<x<\frac{\pi }{2}\). □
Lemma 5
For any real x , if \(0<x<\frac{\pi }{6}\) , then
and if \(0<x<\frac{\pi }{3}\) , then
Proof
It is clear that \(0<\cos \left( \frac{\pi }{3}+x\right) <\frac{1}{2}\) for \( 0<x<\frac{\pi }{6}\), and \(\frac{1}{2}<\cos \left( \frac{\pi }{3}-x\right) <1\) for \(0<x<\frac{\pi }{3}\). Next we need only to show \(\cos \left( \frac{\pi }{ 3}+x\right) <\frac{1-\sqrt[2]{3}x}{2}\) for \(0<x<\frac{\pi }{6}\), and \(\cos \left( \frac{\pi }{3}-x\right) >\frac{1}{2}+\frac{\sqrt[2]{3}x}{4}\) for \(0<x< \frac{\pi }{3}\).
Since \(\cos x\!=\!\frac{1}{2}\!-\!\frac{\sqrt[2]{3}}{2}\left( x\!-\!\frac{\pi }{3} \right) \!-\!\frac{1}{2}\cdot \frac{\left( x\!-\!\frac{\pi }{3}\right) ^{2}}{2!}\!+\! \frac{\sqrt[2]{3}}{2}\!\cdot\! \frac{\left( x-\frac{\pi }{3}\right) ^{3}}{3!}+ \frac{1}{2}\!\cdot\! \frac{\left( x-\frac{\pi }{3}\right) ^{4}}{4!}-\frac{\sqrt[2 ]{3}}{2}\!\cdot\! \frac{\left( x-\frac{\pi }{3}\right) ^{5}}{5!}-...\), if \(0<x< \frac{\pi }{6}\), then we have
and if \(0<x<\frac{\pi }{3}\), then we have
□
Lemma 6
For any real x , if \(0<x<\frac{\pi }{3}\) , then
if \(\frac{\pi }{3}<x<\frac{\pi }{2}\) , then
if \(\frac{\pi }{2}<x<\frac{2\pi }{3}\) , then
and if \(\frac{2\pi }{3}<x<\pi \) , then
Proof
-
(1)
If \(0<x<\frac{\pi }{3}\), then from Lemma 5 we know that \( 1{\kern-1pt} >{\kern-1pt}\cos x{\kern-1pt}={\kern-1pt}\cos \left( \frac{\pi }{3}-\left( \frac{\pi }{3}-x\right) \right)>\) \( \frac{1}{2}+\frac{\sqrt[2]{3}}{4}\left( \frac{\pi }{3}-x\right) >\frac{1}{2}\) , thus we have
$$ \left\{ \begin{array}{c} \frac{1}{2}<\frac{1}{2}+\frac{\sqrt[2]{3}}{4}\left( \frac{\pi }{3}-x\right) <\cos x<1 \\[5pt] \frac{\sqrt[2]{3}}{2}\left( \frac{\pi }{3}-x\right) <2\cos x-1<1 \\ 2<2\cos x+1<3 \end{array} \right. . $$Hence
$$ \left\{ \begin{array}{c} \frac{\sqrt[2]{3}}{4}\left( \frac{\pi }{3}-x\right) <\cos x(2\cos x-1)<1 \\[5pt] 1<\cos x(2\cos x+1)<3 \end{array} \right. , $$that is,
$$ \left\{ \begin{array}{c} 1<\frac{1}{\cos x(2\cos x-1)}<\frac{4\sqrt[2]{3}}{3\left( \frac{\pi }{3} -x\right) } \\[5pt] \frac{1}{3}<\frac{1}{\cos x(2\cos x+1)}<1 \end{array} \right. . $$ -
(2)
If \(\frac{\pi }{3}<x<\frac{\pi }{2}\), then from Lemma 4 and 5 we have
$$ \cos x>\frac{2}{\pi }\left( \frac{\pi }{2}-x\right) >0 $$and
$$ \cos x=\cos \left( \frac{\pi }{3}+\left( x-\frac{\pi }{3}\right) \right) < \frac{1}{2}-\frac{\sqrt[2]{3}}{2}\left( x-\frac{\pi }{3}\right) <\frac{1}{2}. $$Thus we have
$$ \left\{ \begin{array}{c} 0<\frac{2}{\pi }\left( \frac{\pi }{2}-x\right) <\cos x<\frac{1}{2}-\frac{ \sqrt[2]{3}}{2}\left( x-\frac{\pi }{3}\right) <\frac{1}{2} \\[5pt] -1<2\cos x-1<-\sqrt[2]{3}\left( x-\frac{\pi }{3}\right) \\[5pt] 1<2\cos x+1<2 \end{array} \right. . $$Hence
$$ \left\{ \begin{array}{c} -\frac{\sqrt[2]{3}\pi }{6\left( x-\frac{\pi }{3}\right) \left( \frac{\pi }{2} -x\right) }<\frac{1}{\cos x(2\cos x-1)}<-2 \\[5pt] 1<\frac{1}{\cos x(2\cos x+1)}<\frac{\pi }{2\left( \frac{\pi }{2}-x\right) } \end{array} \right. . $$ -
(3)
If \(\frac{\pi }{2}<x<\frac{2\pi }{3}\), then \(\frac{\pi }{3}<\pi -x<\frac{ \pi }{2}\). By Lemma 4 and 5 we have
$$ -\cos x=\cos (\pi -x)>\frac{2}{\pi }\left( \frac{\pi }{2}-(\pi -x)\right) = \frac{2}{\pi }\left( x-\frac{\pi }{2}\right) >0, $$and
$$ -\cos x=\cos (\pi -x)=\cos \left( \frac{\pi }{3}+\left( \frac{2\pi }{3} -x\right) \right) <\frac{1}{2}-\frac{\sqrt[2]{3}}{2}\left( \frac{2\pi }{3} -x\right) <\frac{1}{2}. $$Thus
$$ \left\{ \begin{array}{c} -\frac{1}{2}<-\frac{1}{2}+\frac{\sqrt[2]{3}}{2}\left( \frac{2\pi }{3} -x\right) <\cos x<-\frac{2}{\pi }\left( x-\frac{\pi }{2}\right) <0 \\[5pt] -2<2\cos x-1<-1 \\ \sqrt[2]{3}\left( \frac{2\pi }{3}-x\right) <2\cos x+1<1 \end{array} \right. . $$Hence
$$ \left\{ \begin{array}{c} 1<\frac{1}{\cos x(2\cos x-1)}<\frac{\pi }{2\left( x-\frac{\pi }{2}\right) } \\[5pt] -\frac{\sqrt[2]{3}\pi }{6\left( x-\frac{\pi }{2}\right) \left( \frac{2\pi }{3 }-x\right) }<\frac{1}{\cos x(2\cos x+1)}<-2 \end{array} \right. . $$ -
(4)
If \(\frac{2\pi }{3}<x<\pi \), then \(0<\pi -x<\frac{\pi }{3}\). By Lemma 5 we have
$$ 1>-\cos x=\cos (\pi -x)=\cos \left( \frac{\pi }{3}-\left( x-\frac{2\pi }{3} \right) \right) >\frac{1}{2}+\frac{\sqrt[2]{3}}{4}\left( x-\frac{2\pi }{3} \right) >\frac{1}{2}. $$Thus
$$ \left\{ \begin{array}{c} -1<\cos x<-\frac{1}{2}-\frac{\sqrt[2]{3}}{4}\left( x-\frac{2\pi }{3}\right) <-\frac{1}{2} \\[5pt] -3<2\cos x-1<-2 \\[5pt] -1<2\cos x+1<-\frac{\sqrt[2]{3}}{2}\left( x-\frac{2\pi }{3}\right) \end{array} \right. . $$Hence
$$ \left\{ \begin{array}{c} \frac{1}{3}<\frac{1}{\cos x(2\cos x-1)}<1 \\[5pt] 1<\frac{1}{\cos x(2\cos x+1)}<\frac{4\sqrt[2]{3}}{3\left( x-\frac{2\pi }{3} \right) } \end{array} \right. . $$
□
Lemma 7
Let k,l be any positive integers. If 0 < a < k < l < b, then
and
Proof
The first result follows from
and the second result follows from
□
Lemma 8
Let k,l be any positive integers, and b > a > 0 be any real numbers. If a < k < l < (a + b)/2, then
and if (a + b)/2 < k < l < b, then
Proof
Since \(\frac{1}{(x-a)(b-x)}\) is monotonically decrease when a < x < (a + b)/2, and monotonically increase when (a + b)/2 < x < b, the result follows from
and
□
Proof
(Proof of Lemma 3) It’s clear that S(p − γ) = − S(γ), i.e. |S(p − γ)| = |S(γ)|. So we need only to show the case γ = (p + 3)/2. In this case, we have
On the other hand, it can be shown that \(\tan \left( \frac{3\pi c}{2p} \right) \tan \left( \frac{\pi c}{p}\right) =-1+\frac{1}{\cos \left( \frac{ \pi c}{p}\right) \left( 2\cos \left( \frac{\pi c}{p}\right) -1\right) }\), and \(\cot \left( \frac{3\pi c}{2p}\right) \tan \left( \frac{\pi c}{p}\right) =1+\frac{1}{\cos \left( \frac{\pi c}{p}\right) \left( 2\cos \left( \frac{\pi c}{p}\right) +1\right) }\), thus we have
where
and
Next we estimate I e and I o respectively.
Let \(x=\frac{2\pi c}{p},\) then from Lemma 6 we know that
That is,
Thus
By Lemma 7 and 8, asymptotically we have
Let \(y=\frac{\pi (2c-1)}{p},\) then from Lemma 6 we know that
Thus
Similarly as above, by Lemma 7 and 8, we can also obtain
Combining (10), (11) and (12), we can get
Hence
□
Rights and permissions
About this article
Cite this article
Xu, H., Qi, WF. & Zheng, YH. Autocorrelations of l-sequences with prime connection integer. Cryptogr. Commun. 1, 207–223 (2009). https://doi.org/10.1007/s12095-008-0008-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12095-008-0008-5