A figurate number corresponding to a configuration of points which form a pyramid with r-sided regular polygon bases can be thought of as a generalized pyramidal number, and has the form P_n^(r) = 1/6 n(n + 1)[(r - 2) n + (5 - r)].
We guarantee you’ll find the right tutor, or we’ll cover the first hour of your lesson.