Problem

Source: Croatia 2000 1st Grade P3

Tags: algebra, floor function



Let $m>1$ be an integer. Determine the number of positive integer solutions of the equation $\left\lfloor\frac xm\right\rfloor=\left\lfloor\frac x{m-1}\right\rfloor$.