math - need divisors algorithm

Philp Smith philipasmith at
Wed Mar 30 07:38:20 CEST 2005


Does anyone have suggested code for a compact, efficient, elegant, most of 
all pythonic routine to produce a list of all the proper divisors of an 
integer (given a list of prime factors/powers) 

More information about the Python-list mailing list