Let $f = x^5 + x^4 + x^3 -2 x^2 + x + 1$. Does $\text{Gal}(f)$ equal to $A_5$?
By calculating the discriminant of $f$, I get $\text{Disc}(f)=42849=207^2$. So $\text{Gal}(f)$ is a subgroup of $A_5$. Also, since $5$ divides $|\text{Gal}(f)|$, $|\text{Gal}(f)|$ could be $5,15,20,60$.
I also noticed that $\text{Gal}(f)$ should have a 3-cycle. The reason is that $f$ modulo $3$ has exactly two roots: $\bar{1},\bar{2}$. As a result, $\bar{f} = (x^3 + x^2 + 2x + 2)(x+2)(x+1)$.
So that rules out $5$ and $20$. How should I proceed from here?