WORKED DEFAULT
Check the calculation with the default inputs
For a = 3 and modulus 11, the least nonnegative inverse is 4 because 3 x 4 = 12 and 12 modulo 11 leaves the verification residue 1.
- Normalize the input3 modulo 11 = 3
- Solve the Bezout relation4 is the inverse candidate
- Verify the residue3 x 4 modulo 11 = 1