Problem

Source: Israel National Olympiad 2016 Q7

Tags: algebra, functional equation, function



Find all functions $f:\mathbb{Z}\rightarrow\mathbb{C}$ such that $f(x(2y+1))=f(x(y+1))+f(x)f(y)$ holds for any two integers $x,y$.