Is there a particular formula for
$$ \sum_{i=1}^n i^2 \left \lfloor \frac{x}{i^2} \right \rfloor $$ where $x$ is an integer such that $n^2\leq x\leq (n+1)^2$. I have been trying for a long time and still not have reached to any conclusion.
Is there a particular formula for
$$ \sum_{i=1}^n i^2 \left \lfloor \frac{x}{i^2} \right \rfloor $$ where $x$ is an integer such that $n^2\leq x\leq (n+1)^2$. I have been trying for a long time and still not have reached to any conclusion.