What properties must some function $f(n)$ have for it to be the case that: $f(n) = (n + 3) \mod m = (n \mod m) + (3 \mod m)$?
Similarly, what if $f(n) = (n + 3) \mod m = (n \mod m + 3)?$
Is this something that is well studied? Where might I go to find more information?
Suppose here that $n,m \in \mathbb{Z^+}$ $-$ {$0$}, that the equation holds for all or some subset of $m,n$ and that 'mod' stands for the standard modular arithmetic operator.