All solutions of a linear Diophantine equation
ID: all-solutions-of-a-linear-diophantine-equation
If are nonzero integers, , and is one solution of the linear Diophantine equation , then all solutions areSubtract two solutions and use the fact that and are coprime integers. The linear Diophantine equation solvability criterion says that a particular solution exists exactly when divides ; the extended Euclidean algorithm constructs one. This parametrization separates existence from the complete family of answers.
New to topics? Read the docs here!