Consider the field $\mathbb{F}_q$, where $q$ is a power of $p$, say $q=p^n$. Let $f=x^q-x-a\in\mathbb{F}_q[x]$, with $a\in\mathbb{F}_q$. I'm trying to determine the degree of the irreducible factors of $f$ in $\mathbb{F}_q$. Now I already solved this for $a=0$, since, $$x^q-x=x^{p^n}-x=\prod_{g \text{ monic, irreducible, deg}(g)\mid n}g,$$ but, for $a\neq 0$, I can't seem to make any progress at all.
Thanks in advance!