/primeFactors returns power of two decomposition