Problem

Source: Swiss 2015

Tags: function, algebra, functional equation



Find all functions $f: \mathbb{R} \rightarrow \mathbb{R}$, such that for arbitrary $x,y \in \mathbb{R}$: \[ (y+1)f(x)+f(xf(y)+f(x+y))=y.\]