math - need divisors algorithm

Philp Smith philipasmith at blueyonder.co.uk
Wed Mar 30 07:38:20 CEST 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