Problem

Source: Ibero Peru TST 2018

Tags: floor function, algebra



Find all real numbers $a$ such that there exist $f:\mathbb{R} \to \mathbb{R}$ with$$f(x+f(y))=f(x)+a\lfloor y \rfloor $$for all $x,y\in \mathbb{R}$