Finding multiplicative inverse modulo n

invmod is the function e.g. invmod(5,7) == 3

1 Like