Exact Frequencies of Consecutive Quadratic Residue and Nonresidue Patterns Modulo a Prime
Abstract
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 \(\ 1\\). The frequencies of pairs are classified entirely by \(p 4\), whereas triples exhibit a more complex dependency on \(p 8\) and the Jacobsthal sum Tp=Σx∈ Fpχ(x3-x).
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.