On a dyadic interval , every such exceptional prime makes all -smooth integers quadratic residues. By positive density of power-smooth integers, there are of these integers up to . Apply the variance form of the large sieve or its forbidden-residue consequence with interval length and prime cutoff . Each exceptional prime excludes residue classes and contributes at least a fixed positive amount to the sieve denominator. Hence each dyadic interval contains exceptional primes. Summing the intervals gives the logarithmic bound.
// Target: analytic-number-theory.bigb
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 28 5 Solution Created 2026-10-03 Updated 2026-10-14
A suitable large sieve statement is the following. If are separated modulo one by at least and is supported on consecutive integers, thenThe sharper classical constant also suffices, but is unnecessary for the requested bound. This is the exponential-sum large sieve.
Put , , and . By the orthogonality of roots of unity,At most of these residue counts are nonzero. The Cauchy-Schwarz inequality gives , and the frequency contributes exactly . Thus, if ,If for some prime, is empty and the result is immediate.
All fractions , , , are distinct reduced fractions. Their circular spacing is at least , because two distinct fractions of these denominators differ modulo one by at least . Apply the large sieve with and , and sum the preceding lower bounds:For and a positive sieve denominator, division provesWhen the denominator is zero this asserts no restriction; that degenerate case is interpreted as a vacuous bound.
For the least-nonresidue application, first establish the positive density of power-smooth integers. Fix , with an integer , and let tend to infinity. Choose ordered primes, with repetitions allowed, in the intervalTheir product satisfies . Every number has , so is -smooth. By partial summation of the Prime number theorem, or the Mertens theorem for reciprocal primes,The number of ordered representations is at leastbecause for .
This representation count must not be confused with a count of distinct integers. A number at most has at most prime factors in that interval, counted with multiplicity. There are therefore only a bounded number, depending on , of ordered -tuples which can occur as divisors of it; the cofactor is then fixed. Dividing by this bounded multiplicity provesfor a fixed and all sufficiently large .
Now work on a dyadic prime interval and let be the primes there with . Take and , so . Let be the -smooth integers at most . The density lemma gives for an absolute .
For each , every prime factor of a member of is at most and is smaller than . Hence it is a nonzero quadratic residue modulo . Multiplicativity of the Legendre symbol makes every member of a nonzero quadratic residue modulo . It therefore avoids all quadratic-nonresidue classes. In the sieve inequality set at exceptional primes and zero at every other prime up to . For odd , , soThus each dyadic interval has at most exceptional primes. The finitely many small intervals can be absorbed into this absolute bound. Summing the intervals up to proves the large-sieve logarithmic exceptional-prime bound for least quadratic nonresidues:The least nonresidue is normally defined for odd primes; any convention at the prime two changes the count by at most one.