lean_workbook_plus_61336
ProvedProve the theorem: Let be three integer numbers so that . Then the equation has at least an integer solution if and only if the greatest common divisor of the numbers and divides the number .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_61336 (a b c : ℤ) (habc : a * b * c ≠ 0) : (∃ x y : ℤ, a * x + b * y = c) ↔ (gcd a b) ∣ c := by sorry
Source