When does the Diophantine equation $ax + by + cz = d$ have a solution?

260 Views Asked by At

$x,y,z$ are integers

I think the answer is if the $\gcd(a,b,c)|d$, but I don't know how to show this in either direction