The Question:
Find all primes $p$ such that $\phi(x)=x^{13}$ is a homomorphism $\Bbb Z/p\Bbb Z \rightarrow \Bbb Z/p\Bbb Z$
My Thoughts:
So from what I understand
\begin{align} \ & \phi:\Bbb Z/p\Bbb Z \rightarrow \Bbb Z/p\Bbb Z \quad\text{is a homomorphism} \\ \ \iff & \phi(xy) \equiv \phi(x)\phi(y) \pmod p \quad \forall \; x,y\\ \ \iff & (xy)^{13}\equiv x^{13}y^{13} \pmod p\quad \forall \; x,y \end{align}
But isn't $(xy)^{13}\equiv x^{13}y^{13} \pmod p\quad \forall \; x,y$ always true, regardless of $p$?
Or is there something I am not understanding?
The notation "$xy$" is really $x\cdot y$ where $\cdot$ is the operation in $\mathbb{Z}/p\mathbb{Z}$, ie $\cdot=+$, where "+" is the sum $\mod p$.
Then, "$(xy)^{13}=x^{13}y^{13}$" means $(x+y)^{13}=x^{13}+y^{13}$