Comment 2 for bug 891812

Revision history for this message
Bastiaan J. Braams (bjbraams) wrote : Re: Calc: multinomial(1000,0) returns Err502 instead of 1

Thanks to Ch. Penalver for re-writing my bug report into the proper style. I hope that someone more experienced (than I) in the submitting of bug reports can take it upstream to libreoffice-calc.

A recurrence for computing the multinomial function as a product of binomials may be found in the description of the multinomial function in the Sage mathematics system:

http://www.sagemath.org/doc/reference/sage/rings/arith.html#sage.rings.arith.multinomial

The associated 5-line Python code by Gabriel Ebner may be found here:

http://trac.sagemath.org/sage_trac/attachment/ticket/3132/trac3132-2.diff