How it works
The extended Euclidean algorithm returns an inverse only when the greatest common divisor is one; verify the product remainder.
Try an example
Integer: 3; Modulus: 11. The form starts with these values; change them to explore your own case.
Example result: 4
- Use Bézout coefficient and reduce modulo m.
Learn more in Exact number theory and congruences.
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.