Javascript program to find value of Iterated Logarithm
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 ; }