I'm trying to do an exercise of my homework that sais I have to prove that the iamge of $X$ in $K^{\times}=\left(\mathbb{F}_3[X]/(X^3-X^2+1)\right)^{\times}$ is a generator.
Acording to what I know, $K^{\times}$ have 26 elements. So, $\alpha^{26}$ must be 1 and $\alpha^{13}$ must be $-1$. But I've calculate this several times and I have $\alpha^{13}=X^2-1$
is the exercise wrong or it's me?