Problem

Source: Baltic Way 2023/4

Tags: algebra



Find all functions $f: \mathbb{R} \rightarrow \mathbb{R}$ such that $$f(f(x)+y)+xf(y)=f(xy+y)+f(x)$$for reals $x, y$.