GCD algorithms: comparing calculation methods | Tangente
Algorithms for computing the GCD
The algorithm for computing the GCD dates back at least to Euclid. It was subsequently refined over the centuries.

The algorithm for computing the GCD dates back at least to Euclid. It was subsequently refined over the centuries.

Articles recommended for you.

With the Greek mathematicians—Euclid in particular—numbers moved from the concrete to the abstract. One key concept endured: Euclidean division and the host of developments it spawned. These methods have not aged a bit: Euclid's algorithm is still used today... by computer scientists!

A history of arithmetic—or how an algorithm dating from the third century BCE has endured through the ages and evolved to serve modern disciplines, particularly computer science and cryptology.

Writing a computer program is one thing. Proving that it actually produces the expected result is another! One major advantage of recursion is that it produces programs whose correctness is easy to prove. There is a link between writing a program and proving it correct.

One facet of mathematical creativity is finding an original representation of a problem that makes it easy to solve. Thus, an elementary Diophantine equation can be solved by studying trajectories on a billiard table, turning billiards into an effective tool.
Discussion
Sign in to post a comment and talk with other readers.
No comments yet. Be the first to respond.