Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Maths in a minute: Triangular numbers

    24 November, 2020

    A triangular number is a number that can be represented by a pattern of dots arranged in an equilateral triangle with the same number of dots on each side.

    For example:

    Triangular numbers

    The first triangular number is 1, the second is 3, the third is 6, the fourth 10, the fifth 15, and so on.

    You can see that each triangle comes from the one before by adding a row of dots on the bottom which has one more dot than the previous bottom row. This means that the $nth$ triangular number $T_n$ is equal to $$T_n=1+2+ 3+...+n.$$ There's also another way we can calculate the $nth$ triangular number. Take two copies of the dot pattern representing the $nth$ triangular number and arrange them so that they form a rectangular dot pattern.
    Triangular numbers

    This rectangular pattern will have $n$ dots on the shorter side and $n+1$ dots on the longer side, which means that the rectangular pattern contains $n(n+1)$ dots in total. And since the original triangular dot pattern constitutes exactly half of the rectangular pattern, we know that the $nth$ triangular number $T_n$ is $$T_n=\frac{n(n+1)}{2}.$$ Note that with this consideration we have proved the formula for the summation of $n$ natural numbers, namely $$1+2+ 3+...+n=\frac{n(n+1)}{2}.$$

    Triangular numbers have lots of interesting properties. For example, the sum of consecutive triangular numbers is a square number. You can see this by arranging the triangular dot patterns representing the $nth$ and $(n+1)st$ triangular numbers to form a square which has $n+1$ dots to a side:

    Triangular numbers

    Alternatively, you can see this using the formulas for the consecutive triangular numbers $T_n$ and $T_{n+1}$: $$T_n+T_{n+1} =\frac{n(n+1)}{2}+\frac{(n+1)(n+2)}{2}=\frac{(n+1)(2n+2)}{2}=(n+1)^2.$$

    What is more, alternating triangular numbers (1, 6, 15, ...) are also hexagonal numbers (numbers formed from a hexagonal dot pattern) and every even perfect number is a triangular number.

    Triangular numbers also come up in real life. For example, a network of $n$ computers in which every computer is connected to every other computer requires $T_{n-1}$ connections. And if in sports you are playing a round robin tournament, in which each team plays each other team exactly once, then the number of matches you need for $n$ teams is $T_{n-1}.$ These two results are equivalent to the handshake problem we have explored on Plus before.

    We would like to thank Zoheir Barka who sent us the first draft of this article. We will publish a lovely article by Barka about triangular numbers soon. In the mean time, you can read Barka's article about beautiful patterns in multiplication tables here.

    • Log in or register to post comments

    Read more about...

    Maths in a minute
    triangular number
    figurative number

    Our Podcast: Maths on the Move

    Our Maths on the Move podcast brings you the latest news from the world of maths, plus interviews and discussions with leading mathematicians and scientists about the maths that is changing our lives.

    Apple Podcasts
    Spotify
    Podbean

    Plus delivered to you

    Keep up to date with Plus by subscribing to our newsletter or following Plus on X or Bluesky.

    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms