NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Analysis of the subtractive algorithm for greatest common divisors

Andrew Chi-Chih Yao, Donald E. Knuth

Abstract

The sum of all partial quotients in the regular continued fraction expansions of m/n, for 1 ≤m≤n, is shown to be 6Π-2 n(ln n)2+ O(n log n(log log n)2). This result is applied to the analysis of what is perhaps the oldest nontrivial algorithm for number-theoretic computations.
BibTeX
@inproceedings{yao1976analysis,
  author = {Andrew Chi-Chih Yao and Donald E. Knuth},
  title = {{Analysis of the subtractive algorithm for greatest common divisors}},
  booktitle = {SIGSAM Bull},
  year = {1976},
  url = {https://openreview.net/forum?id=U_eCmQgH4DL},
}

Loading related content...

Figure