let $a,b,c\in Z$ and $(x,y) \in Z$ is a solution of $ax+by=c$, prove that $c$ is divisible by $\gcd(a,b)$.
All hints are welcome, I need a point where I can start from.
let $a,b,c\in Z$ and $(x,y) \in Z$ is a solution of $ax+by=c$, prove that $c$ is divisible by $\gcd(a,b)$.
All hints are welcome, I need a point where I can start from.
As a few commentors have pointed out, this proof is quite straightfoward. Clearly, $\gcd(a,b) \mid ax$ and $\gcd(a,b) \mid by$. Thus, $\gcd(a,b) \mid (ax+by)$. Because $ax + by = c$, we also know that $\gcd(a,b) \mid c$, and we are done.