text: Enneacontahexagon numbers | Function to find the nth Enneacontahexagon Number ; Driver code
code: function EnneacontahexagonNum ( n ) { return ( 94 * n * n - 92 * n ) / 2 ; } let n = 3 ; document . write ( EnneacontahexagonNum ( n ) ) ;