Pentatope number | function for Pentatope number ; formula for find Pentatope nth term ; Driver Code
function Pentatope_number ( n ) { return n * ( n + 1 ) * ( n + 2 ) * ( n + 3 ) / 24 ; } let n = 7 ; document . write ( n + " " + " " + Pentatope_number ( n ) + " " ) ; n = 12 ; document . write ( n + " " + " " + Pentatope_number ( n ) ) ;