Prime factorization and exponents