Key Concepts
- Modulus gives remainder:
a % b. - Odd/even check:
n % 2. - Useful in hashing, cyclic patterns, scheduling.
Illustration
Placeholder: number line showing division and remainder.
Practice
- Compute
17 % 5. - Is 42 even? Use modulus.