Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 28 3 Solution Created 2026-10-03 Updated 2026-10-06
For a finite extension of number fields, the inverse different is the fractional idealThe different ideal is its inverse. The trace pairing is nondegenerate because extensions of number fields are separable, so this definition gives a full fractional ideal. The inclusion shows that is integral.
Write its prime ideal factorization as . For above , with ramification index and residue characteristic , the different exponent and tame ramification theorem saysThe equivalence uses the separability of finite residue-field extensions. In particular, precisely at unramified prime ideals; in the wild case . This theorem does not require a Galois extension. The relative discriminant is the norm of the different ideal:For , this gives .
Now take and . For any prime number , the square-free integer hypothesis makes an Eisenstein polynomial at . It is therefore irreducible, and is a pure cubic number field of degree . Since is an algebraic integer, is an order in a number field. The discriminant of elements of a number field for its basis isFor example, the resultant of and is , and the degree-three sign in the polynomial discriminant is negative. If , the discriminant-index formula for an integral lattice givesOnly prime numbers dividing can therefore divide .
For , the Eisenstein polynomial gives a totally ramified extension of of degree . Thus has a unique prime ideal above , with ramification index and residue-field degree . Since , this is tame ramification, and the different exponent and tame ramification theorem gives . Hence . Comparing with in the discriminant-index formula for an integral lattice yields .
At , use the shifted Eisenstein polynomial of :Because , the constant term is divisible by . Moreover,when : the factors and cannot both be divisible by . The hypotheses therefore give , so the translated polynomial is an Eisenstein polynomial at . The resulting completion is a totally ramified extension of degree , with residue-field degree , and its ramification index is divisible by the residue characteristic. Thus its different exponent is at least .
It follows that . But , soforces and . No prime number divides . We have proved the integral basis of a nonexceptional pure cubic field:Using local Eisenstein polynomials here only establishes the local ramification indices; it does not assume that is already the full ring of integers of a number field.
Past exam of the mathematics course of the University of Cambridge 2016 ia Paper 4 1E Solution Created 2026-09-24 Updated 2026-10-06
The extended Euclidean algorithm givesBack-substituting in these equations produces the Bezout identityThus one integer solution is . In fact, subtracting this Bezout identity from any other solution and using that and are coprime integers gives all solutions: , , where .
For the modular arithmetic calculation, is a prime number and is coprime to it, so Fermat little theorem gives . Since , and the preceding Bezout identity identifies as the modular multiplicative inverse of , we obtainConsequently the least positive representative is .
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 4 2E Solution Created 2026-09-24 Updated 2026-10-06
Eisenstein's criterion. Let be a nonconstant primitive polynomial. If a prime number satisfies , for , and , then is an irreducible polynomial over .
To prove the Eisenstein criterion, suppose a nontrivial factorization exists over . Gauss lemma for polynomials gives with of positive degree. Their leading coefficients are not divisible by , because their product is . Reduction modulo therefore preserves both degrees, andSince the only irreducible factor of the right side is , both reduced factors are nonzero monomials of positive degree. Their constant coefficients are consequently divisible by . This would make , a contradiction.
For the requested polynomial, shift the variable by one. The binomial theorem givesIt is monic, all coefficients below the leading one are divisible by , and the constant coefficient is , not divisible by . The Eisenstein criterion proves irreducibility of this shifted polynomial. The substitution is an automorphism of , with inverse , so it preserves nontrivial factorizations. HenceThis is the cyclotomic polynomial for a prime index.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 104 6 c Solution Created 2026-10-03 Updated 2026-10-06
The auxiliary Higman group has no nontrivial finite quotients of a group. One can use this permitted property directly, but there is a short verification. In any finite quotient, let be the order of the image of . Since conjugation sends to its square, must be odd. If some , choose the least prime number dividing any . It is odd. Conjugation by the preceding generator givesThe multiplicative order of modulo is therefore a divisor of . It is greater than one and divides by the Fermat little theorem, so it has a prime divisor smaller than . That prime also divides , contradicting the choice of . Hence every and the quotient is trivial.
Given any finitely presented group , form , and apply part (a) to the word . This word is nontrivial by the normal form theorem for a free product, so the output contains by the embedding already proved.
To check its finite quotients, let be any group homomorphism to a finite group. The image of the copy of is trivial by the preceding property. The identifications make all trivial. Thus the equations give, in the image,Since , this forces for all generators of , including . The defining word then has trivial image, so as well. Every generator of has trivial image. ThereforeThis uses the concrete construction of part (a), not an assumption that arbitrary quotients preserve an embedding of .
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 4 5D a Solution Created 2026-09-24 Updated 2026-10-05
The Fermat-Euler theorem states that for an integer and a positive integer with ,where the Euler totient function counts the residue classes coprime to . For , choose a reduced residue system . Multiplication by the unit modulo n preserves coprimality and is injective on these residue classes: implies , because has a multiplicative inverse modulo . It therefore permutes the reduced residue system, givingThe product is also a unit modulo n, so it can be cancelled. This proves the Fermat-Euler theorem. For every modular congruence is automatic; one may use .
For a prime number , the Euler totient function has value . Thus whenever . Multiplying by , and treating separately, gives the all-integer version of Fermat's little theorem:Finally, Wilson theorem states that for every prime number , . Its converse is also true: an integer is prime exactly when . For the converse, any proper divisor would divide both and , contradicting that congruence.
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 4 5D b Solution Created 2026-09-24 Updated 2026-10-05
Suppose . Then is a unit modulo n for modulus , and Fermat's little theorem impliesSince is an odd prime number, and are distinct residue classes. Therefore is even, and .
Conversely, put . Pair each integer with in the factorial. Wilson theorem yieldsWhen , is even, so satisfies . This proves the first supplementary law for quadratic reciprocity without assuming a primitive root. HenceThe two solutions are and modulo : their difference is nonzero, and factoring shows that a degree-two polynomial over the field of residues modulo has no further roots.
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 4 5D c Solution Created 2026-09-24 Updated 2026-10-05
Split the factorial at , using :By Wilson theorem, this is . Therefore . If the prime number is odd, then is even, so andFor , the signs and are identical modulo , and the two possibilities also give the same result. The empty product convention includes the endpoint cases. This is the complementary factorial congruence.
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.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 130 3 i Solution Created 2026-10-03 Updated 2026-10-05
Use the standard definition of a partition regular matrix: for every finite coloring of the positive integers, there is a positive solution whose coordinates all have one color. Coordinates may repeat. Clearing denominators lets us assume ; multiplication of the row by a nonzero rational number changes neither its zero-sum subsets nor its solutions. We prove both directions of the Rado theorem for one equation directly, without invoking any form of Rado's theorem.
For necessity, choose a prime number and use the last nonzero digit coloring: write , with , and assign color . Given a monochromatic solution, let , let , and let be the common color. Divide by and reduce modulo . Terms outside vanish; the others giveThe nonzero residue is invertible modulo the prime number , so divides . This sum has absolute value less than , forcing it to be zero. The set is nonempty by its definition.
For sufficiency we first derive the needed Brauer progression theorem from the permitted Van der Waerden theorem. Fix positive integers . We claim that for every number of colors , a finite integer interval forces a monochromatic setThe case is immediate by taking and . For and , take in an interval of length at least . Suppose the claim holds for and write . By the Van der Waerden theorem, some forces an arithmetic progression of length in with one color . Work in so that all needed multiples also lie in the coloring's domain. If a subprogression of length and step has of color , we are done. Otherwise, for every , the initial long arithmetic progression contains such a subprogression, and avoids color . The induced finite coloring of therefore uses at most colors. The induction hypothesis gives a monochromatic set for this induced finite coloring. Multiplying by gives the desired configuration in the original coloring, with initial term and step . This proves the claim for ; the only use below has .
Now suppose for a nonempty . Choose , put , and put . If , then and any constant positive vector is already a monochromatic solution. Otherwise take and apply the proved Brauer progression theorem with . All of and for have one color. DefineEvery coordinate is a positive integer in that monochromatic set, since is either or . Using the zero sum on givesThus both directions are proved:For the right side is impossible, agreeing with the absence of positive solutions for a single nonzero coefficient.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 11H a Solution Created 2026-09-24 Updated 2026-10-05
A deterministic finite automaton is described by finite state and alphabet label lists, one initial state label, an accepting-state bit mask, and a finite transition table. Keep each label in increasing order and list transitions lexicographically by the actual state and alphabet labels. This retains arbitrary finite subsets of the permitted labels, rather than assuming they are consecutive.
The prime-exponent encoding of a finite list gives an explicit Gödel encoding for a list of nonnegative integers:where is the th prime number. Encode the descriptor as a list beginning with the numbers of states and alphabet symbols, followed by their sorted labels, the start label, the accepting mask, and all transition destinations. The lengths are then known during decoding.
Unique prime factorization recovers the list and hence the automaton. Reject an integer if the prescribed prime exponents are missing, additional primes occur, the list lengths disagree, state or alphabet labels repeat, the initial state or a transition target is absent, or the mask is out of range. These are effective finite checks. Thus every automaton has an integer code, valid codes are decidable, and the transition system of a coded automaton is computable. Invalid integers may be excluded explicitly or assigned a fixed empty-language automaton.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 1G Solution Created 2026-09-24 Updated 2026-10-05
For an odd prime number , the Legendre symbol is zero when , one when is a nonzero quadratic residue modulo , and minus one otherwise. The number-theoretic Gauss lemma says that, for , , where counts those least positive residues of exceeding .
For , the residues are simply , so . Examining the four odd residue classes modulo eight givesNow and is odd. The multiplicative order of divides but not . Since is a power of two, every proper divisor of divides , whence . Lagrange's theorem for finite groups gives . Because , this implies , so the supplementary law just proved gives . By Euler's criterion, , and consequently . Therefore
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 4 10G a Solution Created 2026-09-24 Updated 2026-10-05
Dirichlet theorem on primes in arithmetic progressions states that if positive integer and integer satisfy , then infinitely many prime numbers satisfyThe coprimality hypothesis is essential: if and have a common factor greater than one, a prime in the progression must divide that factor, giving at most finitely many possibilities.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 4 1G Solution Created 2026-09-24 Updated 2026-10-05
Expand the finite Euler product into geometric series. By unique prime factorization, it is the sum of over positive integers whose prime factors do not exceed , and hence contains every term up to . The harmonic sum satisfiesThe last inequality uses , including when is an integer. For each prime number ,The telescoping series over all integers bounds the sum of these remainders by . Taking logarithms of the product bound therefore givesThis explicit constant suffices; no asymptotic theorem about the distribution of prime numbers is needed.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 4 3G Solution Created 2026-09-24 Updated 2026-10-05
In the RSA cryptosystem, choose distinct large prime numbers , set , and choose coprime to . Choose with . A plaintext residue class is encrypted as and decrypted as . Fermat's little theorem modulo and , followed by the Chinese remainder theorem, proves correctness even when is not coprime to .
Textbook RSA cryptosystem is multiplicative: . For a chosen-ciphertext attack, multiply an intercepted by for a known invertible . A decryption oracle returns , from which multiplication by recovers . Likewise, multiplying two textbook RSA signatures produces a signature of their product. These are homomorphism attacks, exploiting algebra rather than factoring .
For an ElGamal signature, choose a prime , a primitive root modulo , a private exponent , and public . To sign a message digest , choose a fresh secret coprime to and setVerification checks and , which follows because . Authenticating the ciphertext and its context with such a digital signature, before decryption, prevents the simple multiplicative modification from being accepted without a fresh valid signature. One needs an appropriate cryptographic hash function and fresh secret cryptographic nonces: this is not a claim that every algebraic attack is impossible. In particular, the unhashed historical ElGamal signature scheme admits existential forgeries of specially chosen message exponents; mere multiplication of encrypted messages is not an authentication mechanism.
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 2 11G b ii Solution Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 3 11G b Solution Created 2026-09-24 Updated 2026-10-03
Eisenstein criterion states that ifhas a prime number such that , for every , and , then is irreducible over .
After dividing out the polynomial content, suppose for contradiction that the resulting primitive polynomial factors as with positive-degree , using Gauss lemma for polynomials. Reduction modulo gives , so in the polynomial ring both and are monomials. Because both factors have positive degree, their constant coefficients are divisible by . Their product is then divisible by , a contradiction.