Getting solutions to questions with floor functions, like:
solve for x:$$ \left \lfloor{x} \right \rfloor\ - n \cdot \left \lfloor{\frac{x}{n}} \right \rfloor\ = y$$ $$st.: \ x ∈\{0, \mathbb{R^{+}} \}, \ y ∈\mathbb{Z},\ n ∈\mathbb{Z^{+}},$$
has troubled my little brain for some time now.
This equation, of course, isn't my actual problem, but if I learn how to solve it, I can work other problems. Can anyone help? I would really appreciate any guidance about the thought process required to get to the solution.
Thanks for taking the time.