Write the continued fraction as and define its convergents by
Induction using these recurrences gives
In particular, consecutive convergents have coprime numerator and denominator. The standard best-approximation consequence of the same determinant identity is that, for and ,
Dividing by gives
The contrapositive proves that any strictly better approximation has .
For , the continued-fraction algorithm gives
and the remainder then repeats. Hence
The convergent supplies a solution of the Pell equation:

Articles by others on the same topic (0)

There are currently no matching articles.