You want to actually find out the PRIME factors i.e. expand the number as the product of prime numbers(2,3,5,7...)
So the easiest way would be what has been told by WaltP.
Reputation Points: 1486
Solved Threads: 140
Practically a Posting Shark
Offline 816 posts
since Oct 2007