Evaluate $\sum_{k=0}^{511}\frac{\sin\frac\pi{2^{11}}}{\sin\frac{(4k+1)\pi}{2^{12}}\sin\frac{(4k+3)\pi}{2^{12}}}$ I need to evaluate
$$\sum_{n=0}^{511}\frac{\sin\frac\pi{2^{11}}}{\sin\frac{(4n+1)\pi}{2^{12}}\sin\frac{(4n+3)\pi}{2^{12}}}$$
Please give me some hint!
The final answer is $2^{10}$.
By CuriousGuest's answer, we need to prove
$$\cot\frac{\pi}{2^{12}}-\cot\frac{2046\pi}{2^{12}}+\cot\frac{2\pi}{2^{12}}-\cot\frac{2047\pi}{2^{12}}=2^{10}$$
any idea?

Using the partial fractional decomposition, the sum can be restated as
$$\huge {\sum_{k=0}^{511} \cot{\frac{4k+1}{2^{12}}\pi} - \cot{\frac{4k+3}{2^{12}}\pi}}$$
Summing in reverse order gives
$$\huge {\sum_{k=0}^{511} \tan{\frac{4k+3}{2^{12}}\pi} - \tan{\frac{4k+1}{2^{12}}\pi}}$$
Using the identity $\cot{\theta} - \tan{\theta} \equiv 2\cot{2\theta}$
Gives us
$$\huge {\sum_{k=0}^{511} \cot{\frac{4k+1}{2^{11}}\pi} - \cot{\frac{4k+3}{2^{11}}\pi}}$$
Repeat this process until the denominator is equal to $4$.
The observant reader will realise that another application results in a vanishing sum, and therefore, is invalid.
$$\huge {\sum_{k=0}^{511} \cot{\left(k+\frac{1}{4}\right)\pi} - \cot{\left(k+\frac{3}{4}\right)\pi}}$$
$$\huge {\sum_{k=0}^{511} 1-(-1)} = 512 \times 2 = 1024$$
