Find the ratio of
$\sum_{r=1}^n$ $\tan^2({rπ\over 17})$ and $\prod_{r=1}^n$$\tan^2({rπ\over 17})$
My attempt : I noticed that calculating them separately and then finding ratio is next to impossible. So I thought of somehow making a polynomial whose roots are $tan^2({rπ\over 17})$ , so that I can find the ratio by the ratio of sum and product of roots. But I am not able to form such a polynomial. I tried to write
$\sin(17 \theta)=0$
And then tried to convert it to a polynomial of $\cos(2\theta)$ , and then replace $\cos(2\theta)$ by $ {1-\tan^2(\theta)\over 1+\tan^2(\theta)} $ but that approach was too hard to follow. Maybe I need some better way to proceed with this method itself.
Or else I am pretty sure that it can be done in a less hectic way by complex analysis. Although I tried to find $\cos(17\theta)$ in terms of $\cos(2\theta)$ using de Moivre's theorem but I faced difficulties in that too.
Could someone please help me with this ?
Thanks.