Find all $f : \mathbb{N} \to \mathbb{N}$ such that $$f(a) + f(b) \mid a+b, \ \forall \ a, b \in \mathbb{N}$$
All I can find is the following:
If we put $a=b=n$ we get $f(n)\mid n$, so $f(n)\leq n$ for all $n \in \mathbb{N}$.
So $f(1)=1$ and we have $f(n)+1\mid n+1$.
Any suggestion how to proceed?
As mentioned in the comments we have that $f(p-1) = p-1$ for a prime $p$. Now let $n \in \mathbb{N}$. There exists prime $p$ s.t. $p-1 > n$. Then we have:
$$f(n) + p - 1 \mid n + p-1$$
We have that the greatest proper divisor of $n+p-1$ is bounded from above by $\frac{n+p-1}{2} < p-1$
But $f(n) + p - 1 > p -1$, so it must be $n+p-1$. Hence $f(n) = n$ and the proof.