Icosihexagonal Number | Finding the nth Icosihexagonal Number ; Driver code
function IcosihexagonalNum ( n ) { return ( 24 * n * n - 22 * n ) / 2 ; } let n = 3 ; document . write ( " " + IcosihexagonalNum ( n ) ) ;