Triangular numbers

Triangular numbers follow n(n+1)/2 and count dots that form a triangle.

Math Calculators

Number Sequence & Pattern Solver

Explore interactive step-by-step calculations and visual graphs for these numbers.

Numbers in this Collection

10 = 1 + 2 + 3 + 4

#n (number)Detail
10T0 = 0
21T1 = 1
33T2 = 3
46T3 = 6
510T4 = 10
615T5 = 15
721T6 = 21
828T7 = 28
936T8 = 36
1045T9 = 45
1155T10 = 55
1266T11 = 66
1378T12 = 78
1491T13 = 91
15153T17 = 153
16666T36 = 666
174095T90 = 4095

What Are Triangular Numbers?

A triangular number counts objects arranged in an equilateral triangle. Starting with a single dot at the apex, each successive row adds one more dot than the previous row:

0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105, 120, 136, 153, 171, 190, 210, …

The n-th triangular number represents the total sum of all positive integers from 1 through n.

Gauss's Closed-Form Formula

Formula for the n-th Triangular Number

Tₙ = n(n + 1) / 2 = (n² + n) / 2 = C(n + 1, 2)

According to legend, young Carl Friedrich Gauss solved this formula at age 10 when tasked with summing numbers from 1 to 100 by pairing 1+100, 2+99, 3+98 (50 pairs of 101 = 5,050).

Relationship to Perfect Squares

Tₙ₋₁ + Tₙ = n²

Combining two consecutive triangular configurations forms a complete n × n square grid!

Key Theorems & Practical Combinatorics

The Handshake Problem

If n people gather in a room and everyone shakes hands with everyone else once, the total number of handshakes is exactly Tₙ₋₁ = n(n − 1) / 2.

Gauss's Eureka Theorem

In 1796, Gauss recorded in his journal: "EYPHKA! num = Δ + Δ + Δ", proving that every positive integer can be written as the sum of at most three triangular numbers.

Pascal's Triangle Diagonal

Triangular numbers appear naturally down the third column (diagonal) of Pascal's triangle: 1, 3, 6, 10, 15, 21, 28, 36...

Frequently Asked Questions

How can you check if an integer N is triangular?

An integer N is triangular if and only if 8N + 1 is a perfect square. The index n is then given by n = (√(8N + 1) − 1) / 2.

What is the sum of the first 100 integers?

Using Gauss's formula T₁₀₀ = 100 × 101 / 2 = 5,050.