Apply the Euclidean algorithm to and :Back-substitution gives the Bézout's identityThus is one solution of the Diophantine equation. Subtracting this solution from any other givesSince and are coprime, divides . To justify that step directly, multiply by : both terms on the right are divisible by , because . Write ; substitution then gives . Therefore the complete solution set isEvery such pair satisfies the original Diophantine equation, since the terms cancel.
Articles by others on the same topic
There are currently no matching articles.