Why are there many ways to write 27 = 4q + r, and which choice of r is the remainder long division gives?
Loading…
The many solutions of
Build the table of for to , note how changes as grows, and mark the pair with the smallest nonnegative as the long-division answer.
Remainder of a negative integer,
Tabulate , pick the smallest nonnegative , and record that the quotient is and the remainder is , not .
Congruence as an equation,
Write the definition, then prove that and give , factoring as times an integer.