Exercise · ZW-LINEAR-DIOPHANTINE-EQUATION-002 · ★☆☆ Basic

Which statement correctly describes when \(ax+by=c\) has integer solutions?

Choose one option.

Show answer
  • B. When \(\gcd(a,b)\) divides \(c\)

Explanation

The exact condition is that the gcd of the coefficients divides the constant term. Requiring only that \(a\) divides \(c\) or that \(c\) is even are insufficient conditions.

Study Elementary number theory in ZWMath →

Review the concept: Linear Diophantine equation

A linear Diophantine equation is \(ax+by=c\) with integer coefficients, where we seek integer pairs \(x,y\) as solutions.

\[x=x_0+\frac{b}{d}t,\quad y=y_0-\frac{a}{d}t,\quad t\in\mathbb{Z}\]

More practice problems: linear diophantine equation

← ZW-LINEAR-DIOPHANTINE-EQUATION-001 ZW-LINEAR-DIOPHANTINE-EQUATION-003 →