Problem

Source: Belarusian national olympiad 2024

Tags: algebra, functional equation



Find all functions $f: \mathbb{R} \to \mathbb{R}$ such that for every $x,y \in \mathbb{R}$ the following equation holds:$$1+f(xy)=f(x+f(y))+(y-1)f(x-1)$$M. Zorka