Consider
$ f(n) = \begin{cases} 0 & \quad \text{if } n \text{ is even}\\ 1 & \quad \text{if } n \equiv 1 \text{ mod } 4\\ -1 & \quad \text{if } n \equiv -1 \text{ mod } 4 \end{cases} $
How is it possible to show then that $f(.)$ is multiplicative ?
Consider
$ f(n) = \begin{cases} 0 & \quad \text{if } n \text{ is even}\\ 1 & \quad \text{if } n \equiv 1 \text{ mod } 4\\ -1 & \quad \text{if } n \equiv -1 \text{ mod } 4 \end{cases} $
How is it possible to show then that $f(.)$ is multiplicative ?
Copyright © 2021 JogjaFile Inc.
To show that, you have to consider the different cases and the compatibility of product with the $\equiv [4]$ relation. If $n \equiv x[4]$ and $m \equiv y [4]$, then $nm \equiv xy [4]$. So: