Problem

Source: MOP 2005 Homework - Blue Group #23

Tags: floor function, inequalities, algebra solved, algebra



Find all real numbers $x$ such that $\lfloor x^2-2x \rfloor+2\lfloor x \rfloor=\lfloor x \rfloor^2$. (For a real number $x$, $\lfloor x \rfloor$ denote the greatest integer less than or equal to $x$.)