The SlugMath Wiki is under heavy development!
State/Linear Diophantine equations can be solved with the Euclidean algorithm
From SlugmathWiki
Proposition: (Linear Diophantine equations can be solved with the Euclidean algorithm) Most specifically: Suppose that $a$ and $b$ are relatively prime integers. Then, there exist integers $x$ and $y$ such that $ax + by = 1$.
More generally: Suppose that $a$ and $b$ are integers, $a \neq 0$, and $g = GCD(a,b)$ (the greatest common divisor of $a$ and $b$), and $m \in \ZZ$. Then, there exist integers $x$ and $y$, such that $ax + by = m$ if and only if $m$ is a multiple of $g$.
Most generally: Suppose that $k$ is a positive integer, and $a_1, \ldots, a_k$ are integers, and $a_1 \neq 0$. Let $g = GCD(a_1, \ldots, a_k)$. If $m \in \ZZ$, then there exist integers $x_1, \ldots, x_k$, such that: $$a_1 x_1 + \cdots + a_k x_k = m,$$ if and only if $m$ is a multiple of $g$.
Logical Connections
This statement logically relies on the following definitions and statements: Def/Relatively prime, Def/Greatest common divisor, Def/Euclidean algorithm, State/Greatest common divisors can be found with the Euclidean algorithm, State/Induction, State/Two out of three principle for divisibility, State/Greatest common divisors can be computed pairwise
The following statements and definitions rely on the material of this page: State/Chinese remainder theorem, State/Every lax vector in a lax basis is primitive, State/Every primitive lax vector belongs to a lax basis, State/Primes dividing a product must divide a factor, and State/Relative primality to the modulus is equivalent to invertibility of a residue
To visualize the logical connections between this statements and other items of mathematical knowledge, you can visit the following cluster(s), and click the "Visualize" tab: Clust/Basic number theory

