The following has come up in the course of my research. I'm looking for a function $ f : \mathbb Z ^ \star \to \mathbb R $ such that $$ 2 f ( i ) - f ( i + j ) - f ( i - j ) = \lambda j $$ for all $ i \ge 0 $ and all $ j $ such that $ 0 \le j \le i $, where $ \lambda $ is a positive real parameter.
If I let $ f ( k ) = - \frac 1 2 \lambda k ^ 2 $ then I get $ 2 f ( i ) - f ( i + j ) - f ( i - j ) = \lambda j ^ 2 $, but I haven't been able to guess a function where it evaluates to $ \lambda j $. I have a suspicion that no such function exists, but how can I show this? Alternatively, if there is such a function, what is it?