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