Riemann function for integers