2023 OIM Problems/Problem 2
Problem
Let be the set of integers. Find all functions
such that:
for each integer .
Solution
Consider the equation mod :
\begin{align*}
0f(f(x))+(-1)x^2&\equiv(-1)f(x)+0[f(x)]^2+1\pmod{2023}\\
-x^2 &\equiv -f(x)+1 \pmod{2023}\\
f(x) &\equiv x^2+1 \pmod{2023}\\
\end{align*}
Thus by definition, for every integer
, there exists some integer
such that
If we substitute this into the initial functional equation, we get:
Thus the only functional equation possible is
, which works upon substitution.
See also
https://sites.google.com/associacaodaobm.org/oim-brasil-2023/pruebas