Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

convergents function

The convergents of a continued fraction.

How to write it

convergents(terms)

terms
The terms of a continued fraction. Takes a list.

Examples

  • convergents⁡([1,2,3])=[1,32,107]\displaystyle \operatorname{convergents}(\left[ 1, 2, 3 \right]) = \left[ 1, \frac{3}{2}, \frac{10}{7} \right]
    convergents([1, 2, 3])

    In the solver, convergents([1, 2, 3]) gives [1, 3/2, 10/7].

    Open in the solver