The Euclidean algorithm gives
Back-substitution supplies the Bezout identity
Thus one solution is . If is any solution, subtraction gives . Since and are coprime, divides . Write ; substitution then gives . Conversely these values satisfy the equation for every integer . Hence all solutions are

Articles by others on the same topic (0)

There are currently no matching articles.