Find nth Hermite number | Function to return nth Hermite number ; Base condition ; Driver Code ; Print nth Hermite number
function getHermiteNumber ( n ) { if ( n == 0 ) return 1 ; else if ( n == 1 ) return 1 ; else return - 2 * ( n - 1 ) * getHermiteNumber ( n - 2 ) ; } let n = 6 ; document . write ( getHermiteNumber ( n ) ) ;