$f:\mathbb{N}\to \mathbb{R}$ is bounded above and satisfies $$f(n)\le \frac{f(n+1)+f(n-1)}{2}$$ Does it follow $f$ is constant ?
I assumed $f$ achieves a maximum $M$ , suppose $n_0$ is the smallest solution of $f(x)=M$ then applying the conditions for $n=n_0$ we reach a contradiction, but since the range is $\mathbb{R}$ it may not achieve maximum, for example $f(n)=2-\frac{1}{n}$ is bounded above by $2$ but it is never reached, so we have a problem there. Any help will be welcome. Also, if we remove boundedness, we see any convex function works, so boundedness is necessary. Thanks in advance for all help.