Iterated Logarithm log * ( n ) | Javascript program to find value of Iterated Logarithm ; Driver code
function _log ( x , base ) { return ( Math . log ( x ) / Math . log ( base ) ) ; } function recursiveLogStar ( n , b ) { if ( n > 1.0 ) return 1.0 + recursiveLogStar ( _log ( n , b ) , b ) ; else return 0 ; } let n = 100 , base = 5 ; document . write ( " " + n + " " + recursiveLogStar ( n , base ) ) ;