Let denote the Riemann zeta function. Prove that

**Solution**

*Background: **I have always been of the opinion that integrals of this form diverged when integrated from something to infinity. Apparently, this is not the case since the above not only converges but it has a nice closed form involving the Riemann zeta function. The technique to break it down , is pretty simple actually. Integration by parts! Yep! We combine IBP along with Fourier series and **voilà. However, somewhere in the middle of this evaluation process we will come across a famous constant , ** , coming literally out of nowhere. But this is what to expect when reducing trigonometric integrals to logarithmic ones.*

We begin our evaluation by stating two lemmata:

**Lemma 1: **It holds that .

*Proof: *Successively, we have that:

where is the Catalan’s constant. Also,

which is the known Fourier series expansion of the function.

**Lemma 2: **It holds that .

*Proof: *Successively, we have that:

Hence,

Let’s expand on some things here.1.Let denote the -th harmonic number. It holds that:( the proof is left to the reader )

2.Following it is easy to see that:The second series is an old chestnut.

3.It holds that:Proof:Successively we have that:and similarly,

Hence,

since if-f both and are even and otherwise.

4.On the other hand we can get the generating function of the previous series. It is known thatIntegrating once more we get the generating function!