I have the following equation: $$x^2+x+1 = 0$$
And I should try to solve it in GF(2), GF(3) and GF(5) by trial and error. GF(3) was pretty easy, but is there even an answer for GF(2) and GF(5)? As far as I see it, you can't solve the equation in these two fields. Am I right?
Note that $GF(p)$ is isomorphic to $\mathbb{Z}_p$ for any prime $p$. In your case you can go through all elements and see whether it's a root of $f(x)=x^2+x+1$.
In $\mathbb{Z}_2$ we have $f(0)=f(1)=1$ so $f$ is irreducible over $\mathbb{Z}_2$.
In $\mathbb{Z}_3$ we have $f(1)=0$ and $x^2+x+1=(x-1)^2$.
In $\mathbb{Z}_5$ we have $f(0)=f(4)=1$, $f(1)=f(3)=3$, $f(2)=2$, so $f$ is irreducible over $\mathbb{Z}_5$.