For a prime let be the quadratic residues modulo in increasing order. We study two -periodic binary sequences and defined by and if and otherwise, . For both sequences we find some sufficient conditions for attaining the maximal linear complexity . Studying the linear complexity of was motivated by heuristics of Caragiu et al. However, is not balanced and we show that a period of contains about zeros and ones if is sufficiently large. In contrast, is not only essentially balanced but also all longer patterns of length appear essentially equally often in the vector sequence , , for any fixed and sufficiently large .

生成讲解博客的中文版本

生成AI智能校验的中文版本