A nice problem in analytic number theory -- Ilya Vinogradov

We will study a time-average of a function for which the ergodic theorem fails. This naturally leads to analysis of the rate of divergence of the average. Using the technique of continued fractions and some slick tricks we will be able to establish this rate and show how to solve similar problems.