Problem

Source: Brazil TST 2000 Test 2 P2

Tags: functional equation, fe



Find all functions $f:\mathbb R\to\mathbb R$ such that (i) $f(0)=1$; (ii) $f(x+f(y))=f(x+y)+1$ for all real $x,y$; (iii) there is a rational non-integer $x_0$ such that $f(x_0)$ is an integer.