Pentatope number | Function that returns nth pentatope number ; For 5 th PentaTope Number ; For 11 th PentaTope Number
function pentatopeNum ( n ) { return ( n * ( n + 1 ) * ( n + 2 ) * ( n + 3 ) ) / 24 ; } let n = 5 ; document . write ( pentatopeNum ( n ) + " " ) ; n = 11 ; document . write ( pentatopeNum ( n ) ) ;