dash–calculator

04 Numbers and Counting

Triangular Numbers Table 1 to 100

Readout 04-0529 · Updated · Standard formula, shown below

T(n) 300
Sum of first n triangular numbers
2,600
Result, rounded to a whole number
Position n
24
Input
You enter
Position n
You get
T(n), Sum of first n triangular numbers
Rounding
0 dp

This page provides a complete table of triangular numbers from T(1) through T(100), along with the formula that generates them and the key properties that make them useful. Triangular numbers arise whenever you arrange objects in an equilateral triangle: one at the top, two in the next row, three in the row below, and so on. The table shows the cumulative total after each row.

Students, teachers, and puzzle enthusiasts use this reference to spot patterns, verify calculations, and explore connections between triangular numbers and squares. The table also marks which triangular numbers are perfect squares, and includes the sum of each pair of consecutive triangular numbers, revealing a neat relationship with squares.

Formula

T(n) = 1 + 2 + … + n = n(n + 1) / 2. A number x is triangular when (√(8x + 1) − 1) / 2 is a whole number; that whole number is its position n. Two consecutive triangular numbers add to a perfect square: T(n − 1) + T(n) = n².

Worked Example

Find T(24), the calculator default.

Step Working Result
1 T(24) = 24 × 25 / 2 300
2 check: T(23) + 24 276 + 24 = 300
3 test 300 is triangular: (√(8 × 300 + 1) − 1) / 2 = (49 − 1) / 2 24 (whole, so yes)

T(1) to T(100), with the next-pair sum and square triangular numbers marked

n T(n) T(n) + T(n+1) Also a perfect square
1 1 4 yes
2 3 9
3 6 16
4 10 25
5 15 36
6 21 49
7 28 64
8 36 81 yes
9 45 100
10 55 121
11 66 144
12 78 169
13 91 196
14 105 225
15 120 256
16 136 289
17 153 324
18 171 361
19 190 400
20 210 441
21 231 484
22 253 529
23 276 576
24 300 625
25 325 676
26 351 729
27 378 784
28 406 841
29 435 900
30 465 961
31 496 1,024
32 528 1,089
33 561 1,156
34 595 1,225
35 630 1,296
36 666 1,369
37 703 1,444
38 741 1,521
39 780 1,600
40 820 1,681
41 861 1,764
42 903 1,849
43 946 1,936
44 990 2,025
45 1,035 2,116
46 1,081 2,209
47 1,128 2,304
48 1,176 2,401
49 1,225 2,500 yes
50 1,275 2,601
51 1,326 2,704
52 1,378 2,809
53 1,431 2,916
54 1,485 3,025
55 1,540 3,136
56 1,596 3,249
57 1,653 3,364
58 1,711 3,481
59 1,770 3,600
60 1,830 3,721
61 1,891 3,844
62 1,953 3,969
63 2,016 4,096
64 2,080 4,225
65 2,145 4,356
66 2,211 4,489
67 2,278 4,624
68 2,346 4,761
69 2,415 4,900
70 2,485 5,041
71 2,556 5,184
72 2,628 5,329
73 2,701 5,476
74 2,775 5,625
75 2,850 5,776
76 2,926 5,929
77 3,003 6,084
78 3,081 6,241
79 3,160 6,400
80 3,240 6,561
81 3,321 6,724
82 3,403 6,889
83 3,486 7,056
84 3,570 7,225
85 3,655 7,396
86 3,741 7,569
87 3,828 7,744
88 3,916 7,921
89 4,005 8,100
90 4,095 8,281
91 4,186 8,464
92 4,278 8,649
93 4,371 8,836
94 4,465 9,025
95 4,560 9,216
96 4,656 9,409
97 4,753 9,604
98 4,851 9,801
99 4,950 10,000
100 5,050 10,201

How to read this table

Each row of the table gives the position n, the triangular number T(n), and the sum of that triangular number with the next one, T(n) + T(n+1). For example, when n is 5, T(5) equals 15, and adding T(6) = 21 gives 36, which is the square of 6. The final column marks those triangular numbers that are also perfect squares.

To find a specific triangular number, locate the row for your n. For instance, T(24) is 300, as shown in the worked example. The table also shows that T(100) is 5,050, meaning the sum of the first 100 positive integers is 5,050. The column T(n) + T(n+1) always equals (n+1)², so you can check any row: for n = 98, T(98) = 4,851 and T(99) = 4,950, and their sum is 9,801, which is 99².

Patterns and Properties Visible in the Table

Scanning the table reveals several consistent patterns. First, the difference between consecutive triangular numbers increases by 1 each time: T(2) − T(1) = 2, T(3) − T(2) = 3, and so on. This matches the definition: T(n) = T(n−1) + n.

Second, the sum of any two consecutive triangular numbers is a perfect square. For example, T(4) = 10 and T(5) = 15 add to 25, which is 5². In general, T(n−1) + T(n) = n². The table’s column for T(n) + T(n+1) shows these squares: for n = 6, the sum is 49; for n = 7, it is 64.

The table marks T(1) = 1, T(8) = 36, and T(49) = 1,225 as examples. These are called square triangular numbers. They appear sporadically, and the table highlights them so you can see how rare they become.

How to Compute Triangular Numbers by Hand

