Luca Bruderer <luca.bruderer at bluewin.ch> wrote: > Hi > > I'm wondering which is the best algorithm to do this. Brute-force method. Just keep on dividing by the prime numbers until you get to 1. :-) -- William Park, Open Geometry Consulting, <opengeometry at yahoo.ca> Linux solution for data management and processing.