{ "problem": "Determine all functions $f: \\mathbb{Z} \\rightarrow \\mathbb{Z}$ such that, for all $x, y \\in \\mathbb{Z}$, we have \\[ f(2x)+2f(y)=f(f(x+y)).\\]", "solution": "By taking $x = 0$, we get $f(0) + 2f(y) = f(f(y))$ for all $y\\in \\mathbb{Z}$. So, the problem becomes:\n $$ f(2x) + 2f(y) = f(0) + 2f(x + y) $$\n Taking $x = 1$ for this one, we quickly obtain that $2(f(y+1) - f(y)) = f(2) - f(0) \\Leftrightarrow f(y+1)-f(y) = (f(2)-f(0))/2$, so $f$ is linear, that is there exists $k,c$ such that $f(x) = kx+c$. Plug this back into the original equation, we see $f(x) = 2x+c$ and $f(x)=0$ are all possible solutions, and these indeed satisfy the given condition", "grading_guidelines": "(Partial)\n 1. Guessed the solution correctly\n 2. Proved $f(f(y)) = 2f(y) + f(0)$ and $f(2x) + 2f(0) = f(f(x))$\n(Almost)\n 1. Solved correctly, but did not check that the finding candidates are indeed the solutions to the given equation.", "problem_id": "PB-Basic-001", "level": "basic", "category": "Algebra", "source": "(Modified) IMO 2019, P1", "max_score": 7, "difficulty": "IMO-easy", "short_answer": "$f(x) = 0$ and $f(x) = 2x + c$ for all integer $x$ and some constant $c$." }