If I input:
Factor[x^2 + x + 1, Extension -> Sqrt[-3]]
Mathematica returns:
1/4 (-I + Sqrt[3] - 2 I x) (I + Sqrt[3] + 2 I x)
The coefficients in the factorization are not in $Q(\sqrt{-3})$. I was expecting something like:
$$ (x - z_3)*(x - (z_3)^2) $$
where $z_3$ is a primitive third root of unity.
Factor[x^2 + 2, Extension -> Sqrt[-2]]
. Interestingly, the output ofFactor[x^2 + 1, Extension -> Sqrt[-1]]
is of the form you were originally expecting. $\endgroup$