Consider the following polynomial
$$ f_n(x)=x^{2n+1} - (2n+1)x^{n+1} + (2n+1)x^n - 1 $$
Try the first $n$, I find that the $(x-1)^3$ is its factor:
$$ f_1(x)=(x-1)^3,\\ f_2(x)=(x-1)^3 (x^2+3x+1),\\ f_3(x)=(x-1)^3 (x^4+3x^3+6x^2+3x+1),\\ \cdots $$ and that this is the complete factorization of $f_n(x)$ in $\mathbb{Z}[x]$.
But how can you prove that factoring out $(x-1)^3$ gives the complete factorization over $\mathbb{Z}$? That is, how can you prove that $f_n(x)/(x-1)^3$ is irreducible over $\mathbb{Z}$?
PS: I use Mathematica to test $n\leqslant 1000$, all is correct.
You can show that $\forall i\in\{0,1,2\}:f_n^{(i)}(1)=0$ and that $f_n^{(3)}(1)\neq 0$.