The Frequency and Distribution of Consecutive Quadratic Residues Modulo p
ISEF · 2018 Mathematics
Overview
First, the number of pairs of consecutive quadratic residues modulo an odd prime p are counted, using sums of the Legendre symbol. We then extend this to triples of consecutive quadratic residues modulo an odd prime p. We find explicit formulas for the number of such triples based on the value of p (mod 8), using Jacobsthal's theorem. We then show the existence of infinitely long sequences of consecutive quadratic residues for all sufficiently large primes p. We examine the sum of the Legendre symbol of n(n+1)(n+2)(n+3) as it ranges across all of Z/pZ using the Riemann-Hurwitz theorem and the Hasse-Weil bound, and make some conjectures as well. We extend this to even-degree polynomials and squarefree quartics.
Competition history
- ISEF 2018
Resources
Related projects
ISEF · 2025
Prime Numbers of the Form x^2+ny^2 and Thue's Lemma
ISEF · 2025
Squarefullness of Factorial Products of Polynomials
ISEF · 2023
Proof of the Complete Presence of a Modulo 4 Bias for the Semiprimes
ISEF · 2018
Pythagorean Quintuples and Quaternions
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair