{"id":"arxiv/2607.17418","url":"https://arxiv.org/abs/2607.17418","tags":["math.NT","math.AG"],"score":0,"title":"Quadratic residue patterns of length 4 and 5","domain":"math.NT","source":"arxiv","authors":["Abdulkadyr Buchaev","Michael Tsfasman"],"reviews":0,"subject":"math.NT","summary":"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 $\\{R, N\\}$ of length $l = 4$ and $l = 5$. First, we obtain explicit formulas for the number of occurrences of a given pattern $S$ in the sequence of quadratic residues and nonresidues modulo a prime $p$. 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…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-07-19","reactions":{}}