Is the following polynomial irreducible in $\mathbb{Z}[x]$ or in $\mathbb{Q}[x]$?
$x^5 - 5x^4 + 7x^3 + x^2 + x - 1$
If it's reducible, there should be a linear factor with degree $1, 2$ or $3.$
I try $\mathbb{Z}_2[x]$ and we get $x^5 +x^4 + x^3 + x^2 + x + 1$ looking for roots $f(0) = 1$ and $f(1) = 6 = 6 \mod 2 = 0$. So it's reducible in $\Bbb Z_2[x]$?
Does this help me? I see the polynomial is also primitive, so if I prove that it's irreducible in $\mathbb{Q}[x]$ or $\mathbb{Z}[x]$, then it's also irreducible in $\mathbb{Z}[x]$ or $\mathbb{Q}[x]$.
If I use rational root system, there is no root for $x^5 - 5x^4 + 7x^3 + x^2 + x - 1$, so there can only be a decomposition in degree $2+3$.
I don't know how to show now, that it's irreducible.