Greatest common divisor · Exercise-GREATEST-COMMON-DIVISOR-003
Step-by-step solved exercise: Recurrences and arithmetic
Compute \(\displaystyle \gcd(0,9)\).
Greatest common divisor · Exercise-GREATEST-COMMON-DIVISOR-003
Compute \(\displaystyle \gcd(0,9)\).
Every integer \(\displaystyle d\) divides \(\displaystyle 0\), because \(\displaystyle 0=d\cdot 0\).
Therefore, the common divisors of \(\displaystyle 0\) and \(\displaystyle 9\) are exactly the divisors of \(\displaystyle 9\).
The positive divisors of \(\displaystyle 9\) are \(\displaystyle 1\), \(\displaystyle 3\) and \(\displaystyle 9\). Therefore, \(\displaystyle \gcd(0,9)=9\).
9