Gmp.mpz invert(int|float|Gmp.mpz x)
Return the inverse of this mpz value modulo x . The returned value satisfies 0 <= result < x.
0 <= result < x
An error is thrown if no inverse exists.