The square pyramid numbers

Rule

Each term is: The number squared plus the previous term

Known as: The square pyramid numbers

The square pyramid numbers

Each term is n^2 plus the previous term, as shown in the illustration.

The first 50 terms (starting from n=1) are:

1 5 14 30 55 91 140 204 285 385 506 650 819 1015 1240 1496 1785 2109 2470 2870 3311 3795 4324 4900 5525 6201 6930 7714 8555 9455 10416 11440 12529 13685 14910 16206 17575 19019 20540 22140 23821 25585 27434 29370 31395 33511 35720 38024 40425 42925

Example

To get the value for n=13:

  • Square the number, giving 169.
  • Add my previous answer to the number.

For example, if my previous answer was 10 this gives 179.

So the result is 179.