This is LaTeX code:
[latex]
P_{r}^{n+1}=r! + r(P_{r-1}^{n} + P_{r-1}^{n-1} + \ldots + P_{r-1}^{r})
[/latex]