Math Fundamentals18 sections · 814 units
Open in Course

Modulo Examples

Concrete calculations

Let me show you several examples:

\bullet 10mod3=110 \bmod 3 = 1 (because 10=3×3+110 = 3 \times 3 + 1)

\bullet 15mod4=315 \bmod 4 = 3 (because 15=4×3+315 = 4 \times 3 + 3)

\bullet 20mod5=020 \bmod 5 = 0 (because 20=5×4+020 = 5 \times 4 + 0)

When the remainder is 00, the first number divides evenly into the second. This is how you check if a number is divisible by another.