How To Find The Nth Pentagonal Number Complete Guide

Best Math Formula website. Search anything about Math Formula in this website.

how to find the nth pentagonal number. 1 5 12 etc. N is an integer if n floorn is 0.

Pentagonal Numbers
Pentagonal Numbers from www.slideshare.net

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. The first few pentagonal numbers are. Another way to think about this formula is that 24P1 must be a perfect square and that its square root must be equivalent to 5 mod 6.

The first few pentagonal numbers are.

1 5 12 etc. Implementation of the method is given below. Given a number P calculate. If s is the number of sides in a polygon the formula for the nth s-gonal number P s n is.