Solve any maths problem
Equations, derivatives, integrals, matrices, triangles, primes, statistics, or a word problem the tutor breaks into parts.
Step by step
- 12 = 2 \times 5 + 2
Divide 12 by 5: the quotient is 2 and what is left over is the remainder.
- 12 \bmod 5 = 2
The remainder is the answer (always between 0 and m − 1).
Reveal the answer
12 \bmod 5 = 2