small-numbers.js
function factorizeHash(n) {
    let factors = {};
    factorize(n, factor => {
        if (factors[factor]) {
            factors[factor] += 1;
        } else {
            factors[factor] = 1;
        }
    });
    return factors;
}
function factorizeHash(n) {
    let factors = {};
    factorize(n, factor => {
        if (factors[factor]) {
            factors[factor] += 1;
        } else {
            factors[factor] = 1;
        }
    });
    return factors;
}
function factorizeHash ( n ) { let factors = { } ; factorize ( n , factor => { if ( factors [ factor ] ) { factors [ factor ] += 1 ; } else { factors [ factor ] = 1 ; } } ) ; return factors ; }
returns multipliers as counts in hash
@param n
returns multipliers as counts in hash