Add prime factors with solution.