Triangular Numbers Calculator

Compute the nth triangular number, check if a number is triangular, and view the sequence.

Triangular Number Calculator

Result

T(10)
55

Step-by-Step Solution

T(n) = n(n+1)/2

Triangular Number Sequence

What Are Triangular Numbers?

Triangular numbers are a sequence of numbers that can be represented as a triangle of dots. The nth triangular number T(n) equals the sum of the first n natural numbers: 1 + 2 + 3 + ... + n. The formula T(n) = n(n+1)/2 gives us any triangular number directly without summing.

Key Properties

Formula

The nth triangular number is computed as:

T(n) = n(n+1) / 2

Checking Triangularity

A number m is triangular if 8m+1 is a perfect square.

n = (-1 + sqrt(8m+1)) / 2

Sum of Triangular Numbers

The sum of the first n triangular numbers equals:

n(n+1)(n+2) / 6

Relation to Squares

The sum of two consecutive triangular numbers is a perfect square.

T(n) + T(n-1) = n^2

History and Applications

Triangular numbers were studied by the ancient Greeks, particularly the Pythagoreans. They appear in many areas of mathematics including combinatorics (binomial coefficients), number theory, and even in everyday counting problems like handshakes at a party.

Examples in Real Life

  • Number of handshakes when n people each shake hands with everyone else
  • Bowling pin arrangements (T(4) = 10 pins)
  • Stacking objects in pyramidal shapes
  • Combinatorial counting: C(n+1, 2) = T(n)