This function calculates the multinomial coefficient
(∑ n_j)! / ∏ n_j!.
where n_j's are the number of multiplicities in the multiset.
a vector of group sizes
use gmp's Big Interger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.