Every pentagonal number is 13 of a triangular number. Pn nth pentagonal number N Given Number. 1 sqrt 24P16 If the answer is an integer P is a pentagonal number.
P 4 n 1 3 2n - 1 We can calculate this sum simply by multiplying the number of terms by the average value of the terms.
A Computer Science portal for geeks. If s is the number of sides in a polygon the formula for the nth s-gonal number P s n is. The generating function for the pentagonal numbers is x2x11-x3x5x212x322x4. Nth s-gonal number P s n s - 2n n-12 n If we put s 5 we get nth Pentagonal number P n 3n n-12 n.