Toolkit 47
Modular Arithmetic: Definition and Properties
Definition
is congruent to modulo if and only if their difference is divisible by :
Properties
Proof
1.
Proof.
Since
and
we have
2.
Proof.
If
then
Since
we also have
Therefore,
3.
Proof.
Since
we have
and since
we have
Adding these two divisibilities,
so
4.
Proof.
Since
we obtain
and
Therefore,
and
5.
Proof.
Since
we have
and since
we have
Adding the two divisibilities,
so
Subtracting the two divisibilities,
so
Also,
and
Adding these,
so
6.
Proof.
Using Property 5 repeatedly,
multiplied by itself times gives
7.
Proof.
Let
and write
where
Since
we have
Hence
so
Since
Euclid's Lemma gives
Therefore,
If
then
Multiplying by ,
Multiplying by ,
which is equivalent to
8.
Proof.
Since
we have
Because
it follows that
Therefore,