Greatest common divisor · Exercise-GREATEST-COMMON-DIVISOR-008

Step-by-step solved exercise: Recurrences and arithmetic

If \(\displaystyle d=\gcd(a,b)\) with \(\displaystyle a,b\) nonzero, what is \(\displaystyle \gcd(a/d,\,b/d)\)?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Write \(\displaystyle a\) and \(\displaystyle b\) as multiples of \(\displaystyle d\).

    \[\displaystyle a=d\,a',\quad b=d\,b'\]
  2. Since \(\displaystyle d\) is the greatest common divisor, \(\displaystyle a'\) and \(\displaystyle b'\) have no common factor greater than \(\displaystyle 1\).

    \[\displaystyle \gcd(a',b')=1\]

    Comment: If \(\displaystyle g>1\) divided both \(\displaystyle a'\) and \(\displaystyle b'\), then \(\displaystyle dg\) would divide \(\displaystyle a\) and \(\displaystyle b\), contradicting that \(\displaystyle d\) is the greatest.

  3. Therefore, the greatest common divisor of \(\displaystyle a/d\) and \(\displaystyle b/d\) is \(\displaystyle 1\).

    \[\displaystyle \gcd(a/d,\,b/d)=1\]

    Comment: Example: \(\displaystyle \gcd(84,126)=42\), with \(\displaystyle 84/42=2\) and \(\displaystyle 126/42=3\), which are coprime.

Answer

1

🎯 Build my path to this exercise