Prime numbers, decomposing a number into the product of prime factors