Problem 1007: (2024 AIME II, 13)
Let $\omega\neq 1$ be a $13$th root of unity. Find the remainder when \[ \prod_{k=0}^{12}(2-2\omega^k+\omega^{2k}) \] is divided by $1000$.
- $2-2\omega+\omega^2=(\omega-1)^2+1=(\omega-(1+i))(\omega-(1-i))$.
- $\prod_k(a-\omega^k)=a^{13}-1$, so the product is $\bigl((1+i)^{13}-1\bigr)\bigl((1-i)^{13}-1\bigr)$.
- $(1\pm i)^{13}=-64\mp64i$, so the product is $(-65-64i)(-65+64i)=8321$. The answer is $\boxed{321}$.
Let $\omega\neq 1$ be an $11$th root of unity. Find the remainder when \[ \prod_{k=0}^{10}(2-2\omega^k+\omega^{2k}) \] is divided by $1000$.