It is given that $f(x)$ is a function defined on $\mathbb{R}$, satisfying $f(1)=1$ and for any $x\in \mathbb{R}$, $$f(x+5)\geq f(x)+5,$$ $$f(x+1)\leq f(x)+1.$$ If $g(x)=f(x)+1-x$ then find $g(2002)$.
Here, $$f(x+5)\leq f(x+4) +1,$$ I didn't get any idea..
You are in the right direction, just carry on:
$$f(x+5)\leq f(x+4) +1\leq f(x+3) +2\leq f(x+2) +3\leq f(x+1) +4\leq f(x) +5$$
Observe something fishy between the LHS and the RHS here? What can you say about $f(x)$ now?