in reply to
Finding all divisors of an integer
The process you are asking about is called
factorization
in mathematics. Depending on what you call fast, there may not be a really fast method for factoring large numbers.
Comment on
Re: Finding all divisors of an integer
In Section
Seekers of Perl Wisdom