SUM-manipulations and author's clarifications
I understand all this SUM-manipulations excluding one moment.
Knuth wrote:
The only 'difficult' maneuver is the decision made between lines 3 and 4 to treat n = 1000 as a special case. (The inequality $k^3 <= n <(k + 1)^3$ does not combine easily with $1 <= n <= 1000$ when k =10.)
I didn't get why these 2 inequalities do not combine easily? As for me, they combine fine when k=10 (n=1000 is ok for both inequalities).
But of course, if we leave $[1<=n<=10]$ instead of author's $[1<=n<10]$ we will get another wrong answer (W=205).
Could you help me understand the difficulties in smooth combination these two inequalities? Because I don't see the reason for this.
Thank you.
P.S. If you need additional clarification from my side please say me which one.