Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2015/ia/paper-4/6e/iii/solution
Past exam of the mathematics course of the University of Cambridge 2015 ia Paper 4 6E iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-06
Write both nonnegative integers in base-p expansions, padding with zero digits to a common length . By the preceding polynomial identity,Expanding the last product with the binomial theorem, each term is obtained by choosing an integer with . Its exponent is and its coefficient is . Uniqueness of base-p expansions says that the only way this exponent can equal is to choose for every .
If some , no such term exists and the coefficient is zero. Otherwise its coefficient is precisely the product below. Comparing the coefficient of proves Lucas theorem:with the convention for . This also covers , and padding either expansion by further zero digits multiplies the product only by .
New to topics? Read the docs here!