I have below two statemetns :
$$\gcd(a,b) = \gcd(r, b)$$ $$\gcd(a,b) = \gcd(a\bmod b, b)$$
Is there any difference between them ?
I have below two statemetns :
$$\gcd(a,b) = \gcd(r, b)$$ $$\gcd(a,b) = \gcd(a\bmod b, b)$$
Is there any difference between them ?
The proof below shows: $\ \color{#c00}{a\equiv r\pmod b}\ \Rightarrow\ \gcd(a,b) = \gcd(r,b).\,$
In particular it's true for $\ r = (a\ {\rm mod}\ b),\ $ i.e. the least $\,r\ge 0\,$ such that $\ a\equiv r\pmod b$.
Therefore your second statement is a special case of your first statement.
More generally $\,a\equiv r\pmod b\,\Rightarrow\, \gcd(f(a),b) = \gcd(f(r),b)\,$ for any polynomial $\,f(x)\,$ with integer coefficients, because $\,f(a)\equiv f(r)\pmod b\,$ by the Polynomial Congruence Rule.
Proof $\ $ If $\ d\mid b\ $ then $\ d\mid a\!\iff\! d\mid r,\ $ since $\,d\mid \color{#c00}{b\mid a\!-\!r}.\ $ Therefore $\,a,b\,$ and $\,r,b\,$ have the same set $\,S\,$ of common divisors $\,d,\,$ so they have the same greatest common divisor $(= {\rm max}\,S)$.