MathDB
Solve this equation.

Source:

December 31, 2006
floor functionfunctionalgebra

Problem Statement

Let aa be a positive integer. How many non-negative integer solutions x does the equation xa=xa+1\lfloor \frac{x}{a}\rfloor = \lfloor \frac{x}{a+1}\rfloor have?  \lfloor ~ \rfloor —> [url=http://en.wikipedia.org/wiki/Floor_function]Floor Function.