How many different three-digit numbers can I make with three 3s, two 2s, and one 1? I'd like to use actual calculations instead of just counting them all.
What I am curious about is how am I supposed to do this kind of problem when the numbers are more complicated? For example, "How many different five-digit numbers are available with x threes, y twos, and z ones?"