MULTINOMIAL

The function MULTINOMIAL takes a List of Numbers in the form [n1, n2, n3,...nm] and returns every Number in the given List divided by the product of the factorial of every number in the given List.

This function takes a List of Numbers as input. It returns another Number: the factorial of the sum of every Number in the given List divided by the product of the factorial of every Number in the given List.

Declaration

MULTINOMIAL(list_of_numbers) -> number

Parameters

list_of_numbers (required, type: a List of Numbers) A List of Numbers. There is no upper limit to the number of items that can occupy this List.

Return Values

number (required, type: Number) The factorial of the sum of every Number in the given List divided by the product of the factorial of every number in the given List.

Examples

The following example takes the List [1, 2, 3] and returns the multinomial:

MULTINOMIAL([1, 2, 3]) -> 60

Last updated