Greatest common divisor · Exercise-GREATEST-COMMON-DIVISOR-004
Step-by-step solved exercise: Recurrences and arithmetic
Compute \(\displaystyle \gcd(48,180)\).
Greatest common divisor · Exercise-GREATEST-COMMON-DIVISOR-004
Compute \(\displaystyle \gcd(48,180)\).
Factor \(\displaystyle 48\) into primes.
Factor \(\displaystyle 180\) into primes.
The common primes are \(\displaystyle 2\) and \(\displaystyle 3\). Take the smaller exponent of each.
Multiply the selected powers. Therefore, \(\displaystyle \gcd(48,180)=12\).
12