Computes the inverse of a in $\mathbb{Z}/n\mathbb{Z}$.
i1 : modularInverse(5,7) o1 = 3 |
i2 : modularInverse(5,16) o2 = 13 |
i3 : modularInverse(4,16) o3 = false |
i4 : modularInverse(1234567,12345678) o4 = 10802467 |
The object modularInverse is a method function.