Consider the set of polynomials with degree $n\leq 3$ with coefficients in $\mathbb{Z}_3$. A problem that I am working on is to determine the number of irreducible degree 3 monic polynomials.
My approach to this is to slowly construct the reducible polynomials, and then to subtract the number of those from the total number of possible polynomials.
There must be 6 prime linear factors since $ax+b$ must have $a$ being 1 or 2, and $b$ being 0, 1 or 2.
To construct reducible quadratic factors, I was initially tempted to just say that there are just $6+5+4+3+2+1=21$ of them since we just multiply any two of the 6 prime linear factors (including themselves).
But what I then realised is that this will over-count the number of reducible quadratic factors ie: $(2x+1)(2x+1)=x^2+x+1$ since we are working in mod 3.
I could work out all the cases by hand, but is there an easier way of counting the number of these reducible quadratic factors?
You counted $2x$, $2x+1$ and $2x+2$ but those are not monic. There are only three monic linears.
There are only nine monic quadratics $x^2+bx+c$. You can't have $c=0$ since that would be reducible. So that leaves six. To figure out which six just find the ones that have no roots in $\mathbb Z_3$.
– Gregory Grant May 24 '15 at 12:37