Examples
using input field for modulus
Input
17Expected answer
JSON7- Value (a)
5- Modulus (m)
(empty)
using input field for value
Input
5Expected answer
JSON21- Value (a)
(empty)- Modulus (m)
26
another coprime pair (7 mod 26)
Input
Expected answer
JSON15- Value (a)
7- Modulus (m)
26
basic example (3 mod 11)
Input
Expected answer
JSON4- Value (a)
3- Modulus (m)
11
hexadecimal input (0x10 mod 0x11)
Input
Expected answer
JSON16- Value (a)
0x10- Modulus (m)
0x11
large number (RSA-like)
Input
Expected answer
JSON934281398294- Value (a)
65537- Modulus (m)
9999999999999
Finds x such that a*x = 1 (mod m). Input handling: If either a or m is left blank, its value is taken from the Input field.
Format reference: Modular Inverse background and specification
Parameters
| Parameter | Default value | Input and choices |
|---|---|---|
| Value (a) | "" | Text |
| Modulus (m) | "" | Text |