AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Euclidean Algorithm
gcd300 BCE
An algorithm that computes the greatest common divisor of two integers by repeatedly replacing the larger number with its remainder modulo the smaller.
Origin
Euclid (300 BCE). Elements, Book VII. Ancient Greek text.No digital identifier · Search scholarly sources
Lineage
Algorithms 3 · Relations 2
Derived algorithms
What it led to
Binary GCD Algorithm1967
Structural analysisA structural variant that computes the same GCD as the Euclidean algorithm using only shifts and subtraction instead of division — doi:10.1016/0021-9991(67)90047-2
Lehmer's GCD Algorithm1938
Author statementLehmer's paper, as its title says, presents a way to accelerate Euclid's algorithm for large numbers — doi:10.1080/00029890.1938.11990797
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…