How can I prove this statement:
$\forall a,b,u,v \in \mathbb{Z} - \big\{{0\big\}}\hspace{0.7em}ua+vb=1 \rightarrow \gcd(a,b)=1$
I don't even really know how to start off.
Probably with Euclid's Extended GCD Algorithm?
Thanks in advance.
How can I prove this statement:
$\forall a,b,u,v \in \mathbb{Z} - \big\{{0\big\}}\hspace{0.7em}ua+vb=1 \rightarrow \gcd(a,b)=1$
I don't even really know how to start off.
Probably with Euclid's Extended GCD Algorithm?
Thanks in advance.
There is a theorem that states that the gcd of two numbers is the minimal (natural) linear combination of them. I.e., $$\gcd\left(m,n\right)=\min\left\{am+bn\in\mathbb{N}\middle|a,b\in\mathbb{Z}\right\}$$
Another way is to prove it by definition: show that if $d|a$ and $d|b$, then $d=\pm 1$.