MathLabs

Problem 4

Determine all positive integers nn for which xn+(2+x)n+(2−x)n=0x^n+(2+x)^n+(2-x)^n=0 has an integer solution.
Step 5 of 6: Factor the sum of the two odd powers
(1+y)n+(1−y)n=2T,T=∑k=0n−1(−1)k(1+y)n−1−k(1−y)k is odd(1+y)^n+(1-y)^n=2T,\qquad T=\sum_{k=0}^{n-1}(-1)^k(1+y)^{n-1-k}(1-y)^k\text{ is odd}
Detailed analysis

For odd nn, use an+bn=(a+b)(an−1−an−2b+⋯+bn−1)a^n+b^n=(a+b)(a^{n-1}-a^{n-2}b+\cdots+b^{n-1}) with a=1+ya=1+y and b=1−yb=1-y. Since yy is even, both aa and bb are odd; the second factor TT is a sum of nn odd terms, and nn is odd, so TT is odd. The equation becomes yn=−2Ty^n=-2T.