Example. A trace of Euclid’s algorithm [01E2]

\gcd {\mathopen {}\left (m,n\right )\mathclose {}}
\gcd {\mathopen {}\left (34,13\right )\mathclose {}}{}
\gcd {\mathopen {}\left (13,8\right )\mathclose {}}{}
\gcd {\mathopen {}\left (8,5\right )\mathclose {}}{}
\gcd {\mathopen {}\left (5,3\right )\mathclose {}}{}
\gcd {\mathopen {}\left (3,2\right )\mathclose {}}{}
\gcd {\mathopen {}\left (2,1\right )\mathclose {}}{}
1{}