it's a semantics problem, not a maths problem - modulus and remainder are not the same operation. This easily trips up people since `%` is often called "modulo", yet is implemented as remainder operation in many languages
https://stackoverflow.com/questions/13683563/whats-the-diffe...