axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-mail] A combinatorial question


From: Bill Page
Subject: Re: [Axiom-mail] A combinatorial question
Date: Wed, 3 Oct 2007 21:42:03 -0400

On 10/2/07, Alasdair McAndrew wrote:
> Thanks, Bill - thats terrific!  It would be nice to have such  a facility
> built in, wouldn't it?
>

Yes.

(1) -> )set message time on
(1) -> a:=[subSet(25,5,i) for i in 0..binomial(25,5)-1];
(1) ->
                                                      Type: List List Integer
                                     Time: 58.00 (EV) + 6.61 (GC) = 64.61 sec

This works but obviously it should be possible to write an algorithm
that performs better than this ... :-( Sage can do it in less than a
second (via GAP) and apparently Mathematica can do it in about 0.04
seconds!

Regards,
Bill Page.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]