I am lost in how to approach this problem due to the wording:
Count the number of distinct 8-digit numbers that may be made by permuting the multi-set:
$$MS:=\{0:3,1:1,3:1,5:1,8:1,9:1\}$$
Given that $0$ is not allowed in either the leftmost place or the rightmost place
If possible, could someone please attempt this problem?
Counting, specifically balls-in-bins, is driving me crazy.
We wish to count the number of permutations of the multiset $0, 0, 0, 1, 3, 5, 8, 9$ in which $0$ does not appear in the leftmost or rightmost position.
As stated in the comments, we may use each element in the multiset the number of times it appears in the multiset. Two permutations are distinguishable if there is at least one position they do not have the same digit in that position.
Strategy: