Every irrational number can be expanded in a unique continued fraction expansion
such that ,
,
,
and
for
.
This continued fraction expansion is known as the nearest integer continued fraction
expansion of
.
For example, the nearest integer continued fraction expansion of e is given by