Continued Fraction Expansion of Irrational Square Root/Examples/13

Examples of Continued Fraction Expansion of Irrational Square Root
The continued fraction expansion of the square root of $13$ is given by:
 * $\sqrt {13} = \left[{3, \left \langle{1, 1, 1, 1, 6}\right \rangle}\right]$

Proof
Let $\sqrt {13} = \left[{a_0, a_1, a_2, a_3, \ldots}\right]$

First note that:
 * $3^2 < 13 < \left({3 + 1}\right)^2$

and so $a_0 = 3$.

$a_1$:

$a_2$:

$a_3$:

$a_4$:

$a_5$:

and the cycle is complete:
 * $\left\langle{1, 1, 1, 1, 6}\right\rangle$