1

Let $\gcd(a,b,c)\mid e$ . Show that there exists integers $w,z$ such that $\gcd(a,b)w+cz=e$

Assume that $\gcd(a,b)=d$ then $a=dp,b=dq$.

Also there exists integers $m,n$ such that $am+nb=d$.

How to find integers $w,z$ such that $dw+cz=e$?

Can someone please give some hint?

Charlotte
  • 1,674

1 Answers1

2

It is known that (see wiki-page) the linear Diophantine equation $dw+cz=e$ has a solution $(w,z)$ if and only if $\gcd(d,c)$ divides $e$. But this is true because $$\gcd(d,c)=\gcd(\gcd(a,b),c)=\gcd(a,b,c).$$

Robert Z
  • 145,942