Modular Arithmetic Calculator
Perform modular addition, multiplication, and exponentiation. Calculate (a op b) mod m with equivalence classes.
Inputs
Results
Result
9
Expression(17 + 5) mod 13
Equivalence Class{..., -17, -4, 9, 22, 35, ...}
How to Use This Calculator
- Enter a, b, and Modulus (m).
- Set Operation, Addition (a + b) mod m, and Multiplication (a * b) mod m.
- Adjust Power (a^b) mod m as needed.
- Review the Result result.
- Use Expression and Equivalence Class to inform your decision.
Ad Placeholder
Related Calculators
Chinese Remainder Theorem Calculator
Solve systems of congruences using the Chinese Remainder Theorem. Find x such that x ≡ r1 (mod m1) and x ≡ r2 (mod m2).
Euler's Totient Calculator
Calculate Euler's totient function phi(n) — the count of integers from 1 to n that are coprime to n.
Diophantine Equation Calculator
Solve linear Diophantine equations of the form ax + by = c. Find integer solutions using the Extended Euclidean Algorithm.
Ad Placeholder