Exercise · ZW-BEZOUT-S-IDENTITY-006 · ★★☆ Intermediate

If \( \gcd(a,b)=d \), which of these equations has an integer solution \( x,y \) for every such \( a \) and \( b \)?

Choose one option.

Show answer
  • C. \( ax+by=d \)

Explanation

The values reachable by \( ax+by \) are exactly the multiples of \( d \), so \( ax+by=d \) always has an integer solution. The value \( d/2 \) is never a multiple of \( d \), and \( d+1 \) and \( 1 \) fail whenever \( d>1 \).

Study Elementary number theory in ZWMath →

Review the concept: Bézout's identity

Bézout's identity states that, for integers \( a \) and \( b \) not both zero, there exist integers \( x \) and \( y \) such that \( ax+by=\gcd(a,b) \).

\[ax+by=\gcd(a,b) \text{ for some } x,y\in\mathbb{Z}\]

More practice problems: bézout's identity

← ZW-BEZOUT-S-IDENTITY-005 ZW-BEZOUT-S-IDENTITY-007 →