Which elements in $\mathbb{Z}_5$ have multiplicative inverses?
I have drawn this in a small table:
*|0 1 2 3 4
-----------
0|0 0 0 0 0
1|0 1 2 3 4
2|0 2 4 1 3
3|0 3 1 4 2
4|0 4 3 2 1
Everywhere in table where we see a $1$ we have multiplicative inverse I think, so in total we have $4$ multiplicative inverses, is that right?
Is there a more efficient way answering this question? Because making table is too exhausting.