definition of modular arithmetic
Modular arithmetic. Time-keeping on a clock gives an example of modular arithmetic. Modular arithmetic, sometimes also called clock arithmetic, is a way of doing arithmetic with integers. Much like hours on a clock, which repeat every twelve hours, once the numbers reach a certain value, called the modulus, they go back to zero. People talked about modular arithmetic in many ancient cultures.