The first factor is irreducible since it has no rational zeros. Considered as a polynomial in C[X] the factorization is
Considered as a polynomial in Z/2Z[X], the factorization is
However, the converse does not hold. There
are polynomials f
Z[X] which are irreducible but factorize modulo each
prime p. An example is f(X) =
X4 + 1. Modulo 2 it factorizes as
(X + 1)4 and modulo 3 as
(X2 - X - 1) (X2 + X - 1). It
carries too far to show that X4 + 1 factorizes modulo
every prime.