Problem

Source: Middle European Mathematical Olympiad 2022, problem I-1

Tags: functional equation, 2022, P1, Reals, Surjective, memo, MEMO 2022



Find all functions $f: \mathbb R \to \mathbb R$ such that $$f(x+f(x+y))=x+f(f(x)+y)$$holds for all real numbers $x$ and $y$.