In my math course, it is written that since over $\mathbb{F}_5[X]$, $P$ has no root in $\mathbb{F}_{25}$, it is irreducible over $\mathbb{Q}[X]$ by Gauss Lemma.
I don't really understand…
If we prove that $P$ is irreducible over $\mathbb{Z}[X]$, then Gauss proves it is over $\mathbb{Q}[X]$, but I don't understand what $\mathbb{F}_{25}$ is doing there…
The exact question was :" Find a prime $p$ such that the reduction of $P(X)$ over $\mathbb{F}_p[X]$ has no root in $\mathbb{F}_{p^2}$, then show that $P$ is irreducible"