|
Edited on Mon Sep-27-10 08:20 PM by struggle4progress
to suffer through at least some of the discovery himself
There are six slots to occupy, but only three distinct numbers to put in the slots, and 0 cannot go into the first slot
How can you describe such a license plate? You can say first whether the first digit on the plate occurs once, twice, or thrice If the first digit occurs once, you can say what it is. Then there is a digit that appears twice: you can say where it occurs and what it is. Finally you say what digit occurs in the remaining three slots If the first digit occurs twice, you can say what it is and where else it occurs. Then there is a digit that appears once: you can say where it occurs and what it is. Finally you say what digit occurs in the remaining three slots If the first digit occurs thrice, you can say what it is and where else it occurs. Then there is a digit that appears once: you can say where it occurs and what it is. Finally you say what digit occurs in the remaining two slots
So split the problem into three simpler problems (with all the above restrictions): How many license plates are there with the number in the first slot occurring once? How many license plates are there with the number in the first slot occurring twice? How many license plates are there with the number in the first slot occurring thrice? The sum of the answers to these simpler problems will be the answer to the original problem
How many license plates are there with the number in the first slot occurring once? 0 cannot occur in the first slot, so there are 9 possibilities for the number in first slot We now need to pick 2 more slots for the number that occurs twice: there are 5-choose-2 = 10 ways to choose this slot We now need to choose a digit to occupy these slots: it must be different from the number in the first slot, so there are 9 possibilities for the number we choose to put in these 2 slots We now need to choose a digit to occupy the remaining 3 slots: it must be different from the two numbers we have already chosen, so there are 8 possibilities for the number we choose to put in these 3 slots Total: 9x10x9x8 = 9*720 = 6480
How many license plates are there with the number in the first slot occurring twice? 0 cannot occur in the first slot, so there are 9 possibilities for the number in first slot We need to pick another slot to drop this number into: there are 5 ways to choose it We now need to pick another (unused) slot for the number that occurs once: there are 4 ways to choose it We now need to choose a digit to occupy the remaining 3 slots: it must be different from the two numbers we have already chosen, so there are 8 possibilities for the number we choose to put in these 3 slots Total: 9x5x4x8 = 9*180 = 1620 <correction: 9x5x4x8 = 9*160 = 1440>
How many license plates are there with the number in the first slot occurring thrice? 0 cannot occur in the first slot, so there are 9 possibilities for the number in first slot We need to pick two more slots to drop this number into: there are 5-choose-2 = 10 ways to choose them We now need to pick another (unused) slot for the number that occurs once: there are 3 ways to choose it We now need to choose a digit to occupy the remaining 2 slots: it must be different from the two numbers we have already chosen, so there are 8 possibilities for the number we choose to put in these 2 slots Total: 9x10x3x2 = 9*60 = 540
Answer: 6480 + 1620 + 540 <correction: 6480 + 1440 + 540>
|