Let $\theta \geq 0$ and consider the sum $$\sum_{n \leq x} \left\lfloor \frac{x}{n} \right\rfloor^{-\theta}.$$.
I have seen the claim that there is a constant $c(\theta)$ (depending on $\theta$!) such that this sum equals $$c(\theta)x+O(1),$$ where the implicit constants inside of the $O$ sign are independent of $\theta.$ Why is this true?
This is from an exercise in a book on Number Theory, and in the first part of the exercise, one was asked to prove the identity
$$\sum_{n \leq x} f(n) G(x/n) = \sum_{m \leq x} (G(m)-G(m-1))F(x/m)$$ where $F$ is the summatory function of an arithmetic function $f$ and $G$ the summatory function of some arithmetic function $g.$ This is probably relevant, but I do not see why.