Triacontakaidigon Number | Finding the nth triacontakaidigon Number ; Driver code
function triacontakaidigonNum ( n ) { return ( 30 * n * n - 28 * n ) / 2 ; } let n = 3 ; document . write ( " " + triacontakaidigonNum ( n ) ) ;