Let $z=\frac{1-i\sqrt{3}}{2}$, $i=\sqrt{-1}$. Then the value of $21+\left(z+\frac{1}{z}\right)^{3}+\left(z^{2}+\frac{1}{z^{2}}\right)^{3}+\left(z^{3}+\frac{1}{z^{3}}\right)^{3}+\ldots+\left(z^{21}+\frac{1}{z^{21}}\right)^{3}$ is ______.
Numerical-value question: the answer is a number.
Show answer
The answer is 13.
Key from source paper