Problem

Source: 2020 NZMO Round 1

Tags: function, functional equation, algebra



Find all functions $f:\mathbb R \to \mathbb R$ such that for all $x,y\in \mathbb R$ $f(x+f(y))=2x+2f(y+1)$