He gave more elegant rules for the sum of the squares and cubes of an initial segment of the positive integers. The sixth part of the product of three quantities consisting of the number of terms, the number of terms plus one, and twice the number of terms plus one is the sum of the squares. The square of the sum of the series is the sum of the cubes.