Paper 3, Section II, G
Part II, 2017
Let be a positive integer which is not a square. Assume that the continued fraction expansion of takes the form .
(a) Define the convergents , and show that and are coprime.
(b) The complete quotients may be written in the form , where and are rational numbers. Use the relation
to find formulae for and in terms of the 's and 's. Deduce that and are integers.
(c) Prove that Pell's equation has infinitely many solutions in integers and .
(d) Find integers and satisfying .