Problem

Source: Cyprus 2022 Junior TST-2 Problem 1

Tags: algebra, floor function, equation



Determine all real numbers $x\in\mathbb{R}$ for which \[ \left\lfloor \frac{x}{2} \right\rfloor + \left\lfloor \frac{x}{3} \right\rfloor=x-2022. \]The notation $\lfloor z \rfloor$, for $z\in\mathbb{R}$, denotes the largest integer which is less than or equal to $z$. For example: \[\lfloor 3.98 \rfloor =3 \quad \text{and} \quad \lfloor 0.14 \rfloor =0.\]