modular arithmetic can be used to show the idea of congruence. in general, given a positive integer "n", two integers "a" and "b" are congruent modulo n, if they have the same remainder when both are divided by "n". congruence can be written this way: