@AméricoTavares I looked into
your question and I couldn't come up with more than what WimC did. I agree with Generic Human's comment that the series may or may not diverge (as with the Euler-Maclaurin Sum Series), but the point is that in general it is hard to show convergence/divergence, and we are only interested in a finite number of terms anyway to get the asymptotic behavior of $f$.