compute the prime factors of a given number.