Naar de inhoud
OneKitly

Two Consecutive Triangular Numbers Always Add to a Square

Gepubliceerd op 26-10-2026 · 3 min leestijd · Dagelijkse calculators

Daniel Okonkwo

Daniel Okonkwo — Front-enddeveloper en techredacteur bij OneKitly

Webprestaties · Bestandsformaten

Getoetst aan 2 bronnen

Profiel bekijken →
Kort gezegd

The nth triangular number is the sum of the whole numbers up to n, or equivalently n times n plus one, all over two: T(10) is 55, T(36) is 666, T(100) is 5,050. Line the counters up as a staircase and the name explains itself — a row of one, then two, then three, stacked into a triangle. The identity worth keeping is that consecutive triangular numbers add to a perfect square: 45 and 55 give 100, and 4,950 and 5,050 give 10,000. The picture is the proof. Take the triangle for n and the triangle for n−1, turn the second upside down, and the two slot together into an n by n square with nothing left over.

Advertentie

T(10) is 55 and T(9) is 45, and 55 + 45 = 100. T(100) is 5,050 and T(99) is 4,950, and they add to 10,000. The identity holds for every n and is visible in the shape.

Where they turn up without being asked

Anything stacked in a triangle counts them: bowling pins are T(4), the rack of balls at the start of a game of pool is T(5), and a pyramid of tins on a shelf is one too. They also appear whenever a quantity accumulates one more unit each period than the period before — a savings plan that adds one, then two, then three, or a backlog that grows by one extra item a day. Recognising the shape converts a summation into an arithmetic step, which is the whole practical value of knowing the formula rather than the sequence.

The trick attributed to a schoolboy

The standard derivation is to write the sum forwards and backwards under itself: one plus a hundred, two plus ninety-nine, three plus ninety-eight, each pair adding to a hundred and one, and there are a hundred pairs. That gives 10,100, which is twice the answer, so the sum is 5,050. The story attaches it to Gauss as a child, and the story may or may not be true, but the method survives on its own merits — the same folding turns any arithmetic series into a multiplication, and it is the reason the general formula has a division by two in it.

Consecutive pairs and their squares
nT(n−1)T(n)Sum
104555100 = 10²
1004,9505,05010,000 = 100²
Calculator driehoeksgetallenBereken het n-de driehoeksgetal (1 + 2 + … + n).Probeer de tool →
Advertentie

Veelgestelde vragen

Is 666 really a triangular number?
It is T(36), the sum of every whole number from one to thirty-six, which the calculator confirms in one step. Numbers with cultural baggage tend to accumulate claimed properties, most of which are coincidences of base ten or of arbitrary encodings, and this one is neither — it is a genuine structural fact that would be true whatever the number was called. Distinguishing the two kinds of claim is the useful habit: a property that survives changing the writing system is about the number, and one that does not is about the notation.
Are there numbers that are both triangular and square?
Yes, infinitely many, and they are startlingly sparse: one, thirty-six, 1,225, 41,616, and each one is roughly thirty-four times the last. The gap comes from the problem being equivalent to a classical equation in two unknowns whose solutions grow geometrically, so the members thin out at a fixed ratio for ever rather than at a fixed distance. It is a good example of a question that sounds like it should have a short list of answers and instead has an infinite list that is impossible to stumble across by looking.

Artikelen die je misschien interesseren

Alle gidsen →

Vergelijkbare tools

Bronnen

Een fout in dit artikel gezien?