This is LaTeX code:

[latex]
 f(n+1) = \frac{f(n) + f(n+2)}2
[/latex]