On the functional equationϕ(x)+ϕ(y)=ψ(T(x,y))