I believe that the answer is yes.
Here's my thinking:
- $x^n + y^n -(x+y)(x^{n-1} + y^{n-1}) = -x^{n-1}y -xy^{n-1}$
- $-x^{n-1}y -xy^{n-1} - (x+y)(-x^{n-2}y -xy^{n-2}) = x^{n-2}y^2 + x^2y^{n-2}$
- So, at each step, we get $(-1)^{c}(x^{n-c}y^{c} + x^{c}y^{n-c})$ with $c$ increasing by $1$ at each step and
- Since $n$ is odd, eventually, we get: $(-1)^c(x^{c}y^{c+1} + x^{c}y^{c+1}) = (x+y)(-1)^c(x^{c}y^{c})$
Am I correct? Am I making any mistakes in my thinking?
If this is correct, is the standard formula:
$$x^n + y^n = (x+y)(x^{n-1} -x^{n-2}y -xy^{n-2} + \dots + (-1)^{\frac{n-1}{2}}x^{\frac{n-1}{2}}y^{\frac{n-1}{2}} + y^{n-1})$$
Thanks,
-Larry
Edit: Fixed the equation based on comment.
Your reasoning is fine.
A more general result is that for any positive integer $n$, and integers $u,v$, $u^n-v^n$ is divisible by $u-v$. This theorem is easier to prove by induction since you are proving for all $n$.
Your theorem then follows when $n$ is odd by setting $u=x,v=-y$ so $u-v=x+y$ and $u^n-v^n=x^n+y^n$.