Suppose we have the equation $x^2+x+1$ over the field $\mathbb{Q}_p$. is it possible to determine for what primes $p$ the equation has solutions?
I tried to see whether this is related to what $p$ is modulo $4$ by using quadratic reciprocity but it didn't work. I also looked for Hensel's lemma and didn't come up with anything. Do you have any suggestion for approaching this problem?
$(x-1)(x^2+x+1) = x^3-1$ so if $x^3 \equiv 1 \pmod p$, then $3|\phi(p) \implies p \equiv 1 \pmod 3$.
Note this holds for $p > 3$.