Is there a general formula for the number of distinguishable arrangements of length $\ell$ of a sequence of size $s$, given the repeated elements? So,
For example, would there be a general formula to solve the problem:
How many distinguishable 5-letter arrangements are there of the word "PROBABILITY" ?
I'm looking for a general formula.