0
$\begingroup$

Let $p$ be natural prime number. For $m \in \mathbb{Z}$, let $\overline{m}$ denote the remainder of $m/p$. For $\mathbb{Z}_p$ = $\{x\in \mathbb{Z}; x \geq0$ and $x

$(+):$ $m(+)n=\overline{m+n}$

Let $f:\mathbb{Z} \rightarrow \mathbb{Z}_P$ such that $f(n)=\overline{n}$.

Prove that $f(m+n)=f(m)(+)f(n)$.

My attempt:

Given $m,n \in \mathbb{Z}$, write $m=ap+\overline{m}$ and $n=bp+\overline{n}$. Therefore, it follows that $m+n=p(a+b)+\overline{m}+\overline{n}$. In particular, $\overline{m}+\overline{n} = m+n-p(a+b)$.

So, $f(m+n)=\overline{m+n} = \overline{p(a+b)+\overline{m}+\overline{n}} = \overline{m}+\overline{n}= m+n-p(a+b)$.

And $f(m)(+)f(n)=\overline{m}(+)\overline{n}=\overline {\overline{m}+\overline{n}} = \overline{m+n-p(a+b)}=m+n$.

I can't see how this can be equal. For me it is only true that $f(m+n)=f(m)+f(n)$.

1 Answers 1

0

It's not true that:

$$\overline{\overline{m}+\overline{n}} = \overline{m}+\overline{n}$$

Take, for example, $p=3, m=5, n=2$. Then $\overline{\overline{5}+\overline{2}} = \overline{2+2} = 1$, not $2+2 = 4$ ($4$ is not even a member of $\mathbb{Z}_p$).

Instead, you can prove roughly along the lines you took, that: $$\overline{m+n} = \overline{\overline{m}+\overline{n}} = \overline{m}(+)\overline{n}$$

It may be helpful to note that for all $m \in \mathbb{Z}$, $\overline{m} \in \mathbb{Z}_p$. And also, if $m \in \mathbb{Z}_p$, then $\overline{m} = m$. So $f(m) = f(\overline{m}) = \overline{f(m)}.$

Also, note that $(+)$ is defined for elements of $\mathbb{Z}_p$, not for integers in general.

  • 0
    But it is true that $\overline{m+n}=\overline{m}+\overline{n}$, right? And if $\overline{m+n}=\overline{\overline{m}+\overline{n}}=\overline{m}(+)\overline{n}$ is true, since $\overline{m+n}=\overline{m}+\overline{n}$ is true (i think so), wouldn't that imply that $\overline{\overline{m}+\overline{n}}=\overline{m}+\overline{n}$?2017-01-12
  • 0
    No, think of the example I gave $p=3, m=5, n=2$. $\overline{5+2} \neq 2 + 2 = 4$; instead $\overline{5+2} = 2 (+) 2 = 1$. When you use '$+$' as the operator, you are doing standard addition. When you use the special '$(+)$' operator, you are doing something different.2017-01-13