title: Product of Prime factors of a number
body: <p>Given a number X , what would be the most efficient way to calculate the product of the <strong>prime</strong> factors of that number?
  Is there a way to do this without actual factorisation ?
  Note-The product of prime factors is needed (all to the power unity).</p>