Is there a way to find the number of subgroups of the multiplicative group $\mathbb{Z}_{n}^{\times}$?
For example, the number of subgroups of $\mathbb{Z}_{2020}^{\times}\cong\mathbb{Z}_{2}\times\mathbb{Z}_{4}\times\mathbb{Z}_{100}$.
When the given number $n$ become quite large, it was hard to find it because there were more and more cases to think about.
Anyone can help my problem? or Give some advice. Thank you!
Yes, it is a complicated mess in general because you have to count the number of "diagonals".
First, rewrite the abelian group $G$ into primary decomposition $G=G_{p_1}\oplus G_{p_2}\oplus\dots\oplus G_{p_r}$. Then the subgroup lattice of $G$ is the product of the lattice of $G_{p_i}$, so in particular the number of subgroups is the product for various prime factors of $\lvert G\rvert$. In our present example $(\mathbb{Z}/2020)^\times=(C_2\oplus C_4\oplus C_4)\oplus C_{25}$, and it is clear $C_{25}$ has 3 subgroups.
To determine the number of subgroups in the $2$-part, we will need to get our hands slightly dirty. First a lemma
Let's define a "diagonal" $D$ with respect to the decomposition $G=H\oplus K$ to be a subgroup of $G$ such that $D+H=D+K=G$ and $D\cap H=D\cap G=\{0\}$. Then there is a bijection between diagonals with respect to $G=H\oplus K$ and isomorphisms $\phi\colon H\to K$, given by regarding $D$ a the graph of the isomorphism. Moreover, for an arbitrary subgroup $L$ of $H\oplus K$, we have $L/((L\cap H)\oplus(L\cap K))$ is a diagonal of $\frac{\operatorname{proj}_HL}{L\cap H}\oplus\frac{\operatorname{proj}_KL}{L\cap K}$.
So we can count the number of subgroups that are not product of subgroups by counting diagonals in the product lattice.
Proof This can be established by laborious counting, or establishing the 6 possible diagonals with respect to the subgroup lattice $\{0\}<C_2<C_4$ of the $C_4$s. $2^2=4$ diagonals $C_2\to C_2$, and there is two diagonals $C_4\to C_4$. QED.
Proof: Using the previous claim, there are 30 subgroups that are direct factors $C_2\oplus(C_4\oplus C_4)$. Now we need to count diagonals $C_2\to C_2$, which is the same as the number of inclusions of index 2 subgroups in the subgroup lattice of $C_4\oplus C_4$. There are 12 from direct product, each $C_2\to C_2$ contributes 2, and finally the two $C_4\to C_4$ contributes two each from $\langle(2,2)\rangle$ to the subgroup and to $\langle(2,0),(1,1)\rangle$. So there are a total of 24 diagonals, so 30+24=54 subgroups. QED.
So in total, there are 108 subgroups of $(\mathbb{Z}/2020)^\times$.