powered by
multichoose(n)
The result is not reliable if the retunred value is too large (around 2^53) due to limition of integers.
# (3+1+1)!/ (3! 1! 1!) = 20 multichoose(c(3,1,1))
Run the code above in your browser using DataLab