This is LaTeX code:
[latex]
n_p = n - d_{p-1}
[/latex]