Interactive · 5 questions
Modular Arithmetic : Introduction
What is modular arithmetic? We'll get to that in a minute - first start with this.
What is the remainder when is divided by ?
Correct!
Another question:
What is the remainder when is divided by ?
Notice that the remainders are the same when we divide and by .
It is sort of lengthy to write out this sentence. Modular arithmetic gives us the notation to write this sort of statement, which is called an equivalence. In modular arithmetic notation, we could write .
One last preliminary question before we give a formal definition:
What is the remainder when is divided by ?
Now, how are these questions related to modulo arithmetic? Pick the correct definition :
Two integers and are congruent modulo (where is a positive integer) if and only if
Two integers and are congruent modulo (where is a positive integer) if and only if .
In other words, if two numbers leave the same remainder when divided by , they are congruent. This is usually denoted as or sometimes .
Based on your remainder work above, which of the following is correct?
We'll look at the properties of modular arithmetic in the next part.