I want to write a formula where I can say that I have to get the remainder of a division by 4.
$y = \mathbf{remainder}(x\div4)$
Is there any math nomenclature I can use?
I want to write a formula where I can say that I have to get the remainder of a division by 4.
$y = \mathbf{remainder}(x\div4)$
Is there any math nomenclature I can use?
For integer $x$, put $\,y\,$ equal to $\;\bf x \;\text{mod}\; 4\;$. The "mod" operator will return the remainder when $x$ is divided by $4$.
See, for example: remainders: Modular Arithmetic
Note: In computer programming, this is often denoted $\;x\, \%\, 4$, where $x$ is an integer.
You can say $y=x\pmod 4$
See modular arithmetic.