Recall from my previous post that given a function , we define , the *Dirichlet generating function* of , by

We also proved that : the product of Dirichlet generating functions is the Dirichlet generating function of the Dirichlet convolution. Now, consider taking in the above definition. We get

which is also often written as just plain . This function is quite famous: it is the *Riemann zeta function*. The reason it is so famous is because it is the subject of a famous unproved conjecture, the *Riemann hypothesis*, which in turn is famous because it has been both difficult to prove—many mathematicians have been attacking it for a long time—and deeply related to many other areas of mathmatics. In particular it is deeply related to prime numbers. If you want to understand the Riemann hypothesis better, I highly recommend reading the (truly wonderful) Secrets of Creation Trilogy, especially the first two volumes, which explain it from first principles. (I have previously written about the Secrets of Creation trilogy on this blog: a review of Volume 1 is here, and here is my review of Volume 2). In this post I just want to help you understand a few cool things about the zeta function.

Remember that , so we must have . Also recall that when but it equals otherwise, so in fact

since the only nonzero term is . All together, then, we have

and hence

For example, consider :

This converges to something, although a priori it is not obvious what. By writing a simple computer program, or by asking Wolfram Alpha, we can add up, say, 1000 terms and find that it is approximately . Apparently, the reciprocal of this number is given by

where each numerator is . Again, we can use a computer to check that this sum is approximately : and sure enough, this is approximately !

It turns out that converges to *exactly* (!!!)—hopefully I can write another blog post explaining that (to be honest at the moment I don’t know how to prove it). We also know that

and there is actually a formula giving for any even positive integer. is called *Apéry’s constant*, since Roger Apéry proved in 1978 that it is irrational; but we don’t know of any nice formula for it.

I will leave you with a few things to prove that you may find amusing:

Recall that is the number of divisors of , and is the sum of divisors of ; to prove these you will want to reference some facts we proved about and in terms of Dirichlet convolution.

Next time, we’ll see another way to relate the zeta function to prime numbers.