I am trying to improve my understanding of structure of $Z/nZ$.
Facts I know so far:
- $Z/nZ \cong \oplus_i Z/p_i^{k_i}$ - CRT(1).
$(Z/nZ)^* \cong \oplus_i (Z/p_i^{k_i})^*$. Not quite sure about my proof of this fact.(2)
Proof: We have $Z/nZ \cong \oplus_i Z/p_i^{k_i}$ and its isomorphism $\phi$ : $r \to (r_1, \dotso, r_m)$. Since homomorphism preserves inverses then $r^* \to (r_1^*, \dotso, r_n^*)$, where each $r_i$ must be a unit. Hence, every $r^*$ has its own unique (because of CRT isomorphism) inverse element.
$(Z/pZ)^*$ is cyclic of order $p - 1$. I don't understand this at all. Why its order is $p - 1$ and why it is cyclic?(3)
From previous statement we know $(Z/pZ)^*$ is cyclic: $(Z/p^{k}Z)^* = C_{p^{k} \ (p - 1)}$ , since $\phi(p^k) = p^{k}\cdot (p - 1)$.(4)
There is also a special case, when $p = 2$.
$(Z/2^{k}Z)^* = C_2 \times C_{2^{k - 2}}$ . It can be proven using the fact $ord\left<-1\right> = 2$, $ord\left<5\right> = 2^{k - 2}$ and $\left<5\right> \cap \left<-1\right> = {e}$.
From these facts I can conclude:
$(Z/pZ)^* \cong C_{p_2^{k_2} \ (p_2 - 1)} \times \dotso \times C_{p_n ^{k _ n} \ (p_n - 1)}\ \text{, if } (n \mod 2 = 0) \land (n \mod 4 \neq 0) \text{ note that in this case } C_{p_1 ^{k _ 1} \ (p_1 - 1)} = C_1 \text{ ,so the first term cancels out.} $.
$(Z/pZ)^* \cong C_2 \times C_{2^{k_1 - 2}} \times C_{p_2 ^{k _ 2} \ (p_2 - 1)} \times \dotso \times C_{p_n ^{k _ n} \ (p_n - 1)}$, since $(Z/2^{k}Z)^* = C_2 \times C_{2^{k - 2}}$, when $(n \mod 8 = 0)$
$(Z/pZ)^* \cong C_{p_1^{k_1} \ (p_1 - 1)} \times \dotso \times C_{p_n ^{k _ n} \ (p_n - 1)}$ , when $(n \mod 2 \neq 0) \ \lor ((n \mod 8 \neq 0) \land (n \mod 4 = 0)) $, because of (2).
My questions are:
Can you please verify my conclusion?
Why $(Z/pZ)^*$ is cyclic of order $p - 1$?
How we can prove the fact: $(Z/pZ)^*$ is cyclic $\Rightarrow n = 2, 4, p^k, 2p^k$?