Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

For any $x \in \mathbb{R}$ and $m \in \mathbb{N} $ evaluate $\lfloor \frac{x}{m} \rfloor + \lfloor \frac{x+1}{m} \rfloor + \dots + \lfloor \frac{x+m-1}{m} \rfloor $.

Well if $x=m$ then we obviously have $\lfloor \frac{x}{m} \rfloor + \lfloor \frac{x+1}{m} \rfloor + \dots + \lfloor \frac{x+m-1}{m} \rfloor = 1 + 1 + \dots + 1=m$.

If $x=-m$ then $\lfloor \frac{x}{m} \rfloor + \lfloor \frac{x+1}{m} \rfloor + \dots + \lfloor \frac{x+m-1}{m} \rfloor=-m $.

If $x=0$ then $\lfloor \frac{x}{m} \rfloor + \lfloor \frac{x+1}{m} \rfloor + \dots + \lfloor \frac{x+m-1}{m} \rfloor=0 $.

There are many such cases I can think of, but something tells me there might be an easier solution.

share|improve this question
    
this fucntion is periodic $ f(x)=f(x+m) $ so you could try a Fourier series representation for it –  Jose Garcia Oct 11 '13 at 16:06

1 Answer 1

up vote 1 down vote accepted

This is known as Hermite's identity. The result will always be $\lfloor x \rfloor$.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.