How to factor a certain polynomial over $Zn$.
for example factor the following polynomial into irreducible polynomials in $Z5$:
$X^3+X^2+X-1$
or factor the following polynomial into irreducible polynomials in $Z2$:
$X^4+X+1$
is there a certain method (algorithm) I can follow?
Please help I'm stuck and i really need the help!
thank you in advance!!
The first one is easily proven to be irreducible since a polynomial of degree $\;\le 3\;$ is reducible over some field iff it has a root in that field.
For the second one observe that
$$x^4+x^2+1=(x^2+x+1)^2\in\Bbb F_2[x]$$