Let $N$ be the number of complex numbers $z$ with the properties that $|z|=1$ and $z^{5!}-z^{4!}$ is a real number. Find the remainder when $N$ is divided by $1000$.
With $z=e^{i\theta}$ we need $\sin120\theta=\sin24\theta$: either $96\theta\in2\pi\mathbb Z$ ($96$ values) or $144\theta\in\pi+2\pi\mathbb Z$ ($144$ values), with $48$ values in common.