Integer part of the geometric mean of the divisors of N | Function to return the integer part of the geometric mean of the divisors of n ; Driver code
function geometricMean ( n ) { return Math . sqrt ( n ) ; } var n = 16 ; document . write ( geometricMean ( n ) ) ;