I would like to write a program that reads an integer and then divides it by 2 as many times as possible while writing the number as a product of two numbers multiplied by a number that is no longer divisible by 2.
For example:
I would like an integer: 120
120 = 2 * 2 * 2 * 15