TeX source:
\mathbf{P}: \operatorname{TC}\left(t_{1}, \ldots, t_{n} ; n\right)=n K+\sum_{i=1}^{n} R_{i}\left(t_{i-1}, t_{\mathrm{i}}\right)