Please help answer the number theory problem. The proof I came across goes like this:
Let $d = \gcd(a,b)$ then $d = ma + nb$.
$ma + nb = 1$.
then
$mac + nbc = c$.
$a\mid mac$, $a\mid nbc$, therefore $a\mid c$.
Not sure how last step unfolded. Thanks.
(This is my personal question I have not posted it anywhere else, and the context of my question is my own)