1

If $a = r \pmod b$ when $0 \le r < b$, then $\gcd(a, b) = \gcd (b, r)$.

I do not understand why this is, can somebody explain?

I've also looked over this thread: Why is $\gcd(a,b)=\gcd(b,r)$ when $a = qb + r$? , but I still can't seem to see how that applies to $a = r \pmod b$.

Leon Helmsley
  • 125
  • 1
  • 1
  • 4

0 Answers0