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

What is the greatest common divisor of \(12\) and \(18\), which determines whether \(12x+18y=c\) has a solution?

Choose one option.

Show answer
  • C. \(6\)

Explanation

The greatest common divisor of \(12\) and \(18\) is \(6\). Confusing it with \(3\) or with \(36\) are common errors when computing it.

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-002 →