To find T(n) without a calculator, use the formula T(n) = n(n+1)/2. This works because the sum 1 + 2 + … + n can be paired symmetrically: the first and last terms add to n+1, the second and second-last also add to n+1, and there are n/2 such pairs when n is even. When n is odd, the middle term is (n+1)/2, and the same formula still holds.

Alternatively, you can build from the previous triangular number: T(n) = T(n−1) + n. Starting from T(1) = 1, add 2 to get 3, add 3 to get 6, add 4 to get 10, and so on. This recursive method is useful when you already have a nearby value from the table.

To test whether a given number x is triangular, compute (√(8x + 1) − 1) / 2. If the result is a whole number, then x is triangular and that whole number is its position n. For instance, for x = 300, 8×300 + 1 = 2,401, whose square root is 49; subtracting 1 and dividing by 2 gives 24, a whole number, so 300 is T(24).

Practical Uses of Triangular Numbers

Triangular numbers appear in many counting situations where you need to count pairs or combinations of two items from a set. The most common example is the handshake problem: if n people each shake hands with every other person exactly once, the total number of handshakes is T(n−1) = n(n−1)/2. For a group of 10 people, that is 45 handshakes. The table can be used to look up such counts directly.

Another classic use is arranging objects in a triangular stack, such as bowling pins or stacked cans. A row of 1 pin, then 2, then 3, and so on, uses a triangular number of items. For example, a stack with 5 rows uses 15 pins, and 6 rows uses 21 pins.

Triangular numbers also appear in combinatorics, where they count the number of ways to choose 2 items from n items, written as C(n, 2). They are used in probability, in finding sums of arithmetic series, and in certain algorithms that involve pairwise comparisons. The table provides a quick reference for these counts up to 100 items.

Common Mistakes to Avoid

One frequent error is confusing T(n) with the sum of the first n even or odd numbers. Triangular numbers sum consecutive integers starting at 1, not just even or odd numbers. Another mistake is using the formula incorrectly: T(n) = n(n+1)/2, not n(n−1)/2. The latter gives the number of handshakes among n people, which is T(n−1).

When testing whether a number is triangular, ensure you compute the square root of (8x + 1) exactly. For large numbers, rounding errors can lead to a false negative. For example, for x = 1,225, 8×1,225 + 1 = 9,801, whose square root is 99, so (99 − 1)/2 = 49, confirming that 1,225 is T(49).

Also, do not assume that every number that looks like a triangular number is one. For instance, 50 is not triangular because (√(8×50 + 1) − 1)/2 is not a whole number. Finally, when reading the table, remember that the column T(n) + T(n+1) gives the square of (n+1), not of n. For n = 99, the sum is 10,000, which is 100².

Limits and Precision of the Table

This table covers n from 1 to 100, so the largest triangular number shown is T(100) = 5,050. For n beyond 100, you can extend the pattern using the formula, but the table itself does not provide those values. If you need a triangular number for n greater than 100, you must compute it directly.

All values in the table are exact integers. The formula n(n+1)/2 always yields an integer because either n or n+1 is even. For very large n, the product n(n+1) can become enormous, but as long as you can handle the arithmetic, the formula remains exact. The square-root test for triangularity works for any positive integer, but for numbers beyond the table, you may need a calculator to compute the square root accurately.

When using the table for practical purposes, be aware that it only lists triangular numbers, not all integers. If you are looking for a number that is not in the table, you can check its triangularity with the formula. The table also marks square triangular numbers, but only within the range shown; beyond 100, there are more such numbers, but they are not listed here.

Frequently Asked Questions

What is a triangular number?

A triangular number is the sum of the first n positive integers, written as T(n) = 1 + 2 + … + n = n(n+1)/2. It represents the total number of objects needed to form an equilateral triangle with n rows. For example, T(4) = 10, so 10 objects can be arranged in rows of 1, 2, 3, and 4.

How do I know if a number is triangular?

Use the formula n = (√(8x + 1) − 1) / 2. If n is a whole number, then x is triangular and n is its position. For instance, for x = 300, √(8×300+1) = 49, so n = (49−1)/2 = 24, confirming 300 is T(24). If n is not an integer, x is not triangular.

Why do two consecutive triangular numbers add to a square?

Because T(n−1) + T(n) = [ (n−1)n/2 ] + [ n(n+1)/2 ] = n². For example, T(5) = 15 and T(6) = 21 add to 36, which is 6². This property is visible in the table’s column for T(n) + T(n+1).

What are square triangular numbers?

These are numbers that are both triangular and perfect squares, such as 1, 36, and 1,225. In the table, they are marked in the last column. They occur at positions n = 1, 8, and 49 within the range shown, and they become rarer as n increases.

How are triangular numbers related to handshakes?

If n people each shake hands with every other person exactly once, the total number of handshakes is T(n−1) = n(n−1)/2. For example, with 10 people, the count is T(9) = 45. This is because each pair is counted once, and the number of pairs among n items is n choose 2.

Calculators that go with this table

Method and sources

Exact integer arithmetic. The third column equals (n + 1)², the identity above.

Source formulas: the standard textbook definitions written out in the Formula section above. Every value in the tables was generated from those formulas in code and spot-checked against the worked example and the calculator on this page; nothing was copied from another table.

Related

Formula used
in n | Position n | - | 24 | 1 | 1000000
out t | T(n) | - | n * (n + 1) / 2 | 0
out s | Sum of first n triangular numbers | - | n * (n + 1) * (n + 2) / 6 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Numbers and Counting panel →