Policies & Guidelines

MULTINOMIAL

Calculate multinomial

Description

Given an array of numbers, calculates the factorial of their sum, divided by the product of each number's factorial.

Function signature

MULTINOMIAL(values: Array) => Number

Parameter

Description

Values

Array of numeric values

Examples

Formula

Return value

MULTINOMIAL([1, 2, 3])

60

MULTINOMIAL([3, 2, 6])

4620

MULTINOMIAL([0])

1