In this book (M. Abramowitz, I. Stegun (Eds.), Handbook of Mathematical Functions with Formulas, Graphs and Mathematical Tables, Dover Publications, New York, 1972), page 807, Equation 23.2.17, it is stated that it is possible to represent the odd values of the Riemann zeta function as this integral:
$$\zeta\left(2n+1\right) = \frac{\left(-1\right)^{n+1}\left(2\pi\right)^{2n+1}}{2\left(2n+1\right)!}\int_{0}^{1}B_{2n+1}\left(x\right)cot\left(\pi x\right)dx$$
I just don't understand how to prove this, I've looked everywhere and haven't found decent proof of this. How can this be correct if $x^ncot(\pi x)$ can not be evaluated at 1?