Pentagonal number

A pentagonal number is a whole number that can be shown in an array that looks like a pentagon. Arrays for the first five numbers in a pentagonal sequence are shown below: