decomposition of numbers into prime factors with the tree method decomposition of a number into prime factors m316