Modular arithmetic
Given two values
(though this can be expanded to other domains). We define modulo to be the remainder when dividing by . Write Then or equally (mod ).
Theory
Mod a given integer is an equivalence relation on
Modular arithmetic
Given two values
(though this can be expanded to other domains). We define modulo to be the remainder when dividing by . Write Then or equally (mod ).
Mod a given integer is an equivalence relation on