Equivalence of Definitions of Triangular Number

Definition 1 implies Definition 2
Let $T_n$ be a triangular number by definition 1.

Let $n = 0$.

By definition:
 * $T_0 = 0$

By vacuous summation:
 * $\ds T_0 = \sum_{i \mathop = 1}^0 i = 0$

By definition of summation:


 * $\ds T_{n - 1} = \sum_{i \mathop = 1}^{n - 1} i = 1 + 2 + \cdots + \paren {n - 1}$

and so:

Thus $T_n$ is a triangular number by definition 2.

Definition 2 implies Definition 1
Let $T_n$ be a triangular number by definition 2.


 * $\ds T_n = \sum_{i \mathop = 1}^n i = 1 + 2 + \cdots + \paren {n - 1} + n$

Thus:


 * $\ds T_{n - 1} = \sum_{i \mathop = 1}^{n - 1} i = 1 + 2 + \cdots + \paren {n - 1}$

and so:
 * $T_n = T_{n - 1} + n$

Then:
 * $\ds T_0 = \sum_{i \mathop = 1}^0 i$

is a vacuous summation and so:


 * $T_0 = 0$

Thus $T_n$ is a triangular number by definition 1.

Definition 1 equivalent to Definition 3
We have by definition that $T_n = 0 = \map P {3, n}$.

Then:

Thus $\map P {3, n}$ and $T_n$ are generated by the same recurrence relation.