Tetracontagon Number | Finding the nth tetracontagon Number ; Driver code
function tetracontagonNum ( n ) { return ( 38 * n * n - 36 * n ) / 2 ; } let n = 3 ; document . write ( " " + tetracontagonNum ( n ) ) ;