Show that $x^{p^n}-x$ is the product of all monic irreducible polynomials in $\mathbb{Z}/p\mathbb{Z}[x]$ of a degree $d$ dividing $n$.
Product of all monic irreducibles with degree dividing $n$ in $\mathbb{F}_{q}$?