Lemma. \gcd is linear [01EG]

For positive integers l, m, and n we have l\cdot \gcd {\mathopen {}\left (m,n\right )\mathclose {}} = \gcd {\mathopen {}\left (l\cdot m, l\cdot n\right )\mathclose {}}\text {.}

Hint: for this one, try thinking about how Euclid’s algorithm computes.

After attempting to prove this yourself, you may click this text to see my proof.