Function to add value of frequency of minimum element among all representations of n
function printVector ( arr ) { var min_i = 1000000000 ; for ( var i = 0 ; i < arr . length ; i ++ ) min_i = Math . min ( min_i , arr [ i ] ) ;