Mathematicians call it “the arithmetic of congruences.” You can think of it as clock arithmetic. Tem...