Example. [00DI]

What is 7 \mathbin {\mathbf {mod}} 11? This situation is sometimes confusing for students just learning about the % operator in a programming language, but applying the definition, we seek (q and) r such that 0 \leq r < 11 and 11 = 7q + r. The only values that fit the bill are q = 0 and r = 7. In other words, if we try to divide 7 by 11, we find that 0 copies of 11 fit into 7, and we are left with the same 7 we started with.