Problem

Source: Belarus TST 2024

Tags: functional equation, algebra, TST



Find all functions $f: \mathbb{R} \to \mathbb{R}$ such that for any reals $x \neq y$ the following equality is true: $$f(x+y)^2=f(x+y)+f(x)+f(y)$$D. Zmiaikou