(1+i)^{k+1}=2^{\frac{k+1}{2}}{\Big (\cos{\frac{(k+1)\pi}{4}+i\sin{\frac{(k+1)\pi}{4}}}\Big )}