Find $\displaystyle \sum_{n=1}^{89}\tan^2\bigg(\frac{n\pi}{180}\bigg)$.
I didn't have any idea to solve this problem :/ Can someone give a hint for me?
What is the best strategy to solve problems of the type $\displaystyle \sum_{k=1}^{n}\tan^2(k\theta)?$
$\mathcal{Hint}$
$$0=\tan(180x)=\binom{180}{1}\tan x-\binom{180}{3}\tan^3x+...+\binom{180}{177}\tan^{177}x-\binom{180}{179}\tan^{179}x$$
Where $x=\frac{n\pi}{180}$ for $n=0,1..89,91,...,179$ i.e $179$ values .
Divde by $\tan x$ and consider $\tan^2x=y$.