Feruza Matyakubova wrote:logitech wrote:0 - 9999
5 = 5+0 0005 = 4!/3! = 4
5= 4+1 0041 = 4!/2! = 12
5= 3+2 0032 = 4!/2! = 12
5= 3+1+1 0311 = 4!/2! = 12
5=2+2+1 0221 = 4!/2! = 12
so IMO, it is 52
If OA is 56, I might be missing 4 numbers somewhere and I am sure Cramya can find out where they are hiding.
Logitech! solution is amazing! thanks!
I got a question here:
How do you know that you have to divide 4! by 3! or 2! ?
Here's the general rule:
To find the number of permutations of n objects of which r are duplicates, we calculate n!/r!.
For example:
"How many different ways can the letters of the word DESERT be arranged?"
6 letters total, 2 "E"s, so 6!/2!
"How many different ways can the letters of the word DESSERT be arranged?"
7 letters total, 2 "E"s and 2 "S"s, so 7!/2!2!
"How many different ways can the letters of the word DESSERTS be arranged?"
8 letters total, 2 "E"s and 3 "S"s, so 8!/2!3!