# How to evaluate the following improper integral? [duplicate]

$$\int_{0}^{\infty}\frac{1}{1+x^{2n}}dx = ?$$
$$\frac{\frac{\pi}{2n}}{\sin{\frac{\pi}{2n}}}$$