For fixed $a\ge 2$, find $n$ such that $a^2+a+1$ divides $a^{2n}+a^n+1$.
If the statement is about polynomials (replacing $a$ by an indeterminate $x$), then I would argue by remarking that roots of $x^2+x+1$ are third roots of unity and then would get that all such $n$ are those which are not divisible by $3$. But here, $a$ is an integer greater than $2$, not a complex number.