Greatest common divisor · Exercise-GREATEST-COMMON-DIVISOR-007
Step-by-step solved exercise: Recurrences and arithmetic
For which value of \(\displaystyle b\) does \(\displaystyle \gcd(20,b)=4\) hold?
Greatest common divisor · Exercise-GREATEST-COMMON-DIVISOR-007
For which value of \(\displaystyle b\) does \(\displaystyle \gcd(20,b)=4\) hold?
Factor \(\displaystyle 20\) into primes.
For the gcd to be \(\displaystyle 4=2^2\), \(\displaystyle b\) must be a multiple of \(\displaystyle 4\) and not of \(\displaystyle 5\).
Check \(\displaystyle 12\): it is a multiple of \(\displaystyle 4\) and not of \(\displaystyle 5\).
Therefore, \(\displaystyle \gcd(20,12)=4\).
12