The Frequency and Distribution of Consecutive Quadratic Residues Modulo p
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
ISEF · 2020
On a Generalization of Artin's Conjecture for Primitive Roots in Gaussian Integers
ISEF · 2017
Chance or Coincidence-Counting 3-Arithmetic Progression in Block-Generated Thue-Morse String
ISEF · 2018
Asymptotics of Character Sums
ISEF · 2014
An Application of Polynomials to Generate Pythagorean Triples
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: Regeneron International Science and Engineering Fair