Modular arithmetic
This modulo calculator performs arithmetic operations modulo p over a given math expression.
While you still can simply enter an integer number to calculate its remainder of Euclidean division by a given modulus, this modulo calculator can do much more. You may also enter the math expression containing other integers and the following modular arithmetic operations:
+ addition modulo p
- subtraction modulo p
* multiplication modulo p
/ division modulo p (available for all numbers if the modulus is a prime number only)
^ exponentiation modulo p
() brackets for math expression grouping
All operations will be carried out taking a modulus into account. Even more - if you click "show details" options, you will see a solution step by step - with the result of each modular arithmetic operation used in the math expression.
By the way, did you know that modular arithmetic is sometimes called clock arithmetic? This is because like a clock resets itself to zero at midnight, the number resets itself each time the modulus, or mod is reached, so it wraps around a modulus.
Comentários