Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2015/ia/paper-4/6e/i/solution
Past exam of the mathematics course of the University of Cambridge 2015 ia Paper 4 6E i Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-06
Suppose two base-p expansions represent the same nonnegative integer. Pad the shorter one by trailing zero digits so that both have the same length. Reducing modulo shows that their first digits satisfy . Since both digits lie between and , they are equal as integers.
Subtract that common digit and divide by . The remaining equality is an equality of two base-p expansions with one fewer digit. Repeating this argument shows that every pair of corresponding digits agrees. Equivalently, repeated Euclidean division recovers the digits as remainders. The digits are unique up to padding by zeroes. The finite nonnegative-digit representation presupposes ; a negative integer has no such expansion.
New to topics? Read the docs here!