Solution
= Solution
Write $a=qb+r$ using the <Euclidean division>. If $d\mid a$ and $d\mid b$, then $d\mid(a-qb)=r$. Conversely, if $d\mid b$ and $d\mid r$, then $d\mid(qb+r)=a$. Therefore $(a,b)$ and $(b,r)$ have exactly the same positive <common divisors>, proving
$$
\boxed{\gcd(a,b)=\gcd(b,r).}
$$
For $r=0$, this agrees with $\gcd(b,0)=b$.