Hey all,
I was just wondering if anyone had come across the following identities, valid for $m\in\mathbb{N}$. I've used Abramowitz and Stegun, Maple, Mathematica etc but can't find them anywhere. I can prove these, though they happen 'accidentally' from a method which I am already looking at. Anyway the identities are
$$\sum_{k=1}^m \left(\tan\left(\frac{\pi(2k-1)}{4m}\right)\right)^2=m(2m-1) \hspace{4mm} \textrm{and} \hspace{4mm} \sum_{k=1}^m \left(\tan\left(\frac{\pi k}{2m+1}\right)\right)^2=m(2m+1)$$
and
$$\sum_{k=1}^m \left(\tan\left(\frac{\pi(2k-1)}{4m}\right)\right)^4=\frac{1}{3}m(2m-1)(4m^2+2m-3) \hspace{4mm} etc$$
There are other identities for all even powers but I haven't worked them out yet as I thought that there might not be any point if there are known results for these summations. It would be cool if there were lists of such identities, or even a general formula, as this would provide me with many useful references indeed!
Many thanks on Christmas!

