Let $a,b,c \in \Bbb Z$. Show that the Diophantine equation $ax+by = b+c$ is solvable in integer $x , y$ iff $ax+by =c$ is solvable.
We know that a Diophantine equation $ax+by =c$ is solvable iff $d|c$ where $d=gcd(a,b)$. From here how can we do the above proof??
As you have said we use the following theorem :
A Diophantine equation $ax+by =c$ is solvable iff $d|c$ where $d=gcd(a,b)$.
$\Rightarrow$ Let us assume that $ax+by =b+c$ is solvable in integer $x,y$. Thus $d|b+c$ where $d=gcd(a,b)$ and since $d|b$ so $d|c$ thus $ax+by =c$ is solvable in integer $x,y$ using the above theorem.
$\Leftarrow$ can be done similarly!!