My friend sent me an interesting question: For all non-negative integers $x$, show that:
$$(1+i)^x + (1-i)^x = 2 \sum_{j=0}^{\lfloor x/2\rfloor}\binom{x}{2j}(-1)^j$$
I've tried induction on $x$, but that didn't seem to do the trick. Some hints as to how to approach this proof would be greatly appreciated.
Hint: Use $$ (1+x)^n=\sum_{j=0}^n\binom{n}{j}x^j. $$ Using $$ i^{2j}+(-i)^{2j}=2(-1)^j, i^{2j+1}+(-i)^{2j+1}=0 $$ one has \begin{eqnarray} &&(1+i)^x + (1-i)^x \\ &=& \sum_{j=0}^x\binom{x}{j}\bigg(i^j+(-i)^j\bigg)\\ &=&2\sum_{j=0}^{\lfloor x/2\rfloor}\binom{x}{2j}(-1)^j \end{eqnarray}