Solve any maths problem

Equations, derivatives, integrals, matrices, triangles, primes, statistics, or a word problem the tutor breaks into parts.

12 mod 4

12,\ 4

Step by step

  1. 12 = 3 \times 4 + 0

    Divide 12 by 4: the quotient is 3 and what is left over is the remainder.

  2. 12 \bmod 4 = 0

    The remainder is the answer (always between 0 and m − 1).

Reveal the answer
12 \bmod 4 = 0