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

Step-by-step solved exercise: Recurrences and arithmetic

Compute \(\displaystyle \gcd(35,64)\).

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

Step-by-step solution

  1. Factor \(\displaystyle 35\) into primes.

    \[\displaystyle 35=5\cdot 7\]
  2. Factor \(\displaystyle 64\) into primes.

    \[\displaystyle 64=2^6\]
  3. There are no common primes, so the only common divisor is \(\displaystyle 1\). Therefore, \(\displaystyle \gcd(35,64)=1\).

    \[\displaystyle \gcd(35,64)=1\]

    Comment: Two numbers with gcd equal to 1 are called coprime.

Answer

1

🎯 Build my path to this exercise