Skip to content

Squared Triangular Number

In number theory, the sum of the first cubes is the square of the th triangular number.

Version
v2 · 2026-11-14 · History
Domain-specific #
12228
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Number Theory, Figurate Numbers → Mathematics

Core Idea

Squared Triangular Number is treated here as the recurring mathematics, logic, and statistics identity summarized by this source-grounded definition: In number theory, the sum of the first cubes is the square of the th triangular number. In number theory, the sum of the first cubes is the square of the th triangular number. 13+23+33+\cdots+n3 = \left(1+2+3+\cdots+n\right)^2. The same equation may be written more compactly using the mathematical notation for summation. \sum{k=1}^n k^3 = \left(\sum{k=1}^n.

How would you explain it like I'm…

Cubes Make a Square

Build little cubes of blocks: a 1-block cube, then a 2-by-2-by-2 cube, then a 3-by-3-by-3 cube. Count all the blocks together: 1 + 8 + 27 = 36. Now add 1 + 2 + 3 = 6, and make a square that is 6 by 6: that's 36 too! It always works, no matter how many cubes you stack up.

Cube Sums Are Squares

A cube number is a number times itself times itself, like 2x2x2 = 8. A triangular number is what you get by adding 1+2+3 and so on, like stacking a triangle of dots. The squared triangular number rule says: add up the first few cube numbers, and you get the square of the matching triangular number. For example, 1 + 8 + 27 = 36, and 1+2+3 = 6, and 6x6 = 36. It works for any number of cubes.

Sum of Cubes Equals Triangular Squared

The squared triangular number identity, sometimes called Nicomachus's theorem, says that the sum of the first n cubes equals the square of the n-th triangular number: 1^3 + 2^3 + ... + n^3 = (1 + 2 + ... + n)^2. The n-th triangular number is 1 + 2 + ... + n = n(n+1)/2, so the sum of cubes equals (n(n+1)/2)^2. For n = 4: 1 + 8 + 27 + 64 = 100 = 10^2. The fact is surprising because it links a sum of cubes to the square of a much simpler sum.

 

In number theory, the sum of the first n cubes equals the square of the n-th triangular number: sum_{k=1}^n k^3 = (sum_{k=1}^n k)^2. Since the n-th triangular number is T_n = n(n+1)/2, this gives the closed form sum k^3 = (n(n+1)/2)^2 = T_n^2. The identity is sometimes named Nicomachus's theorem after Nicomachus of Gerasa. It can be proved by induction or by counting arguments that arrange the cubes as blocks of consecutive numbers whose total is computed as count times average. What makes it this specific abstraction is the exact equation between the cube sum and the squared triangular number, not merely a resemblance among polynomial sums.

Scope of Application

  • History. The average of these numbers is obviously \tfrac{n(n+1)}{2} , and there are \tfrac{n(n+1)}{2} of them, so their sum is.

  • The sequence of squared triangular numbers is. These numbers can be viewed as figurate numbers, a four-dimensional hyperpyramidal generalization of the triangular numbers and square pyramidal numbers.

  • The sequence of squared triangular numbers is. As observes, these numbers also count the number of rectangles with horizontal and vertical sides formed in an n\times n grid.

  • The sequence of squared triangular numbers is. For instance, the points of a 4\times 4 grid (or a square made up of three smaller squares on a side) can form 36 different rectangles.

  • The sequence of squared triangular numbers is. The number of squares in a square grid is similarly counted by the square pyramidal numbers.

Clarity

A clear use of Squared Triangular Number names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is In number theory, the sum of the first cubes is the square of the th triangular number.

Manages Complexity

Squared Triangular Number compresses multiple mathematics, logic, and statistics details into a stable diagnostic relation. The source shows both the central mechanism—the number of squares in a square grid is similarly counted by the square pyramidal numbers.—and the practical consequence—in the more recent mathematical literature, provides a proof using summation by parts. uses the rectangle-counting interpretation of these numbers to form a geometric proof of the identity.

Abstract Reasoning

  1. Type the carrier. Identify the mathematics, logic, and statistics entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: In number theory, the sum of the first cubes is the square of the th triangular number.
  3. Check operation and conditions. The probabilities themselves are respectively the left and right sides of the Nichomachus identity, normalized to make probabilities by dividing both sides. 4.

Knowledge Transfer

Within the home domain. Knowledge about Squared Triangular Number transfers literally when a new case preserves the same carrier type, relation, and recognition test. The average of these numbers is obviously \tfrac{n(n+1)}{2} , and there are \tfrac{n(n+1)}{2} of them, so their sum is \left(\tfrac{n(n+1)}{2}\right)^2. These numbers can be viewed as figurate numbers, a four-dimensional hyperpyramidal generalization of the triangular numbers and square pyramidal numbers. Beyond the home domain. No canonical parent is asserted for Squared Triangular Number.

Neighborhood in Abstraction Space

Squared Triangular Number sits in a moderately populated region (52nd percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Combinatorial Optimization & Discrete Structures (32 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14