I want to find all irreducible polynomials over $\mathbb{F}_3$ up to degree $2$ and I wonder if there's a better method than the following.
The polynomials are of form $aX^2 + bX +c$. So I have to check $3\cdot3\cdot3=27$ polynomials. First, I write down the $6$ irreducible polynomials of order one $X, X+1, X +2, 2X, 2X+1, 2X+2$. The $3$ polynomials with $a=b=0$ are not irreducible by definition.
So I'm left with $18$ polynomials of degree 2. The $6$ polynomials with $c=0, a \neq 0$ are obviously reducible, so I'm left with $12$ polynomials. Checking if they have roots are $24$ operations.