The set [tex]G[/tex] of all integers in the interval [tex]\left[1 , 4036\right][/tex] that are coprime to [tex]4036[/tex] is a group under multiplication modulo [tex]4036[/tex] (for example, the product of [tex]7[/tex] and [tex]1007[/tex] in [tex]G[/tex] is [tex]3013[/tex], since [tex]7\times 1007\equiv 3013 \pmod{4036}[/tex]). How many subgroups does [tex]G[/tex] have?
Solution:
We have [tex]4036=2^2\times 1009[/tex], and [tex]1009[/tex] is prime. By the Chinese remainder theorem [tex]\mathbb{Z}_{4036}\cong\mathbb{Z}_4×\mathbb{Z}_{1009}[/tex] as rings, so for the group of units
[tex]G\cong\mathbb{Z}_4^*×\mathbb{Z}_{1009}^*\cong C_2×C_{1008}[/tex]
Here [tex]\mathbb{Z}_4^*=\{1, 3\}\cong C_2[/tex], and [tex]\mathbb{Z}_{1009}^*\cong C_{1008}[/tex], because the multiplicative group of a finite field is cyclic. Since [tex]1008=2^4\times 3^2\times 7[/tex], we have [tex]C_{1008}\cong C_{16}×C_9×C_7[/tex], so
[tex]G\cong(C_2×C_{16})×C_9×C_7[/tex]
This is the decomposition of [tex]G[/tex] into its Sylow subgroups. In a finite abelian group every subgroup [tex]H[/tex] is the product of its intersections with the Sylow subgroups: each [tex]h\in H[/tex] splits uniquely as [tex]h=h_2h_3h_7[/tex], and each [tex]h_p[/tex] is a power of [tex]h[/tex], so [tex]h_p\in H[/tex]. Hence, denoting by [tex]s(K)[/tex] the number of subgroups of a group [tex]K[/tex],
[tex]s(G)=s(C_2×C_{16})\,s(C_9)\,s(C_7)[/tex]
A cyclic group of order [tex]m[/tex] has exactly one subgroup for each divisor of [tex]m[/tex], so [tex]s(C_9)=3[/tex] and [tex]s(C_7)=2[/tex]. Now let [tex]C_2×C_{16}=\langle a\rangle×\langle b\rangle[/tex]. For [tex]1\le k\le 4[/tex] the number of elements whose order divides [tex]2^k[/tex] is [tex]2\times 2^k[/tex], so there are [tex]3[/tex], [tex]4[/tex], [tex]8[/tex], [tex]16[/tex] elements of order [tex]2[/tex], [tex]4[/tex], [tex]8[/tex], [tex]16[/tex], respectively. A cyclic subgroup of order [tex]2^k[/tex] has [tex]\varphi(2^k)[/tex] generators, so the number of cyclic subgroups is
[tex]1+\frac{3}{1}+\frac{4}{2}+\frac{8}{4}+\frac{16}{8}=1+3+2+2+2=10[/tex]
A non-cyclic subgroup [tex]H[/tex] is (by the structure theorem for finite abelian groups) a product of two non-trivial cyclic [tex]2[/tex]-groups, so it has at least [tex]3[/tex] elements of order [tex]2[/tex]; hence it contains all three elements of order [tex]2[/tex] of [tex]C_2×C_{16}[/tex], in particular [tex]a[/tex]. If [tex]a\in H[/tex], then [tex]a^eb^m\in H[/tex] implies [tex]b^m\in H[/tex], so [tex]H=\langle a\rangle×K[/tex] with [tex]K=H\cap\langle b\rangle[/tex]; such a subgroup is non-cyclic exactly when [tex]K[/tex] is non-trivial. This gives [tex]4[/tex] non-cyclic subgroups (one for each [tex]K[/tex] of order [tex]2[/tex], [tex]4[/tex], [tex]8[/tex], [tex]16[/tex]). Therefore
[tex]s(C_2×C_{16})=10+4=14,\qquad s(G)=14\times 3\times 2=84[/tex]