Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-2/1h/solution
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 1H Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Write the continued fraction as and define its convergents byInduction using these recurrences givesIn particular, consecutive convergents have coprime numerator and denominator. The standard best-approximation consequence of the same determinant identity is that, for and ,Dividing by givesThe contrapositive proves that any strictly better approximation has .
For , the continued-fraction algorithm givesand the remainder then repeats. HenceThe convergent supplies a solution of the Pell equation:
New to topics? Read the docs here!