It would be nice to have a combination function allowing repeating elements: I.e., this: <img src="https://latex.codecogs.com/gif.latex?\frac{(r&space;+&space;n&space;-&space;1)!}{r!(n-1)!}" title="\frac{(r + n - 1)!}{r!(n-1)!}" /> **EDIT**: Thanks @waseemyusuf for catching my typo.
It would be nice to have a combination function allowing repeating elements:
I.e., this:
EDIT: Thanks @waseemyusuf for catching my typo.