math - need divisors algorithm

Philp Smith philipasmith at blueyonder.co.uk
Wed Mar 30 00:38:20 EST 2005


Hi

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