a,b∈Z are congruent modulo n, if a mod n=b mod n. We write this as a=nb (i.e. they have the same remainder when divided by some n).