Problem 994: (1990 AIME, 10)
The sets $A = \{z : z^{18} = 1\}$ and $B = \{w : w^{48} = 1\}$ are both sets of complex roots of unity. The set $C = \{zw : z \in A ~ \mbox{and} ~ w \in B\}$ is also a set of complex roots of unity. How many distinct elements are in $C$?
- Every product $zw$ is a $144$th root of unity, since $\operatorname{lcm}(18,48)=144$.
- Conversely, with $\gcd(18,48)=6$, $e^{2\pi i/18}$ and $e^{2\pi i/48}$ generate all $144$th roots: $e^{2\pi i(8a+3b)/144}$ with $8a+3b$ taking every residue.
- So $C$ has $144$ elements. The answer is $\boxed{144}$.
The sets $A = \{z : z^{12} = 1\}$ and $B = \{w : w^{50} = 1\}$ are both sets of complex roots of unity. The set $C = \{zw : z \in A ~ \mbox{and} ~ w \in B\}$ is also a set of complex roots of unity. How many distinct elements are in $C$?