{"id":"arxiv/2607.11068","url":"https://arxiv.org/abs/2607.11068","tags":["math.NT"],"score":0,"title":"Exact Frequencies of Consecutive Quadratic Residue and Nonresidue Patterns Modulo a Prime","domain":"math.NT","source":"arxiv","authors":["Brahim Mittou"],"reviews":0,"subject":"math.NT","summary":"This paper determines the exact frequency of all consecutive sign patterns of lengths two and three formed by the quadratic character modulo an odd prime $p$. Using basic properties of character sums over finite fields, we derive exact counting formulas for pairs $(n, n+1)$ and triples $(n-1, n, n+1)$ exhibiting specific sequence patterns in \\(\\{\\pm 1\\}\\). The frequencies of pairs are classified entirely by \\(p \\pmod 4\\), whereas triples exhibit a more complex dependency on \\(p \\pmod 8\\) and the Jacobsthal sum $T_p=\\sum_{x\\in\\mathbb F_p}χ(x^3-x)$.","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-07-13","reactions":{}}