Utility function to count the number of ways N ! can be split into co - prime factors
function numberOfWays ( N ) { var count = count_of_primes [ N ] - 1 ; var mod = 1000000007 ; var answer = power ( 2 , count , mod ) ; if ( N == 1 ) answer = 0 ; document . write ( answer ) ; }