Sum of consecutive (pyramidal) squares
Description
In mathematics, a pyramid number, or square pyramidal number, is a figurate number that represents the number of stacked spheres in a pyramid with a square base. Square pyramidal numbers also solve the problem of counting the number of squares in an n × n grid. The sum of the squares of any number of consecutive integers starting with 1.
1, 5, 14, 30, 55, 91, 140, 204, 285, 385, 506, 650, 819 …
Variables
S | Sum of consecutive squares ( 1 + 4 + 9 + 16 +...) (dimensionless) |
n | Nth term (dimensionless) |