Euler's formula
$$e^{i\pi}+1=0$$
is famous because it combines
- five constants: $e, i, \pi, 1, 0$
- four operations: exponentation, multiplication, addition, equality
The following function is probably not as famous as Euler's equation, even though it is of comparable importance: $\omega(x,y,n) := x / n^y\ \text{mod}\ n $:
$$x / n^y\ \text{mod}\ n $$
It combines three operations: division, exponentation and modulo and gives the $y$-th digit of $x$ represented in base $n$.
My questions are:
- Does this function already have a common name?
- If not so, wouldn't be "Leibniz' function" be appropriate, because Leibniz was such an early advocate of the binary system?