What is the solution of the following functional equation? (I must confess it is a headache for me.)
Find all the functions $ f : \mathbb Z \to \mathbb Q $ such that $$ f \left( \frac { x + y } 3 \right) = \frac { f ( x ) + f ( y ) } 2 $$ fora ll $x , y \in \mathbb Z $ such that $ \frac { x + y } 3 \in \mathbb Z $.
I'd appreciate your help and comments. I've tried it a lot but until today I'm not able to solve it... :/