Prove that the polynomial $f_n(x)=nx^{n+1}-(n+1)x^n+1$ is divisible by $(x-1)^2$ where $n\in\Bbb{N_1}$.
My Attempt
I've tried proving it by induction but can't find a way to prove it for $n+1$ after assuming it holds for $n$;
I've also checked it graphically, it seems that for all $n$ $f_n$ intersects the axes at $(0,1)$ and $(1,0)$;
I've also tried finding a factor $k$ such that $(x-1)^2k=f_n(x)$ for $n=3, n=4$ on WA but with no luck.