Show that if $\gcd(a,b)=1$ and $p$ is an odd prime, then ${\gcd(a+b,}\frac{a^p +b^p}{a+b}$$) = 1$ or $p$
Sorry about the duplicate
In another answer, however, the sum $\sum\limits_{k=0}^{n-1} (-1)^{k}a^{n-1-k}b^{k}$ was expressed as $\left(\sum\limits_{k=0}^{n-2} (-1)^{k}(k+1)a^{n-2-k}b^{k}\right)(a+b) + (-1)^{n-1}nb^{n-1}$
How was it done?