Again a little bit of a flashback to my earliest steps in doing mathematical research. The **Pentagonal number theorem** is one of the most beautiful theorems in number theory. It uses the **Pentagonal numbers** to get a recursion for the partition function . This can be written as ( typo on the board) . The usual way to write this is which has a ++– pattern but using the **pentagonal numbers** on the integers makes the formula more elegant and sees it as a super sum. Euler derived this by looking at and its reciprocal . In the first case, we see the **Pentagonal numbers**, in the second we see the **Partition numbers**.

Around 2008, while working with J**ohn Lesieutre** about almost periodic Dirichlet series the topic of **Birkhoff sums ** came up. This can be studied in a bit more general frame work by looking at **almost periodic Taylor series ** of **almost periodic Dirichlet series **. We proved that if is Diophantine and $g$ is smooth, then the almost periodic Dirichlet series has an analytic continuation to the entire complex plane. What happens if g is no more smooth? With **Folkert Tangerman**, we looked at the case . See the paper “Self-similarity and growth in Birkhoff sums“. Writing . If , then and . These are finite product versions of the infinite product. For more, see the golden rotations summary. Especially interesting is the Birkhoff sum of the cotangent function. It is a random walk with almost periodically correlated random variables which have infinite variance. What happens there is that the random walk has a fractal almost periodic limit. See the paper “Selfsimilarity in the Birkhoff sum of the cotangent function”. The topic illustrates that sometimes, it can be interesting to look at very special problems like picking the **most natural real number** “the golden ratio” (constant continued fraction expansion 11111) and the **most natural periodic function** (constant Fourier series 1111111 “the cotangent function” and combine them. Magic happens because the random walk has now a self-similar structure: for IID random variables , the random walk is boring: by the **law of large numbers** converges for to the linear function for and almost all , the underlying probability space. With correlations but with ergodicity and finite variance, this still is boring: **Birkhoffs ergodic theorem** still assures that we converge to that boring f(x)=x growth, almost everywhere. The magic starts when we do not have finite variance, nor have de-correlated random variables any more. And the cotangent function is the prototype where produces random variables which have a **Cauchy distribution**. There is still a **central limit theorem** (I talked about this on my youtube channel last year for a couple of Saturdays in the context of high risk Stochastic processes but realized then that all this has been known since Levy and Kolmogorov!) In the almost periodic, infinite variance case (a topic I got into with work with Tangermann), the limiting function can become much more interesting. In the case when the random variables are (with starting point with golden ration , there is an explicit fractal limiting function. That’s what I called the **“Golden Graph”.**