Functions prime_factors and harmonic looks are shorten and easy to read