Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2015/ii/paper-3/9h/solution

For a simple continued fraction, define
Multiplying the matrices gives
Their determinants also give . If the infinite tail is , the same formula implies
The denominators of these continued fraction convergents tend to infinity, since . Hence they converge to .
The square-root algorithm for the periodic continued fraction of a quadratic irrational, using , and , gives
The first four continued fraction convergents are . Direct substitution gives positive solutions to the requested Pell-type equations:

New to topics? Read the docs here!