So this is my thought process:
$$ \begin{align} (e^{i(\frac{2\pi}{3})})^n &= (e^{i(\frac{2\pi n}{3})}) \\ &= \cos{(\frac{2\pi n}{3})} + i \sin{(\frac{2\pi n}{3})} \\ \end{align} $$
This is real when
$$ \begin{align} \sin{(\frac{2\pi n}{3})} &= 0 \\ \frac{2\pi n}{3} &= k\pi, \; k \in \mathbb Z \\ n &= \frac{3k}{2}, \; k \in \mathbb Z \\ \end{align} $$
But my books says that the answer is
$$n = 3k, \; k \in \mathbb Z^+$$
Which I don't understand. What am I doing wrong? (Or is the book perhaps wrong?)