Prove that for \(n> 0\) the polynomial \(nx^{n + 1} - (n + 1) x^n + 1\) is divisible by \((x - 1)^2\).