Problem

Source: 2019 Baltic Way P3

Tags: algebra, functional equation, Baltic Way



Find all functions $f:\mathbb{R}\to\mathbb{R}$ such that $$f(xf(y)-y^2)=(y+1)f(x-y)$$holds for all $x,y\in\mathbb{R}$.