Ragnarok7
- 50
- 0
Prove that $$\lfloor nx \rfloor = \sum_{k=0}^{n-1}\lfloor x+k/n \rfloor$$.
Note $$\lfloor x\rfloor$$ means the greatest integer less than or equal to $$x$$.
I proved the cases where n=2 and n=3 by writing $$x=\lfloor x\rfloor + \{x\}$$, where $$\{x\}$$ is the fractional part of $$x$$, and then using cases where $$0\leq \{x\}<\frac{1}{n}$$, $$\frac{1}{n}\leq \{x\}<\frac{2}{n}$$, $$\ldots$$, $$\frac{n-1}{n}\leq\{x\}<1$$. However, this is tedious and doesn't work in the general case. Does anyone have any suggestions for showing this? I don't see that induction will help.
Thank you!
Note $$\lfloor x\rfloor$$ means the greatest integer less than or equal to $$x$$.
I proved the cases where n=2 and n=3 by writing $$x=\lfloor x\rfloor + \{x\}$$, where $$\{x\}$$ is the fractional part of $$x$$, and then using cases where $$0\leq \{x\}<\frac{1}{n}$$, $$\frac{1}{n}\leq \{x\}<\frac{2}{n}$$, $$\ldots$$, $$\frac{n-1}{n}\leq\{x\}<1$$. However, this is tedious and doesn't work in the general case. Does anyone have any suggestions for showing this? I don't see that induction will help.
Thank you!