Prove: $\forall n \in \mathbb{N}, \exists k \in \mathbb{N}, \forall x \in \mathbb{R}, \lfloor nx \rfloor - n \lfloor x \rfloor \leq k$.
So far I have only tried some examples and it works, but I don't have any approaches to the proof. Could someone guide me?
Let $n\in\mathbb{N}$ and $x\in\mathbb{R}$, $\lfloor nx\rfloor\leqslant nx$ and $n\lfloor x\rfloor\geqslant n(x-1)$ so that $\lfloor nx\rfloor-n\lfloor x\rfloor \leqslant n$. It suffices to take $k=n$, which is independant of $x$.