Past exam of the mathematics course of the University of Cambridge 2006 ii Paper 2 1H Solution Created 2026-09-24 Updated 2026-10-14
Use the usual positive-definite convention for binary quadratic forms with negative discriminant. Reduction by integral changes of variables of determinant one produces a form with , and with on the boundary. For completeness, replacing by makes ; if then , interchange the variables, reversing one sign to keep determinant one. The new positive leading coefficient is smaller. Repeating terminates and gives a reduced form.
For discriminant , and the reduction inequalities give . Thus , is odd and , and . The boundary convention chooses . Hence there is exactly one positive-definite equivalence class, represented by .
For an odd prime represented by this form, the identity shows that is a square modulo . Here , because otherwise and would divide the represented number. Conversely, if is a square modulo , choose odd with . Then is an integral positive-definite form of discriminant . By the preceding reduction it is equivalent to the given form, so its value at is represented by that form. Quadratic reciprocity gives , whose value is one precisely for . The exceptional primes are represented: and . ThereforeWithout the positive-definite convention, the first printed assertion is false: also has discriminant but cannot be equivalent to a positive-definite form, because an invertible change of variables preserves its sign.
Past exam of the mathematics course of the University of Cambridge 2014 ia Paper 4 6E ii Solution Created 2026-09-24 Updated 2026-10-06
For the odd prime , the Fermat-Euler theorem gives . Therefore the residue class obeys . Since a prime number dividing a product divides one of its factors,If is a quadratic residue, choose with . Then is nonzero modulo , and Fermat's little theorem givesThis proves the quadratic residue direction of Euler's criterion.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 1 c Solution Created 2026-10-03 Updated 2026-10-06
For coefficients supported on an interval of length , write and . The variance form of the large sieve statesThe constant is absolute. One may take the explicit right side , by orthogonality of roots of unity and the exponential-sum large sieve proved in Question 2.
Take , , and the indicator function of the -smooth numbers up to . Applying the given smooth-number density with parameter giveswith a harmless adjustment of the constant for integer endpoints. If an odd prime has least quadratic nonresidue , then : a quadratic nonresidue always occurs among . Every prime factor of every selected smooth number is thus a nonzero quadratic residue modulo . By the multiplicativity of the Legendre symbol, every selected number is a nonzero quadratic residue modulo .
There are nonzero quadratic nonresidue classes, and on all of them. Their contribution to the variance is at leastIf denotes the number of exceptional primes, the variance form of the large sieve, with , yields . ConsequentlyThis is the bounded exceptional primes for least quadratic nonresidues argument. Using an interval of length is what matches the term; an interval of length would not give a bounded exceptional set.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 4 c Solution Created 2026-10-03 Updated 2026-10-06
Take sieve level and coefficient cutoff . Let be the finite set of odd primes at most . Give one unit of weight for each prime . For an odd squarefree integer on these primes, the sieve distribution isThe residue is coprime to every such , and for all permitted primes. Values of outside the permitted set can be chosen arbitrarily in at primes and extended multiplicatively on squarefree integers.
For the Selberg sieve normalizing sum, andHere is a direct proof of this lower bound. Restrict the Euler product to . The Mertens first theorem gives , which is at most for large . The Mertens second theorem givesThe truncated Euler-product lower bound, with , now gives .
Use the minimizing Selberg sieve weights from Question 3. Their absolute values are at most one, so the Selberg least-common-multiple weights satisfy . Parts (a) and (b) control the remainder:The first factor uses the Bombieri–Vinogradov theorem; is below for all sufficiently large . The second uses the permitted . The PDF has the exponent nine, which the TeX transcribes incorrectly. Choose to obtain .
Every twin prime pair with survives the finite sieve, while the pairs with number at most . The Selberg upper-bound sieve thus givesTherefore the twin-prime count is . The finite cutoff on the forbidden primes is essential: sieving by all odd primes would also discard the large prime values that we are trying to count.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 119 6 Solution Created 2026-10-03 Updated 2026-10-05
A pointed category has a zero object, both initial and terminal. Factoring through that object gives a zero morphism between any two objects. In this paper a semi-additive structure means commutative-monoid enrichment: every hom-set is a commutative monoid with additive zero, and composition distributes over addition in both variables. No existence of finite products in a category is included in this last definition. This convention matters for the final one-object example; under the stronger convention requiring finite biproducts, that example would not be a semi-additive category.
Let be the given canonical isomorphism. Transfer the coproduct injections across , so is also a coproduct in a category, with injectionsWrite for the morphism whose composites with are both . For , define the biproduct-induced addition of morphisms byThe zero is the existing zero morphism. We verify the laws from the universal properties, without assuming addition in advance.
All finite canonical maps from coproducts to products are isomorphisms, by induction from the binary ones and the zero object. Thus both and are ternary coproducts in a category. The two iterated fold maps to agree on each of the three injections, hence are equal. Applying this to gives associativity. The interchange swaps the two injections, so its composite with is , giving commutativity. Finally , so , and similarly .
Precomposition is additive because . For , the morphisms and agree on both injections, so they agree; consequently . Composition with a zero morphism is zero. This proves the commutative-monoid enrichment.
It is unique. In any such enrichment, the additive zero morphisms agree with the pointed ones, since each map to or from the zero object belongs to a singleton hom-set. The projections of from are respectively by bilinearity, soFor , composing on the left by and on the right by forces the displayed formula for . Thus the biproducts determine exactly one such enrichment.
For the last part, the underlying one-object category has endomorphism monoid , including , and identity . Its usual addition gives a commutative-monoid enrichment. Any permutation of the prime numbers extends, by unique prime factorization, to a multiplicative monoid automorphism , fixing . Transport addition byThis is a commutative monoid operation with zero , and multiplication distributes over it: applying reduces each distributive law to the ordinary one in . Thus each operation supplies a semi-additive structure on the same fixed composition law.
For each odd prime , take to interchange and , fixing every other prime. ThenDifferent choices of give different additions, and there are infinitely many prime numbers. Hence there are infinitely many distinct semi-additive structures, even though these transported structures are isomorphic as enriched categories. The underlying one-object category has no terminal object, because its endomorphism set is not a singleton, so it indeed has no finite products in a category.
Euler's criterion givesIf either factor is divisible by , both asserted values are zero. Otherwise the two values lie in , whose elements are distinct modulo an odd prime. The modular congruence is therefore equality:Finally, means they give the same residue class and thus the same set of square-congruence solutions. Divisibility by is also identical. Hence .
For an integer and an odd prime , the Legendre symbol isThe value one refers to a nonzero quadratic residue; divisibility by is recorded separately by zero.
For an odd prime , the Legendre symbol is zero if , one if is a nonzero quadratic residue modulo , and minus one if it is a quadratic nonresidue. ThusIt depends only on the congruence class of modulo .
For distinct odd primes , the quadratic reciprocity law isThus the two symbols have opposite signs exactly when both primes are three modulo four; otherwise they agree. Distinctness excludes zero symbols.
For an odd prime , the Legendre symbol is zero if , one if is a nonzero quadratic residue modulo , and minus one if it is a quadratic nonresidue. ThusIt depends only on the congruence class of modulo .
For distinct odd primes , the quadratic reciprocity law isThus the two symbols have opposite signs exactly when both primes are three modulo four; otherwise they agree. Distinctness excludes zero symbols.
Euler's criterion states, for an odd prime ,Apply it to . The integer is when and when . Since those signs are distinct modulo an odd prime, the modular congruence determines the actual Legendre symbol:This is the first supplementary law for quadratic reciprocity.
For an odd prime , the Legendre symbol isIt depends only on the congruence class of the integer . The values and distinguish a nonzero quadratic residue from a quadratic nonresidue; zero is a separate case.
For distinct odd primes , quadratic reciprocity statesHere the Legendre symbol records whether a nonzero congruence class is a quadratic residue. The first supplementary law for quadratic reciprocity and second supplementary law for quadratic reciprocity giveThus minus one is a square exactly when , and two is a square exactly when or .
To test the specified congruence class, factor . Since , multiplicativity of the Legendre symbol and quadratic reciprocity yieldThere is no sign change on swapping and because . Finally , so multiplicativity of the Legendre symbol gives , since . Therefore
For an odd prime , Euler's criterion statesFor , the Legendre symbol is for a quadratic residue and for a quadratic nonresidue; if , both sides are zero.
The product is a single power because the arithmetic progression of exponents has sum :Since , the second supplementary law for quadratic reciprocity gives . Hence Euler's criterion gives . Reduce the exponent using and :The least nonnegative remainder is therefore .
Primitive-root lifting criterion Created 2026-09-24 Updated 2026-11-05
If is a primitive root modulo an odd prime , thenis the exact condition for to remain a primitive root modulo every power . Its multiplicative order modulo must be a multiple of and a divisor of , so the condition makes that order . The result then follows from lifting a primitive root to odd prime powers.
For example, two is primitive modulo three and . It is therefore primitive modulo every . The assumption that is odd is essential; the unit groups of higher powers of two are not cyclic groups.
Primitive-root modulus classification Created 2026-09-24 Updated 2026-11-05
With the one-element unit group convention at , a positive integer modulus admits a primitive root exactly whenwhere is an odd prime and .
For existence, the finite subgroup of a field multiplicative group is cyclic theorem supplies a primitive root modulo . At least one of and satisfies the primitive-root lifting criterion: if , thenThus lifting a primitive root to odd prime powers gives every . The Chinese remainder theorem for unit groups identifies with because is trivial. The moduli two and four are checked directly.
For exclusion, a cyclic group has at most two solutions of . If a modulus has two distinct odd prime factors, or is divisible by both four and an odd prime number, independent sign choices under the Chinese remainder theorem give at least four such units. A pure power with also has the four distinct roots and . These cover every omitted case.
When a primitive root exists, their number is . If generates the unit group of size , its power has multiplicative order , so exactly the coprime exponent classes generate. Here is Euler's totient function.
Quadratic Gauss sum Created 2026-09-24 Updated 2026-11-05
For an odd prime , put and let be the Legendre symbol. The quadratic Gauss sum isWith this choice of and the positive real square root of , its exact value isThe modulus can be established without determining the sign. Expanding and putting givesThe inner sum is for and otherwise, while because the nonzero quadratic residues and quadratic nonresidues are equally numerous. Also, complex conjugation followed by gives . Hence the sum is real for and purely imaginary for . These two observations determine its magnitude and its real or imaginary axis; choosing the sign in the exact evaluation is an additional step.
Quadratic Legendre-symbol correlation Created 2026-09-29 Updated 2026-11-05
For every odd prime , the Legendre symbol correlation satisfiesThe small negative value measures an exact dependence between neighboring square tests; it is not obtained by treating them as independent.
Count the pairs satisfying . For each , their number is : it is one for zero, two for a nonzero quadratic residue and zero for a quadratic nonresidue. The total is therefore plus the desired sum.
Set and . Since is invertible in this finite field, this is a bijection onto the solutions ofChoose any . Then , uniquely determining and . There are exactly choices of . Hence , proving the correlation identity.