Problem

Source: Philippine Mathematical Olympiad 2024 P1

Tags: algebra, functional equation



Let $f:\mathbb{Z}^2\rightarrow\mathbb{Z}$ be a function satisfying \[f(x+1,y)+f(x,y+1)+1=f(x,y)+f(x+1,y+1)\]for all integers $x$ and $y$. Can it happen that $|f(x,y)|\leq 2024$ for all $x,y\in\mathbb{Z}$?