English

Binary Sequences Derived from Differences of Consecutive Primitive Roots

Number Theory 2021-05-18 v1

Abstract

Let 1<g1<<gφ(p1)<p11<g_1<\ldots<g_{\varphi(p-1)}<p-1 be the ordered primitive roots modulo~pp. We study the pseudorandomness of the binary sequence (sn)(s_n) defined by sngn+1+gn+2mod2s_n\equiv g_{n+1}+g_{n+2}\bmod 2, n=0,1,n=0,1,\ldots. In particular, we study the balance, linear complexity and 22-adic complexity of (sn)(s_n). We show that for a typical pp the sequence (sn)(s_n) is quite unbalanced. However, there are still infinitely many pp such that (sn)(s_n) is very balanced. We also prove similar results for the distribution of longer patterns. Moreover, we give general lower bounds on the linear complexity and 22-adic complexity of~(sn)(s_n) and state sufficient conditions for attaining their maximums. Hence, for carefully chosen pp, these sequences are attractive candidates for cryptographic applications.

Keywords

Cite

@article{arxiv.2105.08003,
  title  = {Binary Sequences Derived from Differences of Consecutive Primitive Roots},
  author = {Arne Winterhof and Zibi Xiao},
  journal= {arXiv preprint arXiv:2105.08003},
  year   = {2021}
}
R2 v1 2026-06-24T02:11:30.888Z