Pentadecagonal Number | Function to find N - th Pentadecagonal number ; Formula to calculate nth Pentadecagonal number ; Driver code
function Pentadecagonal_num ( n ) { return ( 13 * n * n - 11 * n ) / 2 ; } let n = 3 ; document . write ( Pentadecagonal_num ( n ) + " " ) ; n = 10 ; document . write ( Pentadecagonal_num ( n ) ) ;