\sum_{k=0}^{n-1}\left\lfloor\frac{m+k}n\right\rfloor=m