modular inverse - part-cw/lambdanative GitHub Wiki
(modular-inverse a b)
Returns the multiplicative inverse of the modulo of the arguments.
| Parameter | Description |
|---|---|
| a | integer |
| b | integer |
Example
> (modular-inverse 3 13)
9
Returns the multiplicative inverse of the modulo of the arguments.
| Parameter | Description |
|---|---|
| a | integer |
| b | integer |
> (modular-inverse 3 13)
9