Quadratic residue patterns of length 4 and 5
arXiv:2607.17418
Abstract
We generalize the results of the first part of the paper by Kiritchenko, Tsfasman, Vlăduţ and Zakharevich on quadratic residue patterns to the case of arbitrary words over the alphabet of length and . First, we obtain explicit formulas for the number of occurrences of a given pattern in the sequence of quadratic residues and nonresidues modulo a prime . These formulas are expressed in terms of Frobenius traces on a finite collection of low-genus hyperelliptic curves. Second, using a generalized Sato-Tate approach, we describe the limiting distributions of the normalized error term for .
17 pages, 6 tables