Find all functions $f: \mathbb{Z}\rightarrow\mathbb{Z}$ such that:
$$f(f(m)+n)+f(m)=f(n)+f(3m)+2014$$
for every $m, n \in \mathbb{Z}$.
I'm completely stuck after trying to plug different things into the above functional equation. I would like to know a complete solution to this problem please.
Much of what we see is just smoke and mirrors.
Any functional equation looks simple once it is solved. So I'd rather put the answer before the solution: $$f(x)=2x+1007$$ Now the boring part.
So it goes.