representation of a number as multiplication of its factors
<p>I want to represent a number as the product of its factors.The number of factors that are used to represent the number should be from 2 to number of prime factors of the same number(this i s the maximum possible number of factors for a number).</p>

<p>for example taking the number 24:</p>

<p>representation of the number as two factors multiplication are <code>2*12</code>, <code>8*3</code>, <code>6*4</code> and so on...,</p>

<p>representation of the number as three factors multiplication are <code>2*2*6</code>, <code>2*3*4</code> and so on...,</p>

<p>representation of the number as four factors multiplication(prime factors alone) are <code>2*2*2*3</code>.</p>

<p>please help me get some simple and generic algorithm for this </p>
