Problem

Source: 2022 Swedish Mathematical Competition p2

Tags: algebra, functional equation



Find all functions $f : R \to R$ such that $$f(x + zf(y)) = f(x) + zf(y), $$for all $x, y, z \in R$.