let $a,b \in \mathbb{N}$ and a < b. let $r_b$ the rest when dividing b through a.
(1) If $r_b$ is the rest, then there exists a q so that $ b = q*a + r_b $.
(2) Now I show: $gcd(a,b) = gcd(a, b-a)$.
(2.1) let d := gcd(a,b), this means d|a and d|b. This means a = nd, b=md (with m > n since b > a). Then b-a = md -nd = (m-n)d, where (m-n)>0. Therefore d|b-a
(2.2) let g := gcd(a,b-a), this means g|a and g|b-a. This means a = xg, b-a=yg. Then b = (b-a)+a = xg +yg = (x+y)g. Therefore g|b.
(2.3) Together we have d|a, d|b, d|b-a. And g|a, g|b, g|b-a.
Now, since I supposed d and g to be the GREATEST common divisor, it must be g = d and everything is shown.
I hope so.
(3) Now I show $gcd(a,b) = gcd(a, r_b)$.
As I have shown in (2-2.3) I have
$gcd(a,b) = gcd(a, b-a) = gcd(a, [b-a]-a) = ...$. If doing this q-times, then I have
$gcd(a,b) = ... = gcd(a, b-qa)$. Since $ b = qa + r_b$ I have $b-qa = r_b$.
I'm pretty sure this should hold, however I'd like to do it by induction, if possible. Is there a way to show this more 'mathematically' ?
Kind Regards,
K.