[sage-devel] Re: Multiplicative partitions of integers in python

2008-01-23 Thread Jacob Mitchell
ime and integers have unique prime factorization). Notice that there were duplicates like I predicted (like [2, [3, 70]] and [3, [2, 70]]). This would happen more and more as we progressed. > John > > On 23/01/2008, Jacob Mitchell <[EMAIL PROTECTED]> wrote: > >&g

[sage-devel] Re: Multiplicative partitions of integers in python

2008-01-23 Thread Jacob Mitchell
Jacob Mitchell wrote: > > John Cremona wrote: > >> Is a "multiplcative partition" just a factorization? >> >> How about this: >> >> sage: def mp(n): >> : return [(d,n//d) for d in n.divisors()] >> : >> sage: mp(12

[sage-devel] Re: Multiplicative partitions of integers in python

2008-01-23 Thread Jacob Mitchell
John Cremona wrote: > Is a "multiplcative partition" just a factorization? > > How about this: > > sage: def mp(n): > : return [(d,n//d) for d in n.divisors()] > : > sage: mp(12) > [(1, 12), (2, 6), (3, 4), (4, 3), (6, 2), (12, 1)] > > where of course you could eliminate the cases d=

[sage-devel] Re: Installer Package for OS X 10.4

2008-01-17 Thread Jacob Mitchell
William Stein wrote: > On Jan 15, 2008 9:31 PM, jdmitchell <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> This is my first post to the developer group so please bear with me. >> Also, I don't mean to distract you from any pressing matters so take >> your time. >> > > Hi, > > I just want to