A pyramidal number is a type of figurate number that represents a pyramid with a polygonal base. More specifically, pyramidal numbers generalize triangular numbers and square numbers by extending the concept to higher dimensions.
New to topics? Read the docs here!