VeritasPrepKarishma
phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases:
Case 1: All digits distinct
Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240
Case 2: Two digits are same, other 3 are dictinct e.g. 45722
Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways
Case 3: Two digits repeated and one other digit e.g. 33448
Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800
Sum of all = 30240 + 50400 + 10800 = 91440 ways
Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins.
Responding to a pm:
Quote:
I did it in 3 cases just like you.
Case1 (abcde): 10*9*8*7*6 = 30240 ways
Case 2 (aabcd): 10*10*9*8*7 = 50400 ways
Case 3 (aabbc): 10*10*9*9*8 = 64800 ways (Shouldn't this case has more ways than 2 cases above?)
Total = 30240 + 50400 + 64800 = 145400 ways
As you can see, your case 3 has a problem.
There are 10 ways of writing the leftmost digit - correct
Then there are 10 ways of writing the next digit - correct
For the next digit, there could be 9 ways or there could be 10 ways depending on what was chosen previously:
e.g 22 __ __ __ - here there are 9 ways of choosing the next digit.
23 __ __ __ - here there are 10 ways of choosing the next digit. Both 2 and 3 can be repeated as opposed to case 2 where only one digit can be repeated.
Hence, don't do the question this way. Choose the repeated digits and then arrange as I have done above. Note that there will be far fewer cases here because 2 digits will be repeated so fewer different digits will be there. So the number of arrangements will be fewer.
Now think, why does case 2 work but case 3 does not.
I am still not getting why we can't write "Case 3 (aabbc): 10*10*9*9*8 = 64800 ways"
However I understand the combination approach. Can anyone plz elaborate little more the above case ?