Triangular numbers [00C1]

What is the nth triangular number, \triangle _n = \sum _{j = 1}^n j ?

We can use a cute trick to compute it. First, write out the sum twice, but reversed the second time. Then add the two equations. \begin {array}{ccccccccccc} \triangle _n & = & 1 & + & 2 & + & \dots & + & (n-1) & + & n \\ +\triangle _n & = & n & + & (n-1) & + & \dots & + & 2 & + & 1 \\ \hline 2\triangle _n & = & (n+1) & + & (n+1) & + & \dots & + & (n+1) & + & (n+1) \end {array} We get n copies of n+1, so 2\triangle _n = n(n+1), and hence \triangle _n = \frac {n(n+1)}{2}.