Adding prime factors