Mathwords logoMathwords

Triangular Number — Definition, Formula & Examples

A triangular number is the total number of dots needed to form an equilateral triangle with n rows, where each row has one more dot than the row above it. The first few triangular numbers are 1, 3, 6, 10, 15, 21, 28, …

The nnth triangular number TnT_n is defined as the sum of the first nn positive integers: Tn=1+2+3++n=n(n+1)2T_n = 1 + 2 + 3 + \cdots + n = \dfrac{n(n+1)}{2} for any positive integer nn.

Key Formula

Tn=n(n+1)2T_n = \frac{n(n+1)}{2}
Where:
  • TnT_n = The nth triangular number
  • nn = A positive integer representing the number of rows (or the position in the sequence)

How It Works

To find the nnth triangular number, plug nn into the formula n(n+1)2\frac{n(n+1)}{2}. You can also think of it as stacking rows: row 1 has 1 dot, row 2 has 2 dots, row 3 has 3 dots, and so on. The total dot count after nn rows is your triangular number. A famous story attributes this shortcut to young Gauss, who noticed that pairing the first and last terms of 1+2++1001 + 2 + \cdots + 100 always gives 101, and there are 50 such pairs, yielding 5050.

Worked Example

Problem: Find the 8th triangular number.
Apply the formula: Substitute n = 8 into the formula.
T8=8×(8+1)2T_8 = \frac{8 \times (8+1)}{2}
Simplify: Multiply 8 by 9, then divide by 2.
T8=722=36T_8 = \frac{72}{2} = 36
Answer: The 8th triangular number is 36.

Visualization

Why It Matters

Triangular numbers appear in combinatorics: TnT_n equals (n+12)\binom{n+1}{2}, the number of ways to choose 2 items from n+1n+1 objects. They also show up when counting handshakes in a group, stacking objects in pyramids, and in number theory problems involving sums and partitions.

Common Mistakes

Mistake: Using n2/2n^2/2 instead of n(n+1)/2n(n+1)/2.
Correction: The formula requires multiplying nn by the next integer n+1n+1 before dividing by 2. For example, T4=4×5/2=10T_4 = 4 \times 5 / 2 = 10, not 42/2=84^2 / 2 = 8.