A square whose side length is a triangular number can be partitioned into squares and half-squares whose areas add to cubes. From Gulley (2010).
The nth coloured region shows n squares of dimension n by n (the rectangle is 1 evenly divided square), hence the area of the nth region is n times n×n.