I am having difficulty with this Olympiad question:
Let $r \geq 1$ be a real number such that whenever $m$ divides $n$ (for any positive integers $m$ and $n$), it is also true that $\left \lfloor mr \right \rfloor$ divides $\left \lfloor nr \right \rfloor$. Show that $r$ is an integer.
Had no idea where to begin as it mixes the floor function with divisibility.
Let $\{x\}$ denote fractional part, i.e. $x = \lfloor x\rfloor + \{x\}$.
Observation 1: When $x$ is doubled, either the integer and fractional part both double, or if this would cause the fractional part to reach or exceed 1, then 1 "rolls over" from the fractional part to the integer part. In other words: If $\{x\} < \frac 12$, then $\lfloor 2x\rfloor = 2\lfloor x\rfloor$ and $\{2x\} = 2\{x\}$; if $\{x\}\ge\frac 12$, then $\lfloor 2x\rfloor = 2\lfloor x\rfloor + 1$ and $\{2x\} = 2\{x\}-1$.
Observation 2: If $k>1$ is an integer, then $k$ does not divide $2k+1$.
Now we argue by contradiction. Suppose $r$ is not an integer, and choose an integer $a$ such that $ar>2$ and $ar$ is not an integer. Consider the sequence $ar,2ar,4ar,8ar,\ldots,2^nar,\ldots$. If the fractional part of any term in this sequence is $\ge\frac 12$, then Observations 1 and 2 give a contradiction. If not, then the fractional parts double forever, but this is not possible because $ar$ has positive fractional part and yet all fractional parts must be smaller than 1. Thus we are finished.