Exercise · ZW-GREATEST-COMMON-DIVISOR-007 · ★★☆ Intermediate

For which value of \(b\) does \(\gcd(20,b)=4\) hold?

Choose one option.

Show answer
  • A. 12

Explanation

\(\gcd(20,12)=4\). By contrast \(\gcd(20,14)=2\), \(\gcd(20,15)=5\) and \(\gcd(20,30)=10\).

Study Discrete mathematics in ZWMath →

Review the concept: Greatest common divisor

The greatest common divisor \(\gcd(a,b)\) of two integers \(a\) and \(b\), not both zero, is the largest integer that divides both.

\[\gcd(a,b)=\max\{d\in\mathbb{Z}:\ d\mid a,\ d\mid b\}\]

More practice problems: greatest common divisor

← ZW-GREATEST-COMMON-DIVISOR-006 ZW-GREATEST-COMMON-DIVISOR-008 →