I have this question that I'm not entirely sure how to answer.
Suppose that $a, b$ are non-zero integers. Find all integers $m, n$ such that $am + bn = \gcd(a, b)$
I know that it suffices to show that if $m, n$ and $m', n'$ are 2 possible solutions that showing that $\frac{b}{\gcd(a, b)}\mid m-m'$ and $\frac{a}{\gcd(a, b)}\mid n-n'$. However, I'm not entirely sure how to get there. Thanks.
Let $c = \text{gcd}(a,b)$.