Question: Find the values of $n$ for which
$$(1+i)^{2n}=(1-i)^{2n}$$
wolfram alpha tells me that the answer should be :
$$n=\frac{2i\pi m}{\log(1-i)-\log(1+i)}$$
$$n=-\frac{i(2\pi m+\pi)}{\log(1-i)-\log(1+i)}$$
PS:I have no idea about the answer. I know de Moivre's theorem and complex logs and I am sure this one could be solved by combinig the two.
My miserable attempt:
$2^{n} e^{\frac{i\pi n}{2}}=2^{n} e^{\frac{-i\pi n}{2}}$
Now assuming $n$ is real, cancelling $2^n$ on both sides
$ e^{\frac{i\pi n}{2}}= e^{\frac{-i\pi n}{2}}$
$\frac{n \pi}{2}=\frac{-n \pi}{2}+ 2 \pi k$
$n\pi =2 \pi k$
$n=2k$ which is far from being correct
$$\frac{(1+i)^2}{(1-i)^2}=\frac{2i}{-2i}=-1$$
$$\implies(-1)^n=1$$