The successive division with remainder steps of the Euclidean algorithm areEach step preserves the greatest common divisor by part (a). The final nonzero remainder is , so
Back-substitute in the Euclidean algorithm to obtain an integer linear combination:Multiplying by gives the particular solution of the linear Diophantine equation. Subtracting it from any other solution and dividing by givesThe integers and are coprime, so divides . Writing forces . Conversely these expressions satisfy the original equation for every integer . Thus all solutions of a linear Diophantine equation here are
Articles by others on the same topic
There are currently no matching articles.