Starting from , define
whenever is not an integer. This produces .
A simple continued fraction terminates exactly when its value is rational. For a reduced rational , each reciprocal step is one step of the Euclidean algorithm and replaces the denominator by a strictly smaller nonnegative remainder.

Articles by others on the same topic (0)

There are currently no matching articles.