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:
Articles by others on the same topic
There are currently no matching articles.