math - need divisors algorithm
From: Philp Smith (philipasmith_at_blueyonder.co.uk)
Date: 03/30/05
- Next message: Steven Bethard: "Re: Weakrefs to classes that derive from str"
- Previous message: Steven Bethard: "Re: itertools to iter transition (WAS: Pre-PEP: Dictionary accumulator methods)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 05:38:20 GMT
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)
- Next message: Steven Bethard: "Re: Weakrefs to classes that derive from str"
- Previous message: Steven Bethard: "Re: itertools to iter transition (WAS: Pre-PEP: Dictionary accumulator methods)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|