There are several similar questions already posted, such as (Integral of the difference between a function and its floor), but none seem to address my question in the general case.
Consider a monotonically decreasing f(x) which has no singularities over the integrated region. My question is about expressions of the form:
$$\int_n^\infty f(x) - f(\lfloor x \rfloor) \ dx $$
For example, if f(x) = $\frac{1}{x}$ and $n=1$ then the above expression converges to $-\gamma$ : the Euler–Mascheroni constant. Will this expression converge generally for these type of functions or are there counterexamples?