MathDB
f(x+y)-f(x)-f(y) and f(xy)=f(x)f(y) are integers (f:Q--->Q)

Source: 2022 Thailand Online MO P10

April 4, 2022
functionFunctional Equationsalgebranumber theoryfunctional equation

Problem Statement

Let Q\mathbb{Q} be the set of rational numbers. Determine all functions f:QQf : \mathbb{Q}\to\mathbb{Q} satisfying both of the following conditions.
[*] f(a)f(a) is not an integer for some rational number aa. [*] For any rational numbers xx and yy, both f(x+y)f(x)f(y)f(x + y) - f(x) - f(y) and f(xy)f(x)f(y)f(xy) - f(x)f(y) are integers.