-
gmattesttaker2
- Legendary Member
- Posts: 641
- Joined: Tue Feb 14, 2012 3:52 pm
- Thanked: 11 times
- Followed by:8 members
Hello,
Can you please tell me if my approach is correct:
How many different 6-digit codes can be made by re-arranging all the digits of the number 123,451 if the two 1s cannot be next to each other?
The answer given is 420
I was trying to solve this as follows:
Number of ways in which the two 1's cannot be next to each other = Total arrangements - Number of ways in which the two 1's will be next to each other.
Total arrangements = (6 x 5 x 4 x 3 x 2 x 1)/2! = 6!/2! = 360
To find the number of ways in which the two 1's will be next to each other I group the two 1's as one entity. Hence we now have 5 elements which can be arranged in 5! = 120 ways.
So, Number of ways in which the two 1's cannot be next to each other = 360 - 120 = 240
Thanks for your help,
Sri
Can you please tell me if my approach is correct:
How many different 6-digit codes can be made by re-arranging all the digits of the number 123,451 if the two 1s cannot be next to each other?
The answer given is 420
I was trying to solve this as follows:
Number of ways in which the two 1's cannot be next to each other = Total arrangements - Number of ways in which the two 1's will be next to each other.
Total arrangements = (6 x 5 x 4 x 3 x 2 x 1)/2! = 6!/2! = 360
To find the number of ways in which the two 1's will be next to each other I group the two 1's as one entity. Hence we now have 5 elements which can be arranged in 5! = 120 ways.
So, Number of ways in which the two 1's cannot be next to each other = 360 - 120 = 240
Thanks for your help,
Sri













