I know that the following ring is not a field because the defining polynomial is reducible into two polynomials that are irreducible: $$\mathbb Z_2[X]/(x^5+x+1)$$ where $$x^5 + x + 1 = (x^2 + x + 1) (x^3 + x^2 + 1)$$
Is it possible to determine the number of elements of the ring?
$\mathbb{Z_2[x]}/(x^5+x+1) \cong \mathbb{Z_2[x]}/x^2+x+1 \times \mathbb{Z_2[x]}/x^3+x^2+1$ (Chinese Remainder Theorem)
$\mathbb{Z_2[x]}/(x^2+x+1)=\{\bar{1},\bar{0},\bar{x},\overline{(x+1)}$}
$\mathbb{Z_2[x]}/(x^3+x^2+1)=\{\bar{1},\bar{0},\bar{x},\overline{(x+1)}, \bar{x^2}, \overline {x^2+1}, \overline{x^2+x+1}, \overline{x^2+x}\}$