5

The problem is to calculate the value

$$ \sum_{i = 1}^{1000} \left\lfloor \frac{1}{\sqrt{i} - \lfloor \sqrt{i} \rfloor} \right\rfloor $$

Where $ i $ is not perfect square number.

My thought is, if I can calculate the sum

$$ \sum_{m = 1}^{M} \sum_{k = 1}^{2m} \left\lfloor \frac{\sqrt{m^2+k} + m}{k} \right\rfloor $$

then I can solve the original problem.

And I also know that $ \left\lfloor \frac{x + m}{n} \right\rfloor = \left\lfloor \frac{\lfloor x \rfloor + m}{n} \right\rfloor $

So I just need to calculate

$$ \sum_{m = 1}^{M} \sum_{k = 1}^{2m} \left\lfloor \frac{2m}{k} \right\rfloor $$

Then, it's difficult for me.

I have tried to exchange the sum-order of $ m $ and $ k $, that is

$$ \sum_{k = 1}^{2M} \sum_{m = 1}^{M} \left\lfloor \frac{2m}{k} \right\rfloor $$

While I could not calculate the sum of $ \frac{2m}{k} $, in fact it is easier if it is $ \frac{m}{k} $

So I ask some advices for you : )

easymath3
  • 972

0 Answers0