invmod
invmod(a, b)
Calculate the (modular) multiplicative inverse of a modulo b. Solution to the equation ax ≣ 1 (mod b)
Try it yourself:
$1 | invmod(8, 12)
| |
$2 | invmod(7, 13)
| |
$3 | invmod(15151, 15122)
|
Calculate the (modular) multiplicative inverse of a modulo b. Solution to the equation ax ≣ 1 (mod b)
Try it yourself:
$1 | invmod(8, 12)
| |
$2 | invmod(7, 13)
| |
$3 | invmod(15151, 15122)
|