[Math] Number of $r$ letter words taking letters from a $n$ letter word

combinatoricsdiscrete mathematicspermutations

I can't figure out how to do questions such as this one, any thoughts?

What is the number of four letter words that can be formed from the letters in BUBBLE (each letter occuring at most as many times as it occurs in BUBBLE)?

The answer is $72$, but I am not sure how to arrive there.

Best Answer

Hint: How many four letter words can you make if you include one B? How many four letter words can you make if you include two B's? How many four letter words can you make if you include three B's?

Good luck!