DoctorSolver

Modular inverse

Find the multiplicative inverse modulo an integer.

Open in Flow
Input
0 characters
Output
0 characters

How it works

Extended Euclid finds the inverse when the number and the modulus are coprime.

Usage example

3

Maximum input 4,096 bytes · Timeout 5 s

Related tools