Solvable iff \(\gcd(a,b) \mid c\). The extended Euclidean algorithm gives one solution; every other is \(x_0 + t b/g,\ y_0 - t a/g\), so the steps are returned too.
Solvable iff \(\gcd(a,b) \mid c\). The extended Euclidean algorithm gives one solution; every other is \(x_0 + t b/g,\ y_0 - t a/g\), so the steps are returned too.