S=\sum_{k=1}^{N}(k-1)=\frac{(N-1)N}{2}
Embed the image to your blog in HTML, Markdown, Textile, BBCode.