Example 2.2.3
PRACTICE EXERCISES
1. Given n = 47 and d = 16, find the values of q and r such that n = dq + r and 0 < r < d.
2. Evaluate the following expressions:
a. 71 div 4
b. 17 mod 7
3. Prove that if n is an odd integer, then n2 mod 4 = 1.