Prove that if $p$ is a prime number, the polynomial $f(x)=1+x+\cdots +x^{p-2}+x^{p-1}$ is irreducible in $\mathbb{Z}[x]$.
I tried using Eisenstein Criterion and the Rational Root Theorem, also, I know that $f$ is irreducible over $\mathbb{Z}$ if and only if it is irreducible over $\mathbb{Q}$ because of the Gauss' Lemma. Maybe writing $x^p-1=(x-1)f(x)$ and proving $x^p-1$ dos not have any other roots may help, but I don't know.