Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Euclidean Algorithm

Numerical Algorithm

The Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor of two integers, the largest number that divides both of them with no remainder, by repeatedly replacing the larger number with the remainder of dividing it by the smaller until a remainder of zero is reached. It is named after the ancient Greek mathematician Euclid, who first described it in his Elements, around 300 BC, making it among the oldest algorithms still in common use today. This description is adapted from Wikipedia contributors under CC BY-SA 4.0; changes were made. https://creativecommons.org/licenses/by-sa/4.0/

Facts
Time Complexity
Time Complexity (category)
Logarithmic Time -- O(log n) 1
Classification
Design Technique
Divide and Conquer 1
Credited To
Euclid, circa 300 BC. 2
Sources
1. Euclidean Algorithm (Wikipedia)
  • Wikipedia infobox: time complexity logarithmic
    logarithmic
  • Wikipedia: design technique divide-and-conquer
    divide-and-conquer
View the Source
2. Wikipedia: Euclidean Algorithm
Wikimedia FoundationLead section
Quote, Lead section
named after the ancient Greek mathematician Euclid, who first described it in his Elements (c. 300 BC)
View the Source
Wikidata: Euclidean Algorithm
Wikidata Q230848, class allow-list match (w-wdresolver-0926)View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.