I'm trying to find functions $f$ over $\mathbb R$ which satisfy $$ f\left(\frac{x+y+1}{2}\right) = \frac{f(x)+f(y)}{2} $$ for all real $x$ and $y$. One thing I immediately note is that shifting any potential function by a constant preserves the above identity, so I can assume $f(0) = 0$ and so $f(\frac{x+1}{2}) = \frac{f(x)}{2}$ for all real $x$. I can then rewrite the left side of the above equality to deduce $$f(x + y) = f(x) + f(y)$$ for all real $x$ and $y$, which is the well-known Cauchy functional equation. Clearly, non-zero affine solutions do not work, so $f$ is either the zero function or is some highly pathological function.
Can such a pathological solution be compatible with the requirement that $f(\frac{x+1}{2}) = \frac{f(x)}{2}$?

