How to calculate a special sum?

43 Views Asked by At

Thank you for giving me an idea to try to find a way to calculate this sum: $$S= \sum_{i=0}^n \lfloor\sqrt{i} \rfloor$$