Problem

Source: INMO 2023 P3

Tags: number theory, functions, INMO 2023, v_2



Let $\mathbb N$ denote the set of all positive integers. Find all real numbers $c$ for which there exists a function $f:\mathbb N\to \mathbb N$ satisfying: for any $x,a\in\mathbb N$, the quantity $\frac{f(x+a)-f(x)}{a}$ is an integer if and only if $a=1$; for all $x\in \mathbb N$, we have $|f(x)-cx|<2023$. Proposed by Sutanay Bhattacharya