TOPICS
Search

Nearest Gaussian Integer Algorithm


The nearest Gaussian integer algorithm, also called the Hurwitz complex continued fraction algorithm, constructs a complex continued fraction by choosing the closest Gaussian integer at each step (Hurwitz 1887). For a complex number z, set z_0=z, and let [w]_G denote a nearest Gaussian integer to w, with a fixed rule used to break ties on the boundaries of the fundamental squares. Define a_n=[z_n]_G and z_(n+1)=1/(z_n-a_n) whenever z_n!=a_n. The resulting expansion is

 z=[a_0;a_1,a_2,...]=a_0+1/(a_1+1/(a_2+...)).

The partial quotients a_n are Gaussian integers, and the convergents are Gaussian rational approximations to z, where a Gaussian rational is a ratio of Gaussian integers. The algorithm terminates for a Gaussian rational and otherwise gives an infinite expansion. It is the complex analogue of the nearest integer continued fraction algorithm and is simpler arithmetically than the Schmidt algorithm.


See also

Complex Continued Fraction, Convergent, Gaussian Integer, Nearest Integer Continued Fraction, Schmidt Algorithm

Explore with Wolfram|Alpha

References

Hurwitz, A. "Über die Entwicklung complexer Grössen in Kettenbrüche." Acta Math. 11, 187-200, 1887. https://doi.org/10.1007/BF02612324.

Cite this as:

Weisstein, Eric W. "Nearest Gaussian Integer Algorithm." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/NearestGaussianIntegerAlgorithm.html

Subject classifications