The question comes to me when I find there are answers on summation of some forms of trigonometric functions, i.e. $$ \sum\limits_{k=1}^{n-1} \frac{1}{\sin^2(\frac{k\pi}{n})}\\ \sum\limits_{k=0}^{n-1} \tan(\frac{k\pi}{n})\\ $$ Sum of the reciprocal of sine squared
Sum of tangent functions where arguments are in specific arithmetic series
To show the identity of $\sum\limits_{k=0}^{n-1} \frac{1}{\tan^2(\frac{k\pi}{n})}$ should be trivial as the summand can be rewritten as $\frac{1}{\sin^2(\frac{k\pi}{n})}-1$.
I am wondering what is the following summation: $$ \sum\limits_{k=1}^{n-1} \frac{1}{\sin(\frac{k\pi}{n})}? $$
Repeated summation of the beta function yields $$\sum_{k=1}^{n-1}\frac\pi{\sin\pi k/n}=\sum_{k=0}^{n-2}\int_0^\infty\frac{ns^k}{1+s^n}\,ds$$ which can also be derived using Ramanujan's master theorem. Equivalently, $$\sum_{k=1}^{n-1}\csc\frac{\pi k}n=\frac{2n}\pi\int_0^1\frac{s^{n-1}-1}{(s-1)(s^n+1)}\,ds.$$ For a general $n$, the integral has no closed form.