Apply the Euclidean algorithm to and :
Back-substitution gives the Bézout's identity
Thus is one solution of the Diophantine equation. Subtracting this solution from any other gives
Since 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 is
Every such pair satisfies the original Diophantine equation, since the terms cancel.

Articles by others on the same topic (0)

There are currently no matching articles.