We can be sure, that $$\lim\limits_{n\to\infty}n\sin(\frac{\pi}{n})=\lim\limits_{n\to\infty}n\tan(\frac{\pi}{n})=\pi$$ then we have $$\sum\limits_{n=2}^{\infty}\left(\pi-n\sin(\frac{\pi}{n})\right)=k\approx3,132961$$ What is the type of constant is this? How and where can I calculate it more precisely?
If I made some mistakes, sorry for my English.
The Taylor series is simple to compute: $$ \pi-n\sin\left(\frac\pi{n}\right)=\frac{\pi^3}{6n^2}-\frac{\pi^5}{120n^4}+\frac{\pi^7}{5040n^6}-\frac{\pi^9}{362880n^8}+\dots\tag1 $$ Then we can apply the Euler-Maclaurin Sum Formula to $(1)$: $$ \begin{align} \sum_{k=2}^n\left(\pi-k\sin\left(\frac\pi{k}\right)\right) &=C-\frac{\pi^3}{6\,n}+\frac{\pi^3}{12\,n^2}-\frac{10\pi^3-\pi^5}{360\,n^3}-\frac{\pi^5}{240\,n^4}\\ &+\frac{140\pi^3+70\pi^5-\pi^7}{25200\,n^5}+\frac{\pi^7}{10080\,n^6}\\[6pt] &-\frac{10080\pi^3+3528\pi^5+252\pi^7-\pi^9}{2540160\,n^7}+O\!\left(\frac1{n^8}\right)\tag2 \end{align} $$ where $O\!\left(\frac1{n^8}\right)\approx-\frac1{25\,n^8}$
To compute $17$ places of $C$, we can plug $n=100$ into $(2)$ and get $$ C\approx3.13296163014845984\tag3 $$ To compute more places, we can use larger values of $n$, or include more terms of the asymptotic series. For example, if we use $n=2000000$ in $(2)$, we get $$ C\approx3.132961630148459846354891433606669183587072526209347\tag4 $$ Extending the asymptotic series to include terms up to $O\!\left(\frac1{n^{21}}\right)\approx\frac{16288}{n^{21}}$ and using $n=1000$, we get $$ C\approx3.1329616301484598463548914336066691835870725262093474610113\tag5 $$