Definition
Two integers, a and b, are congruent modulo n if and only if they have the same remainder when divided by n
In other words, for some integer k (positive or negative):
a=b+kn
or
a−b=kn
When two numbers are congruent modulo n, it is denoted by:
a≡b(modn)
Manipulations in congreuence modulo n
**A1: ** Given that a≡b(modn), then a+c≡b+c(modn)
A2 Given that a≡b(modn) and c≡d(modn), then a+c≡b+d(modn)
**M1: ** Given that a≡b(modn), then ac≡bc(modn)
**M2: ** Given that a≡b(modn) and c≡d(modn), then ac≡bd(modn)
**M3: ** Given that a≡b(modn), then ac≡bc(modn)