Jaap Spies j.spies at
Tue Feb 12 23:39:28 CET 2008

Robert Dodier wrote:
> Cameron Laird wrote:
>> Should combinatorics be part of the standard library?  That's
>> an aesthetic-pragmatic question I don't feel competent to
>> answer; I look to timbot and Guido and so on for judgment there.
>> It does occur to me, though, that even more widely applicable
>> than the combinatorics module of Mathematica (if only because of
>> its licensing) might be such resources as
> [...]
> Well, since Mathematica has been mentioned, I'll go ahead and
> mention Maxima as well. Maxima is an open source (GPL) symbolic
> computation system, which includes some functions for
> combinatorics, among many other things. The relevant code is:
> (Oh, btw Maxima is written in Lisp.) The relevant documentation:
> Sage can presumably access Maxima's combinatoric functions
> (since Sage bundles Maxima along with other programs).
> I don't know if there are combinatoric functions from other
> packages in Sage.

There is a native combinatorics module in Sage. See:



> Robert Dodier

More information about the Python-list mailing list