I am asked Is $3$ a generator of $(Z_5;+$5$)$? What about $2, 1,$ and $4$?
I found that
$3^1 = 3 % 5 = 3$
$3^2 = 9 % 5 = 4$
$3^3 = 27 % 5 = 2$
$3^4 = 81 % 5 = 1 $
$3^5 = 243 % 5 = 3$
Thus i found it isn't a generator. However, the answer indicates that it is. More specificaly that
$3^1= 3 $
$3^2= 1 $
$3^3= 4$
$3^4= 2$
$3^5= 0$
Could anyone explain why this is? I am confused.