Euclidean algorithm
= Euclidean algorithm
{wiki}
The Euclidean algorithm repeatedly replaces $(a,b)$ by $(b,a\bmod b)$ and terminates at $\gcd(a,b)$.
= Euclidean algorithm
{wiki}
The Euclidean algorithm repeatedly replaces $(a,b)$ by $(b,a\bmod b)$ and terminates at $\gcd(a,b)$.