-
parulmahajan89
- Senior | Next Rank: 100 Posts
- Posts: 74
- Joined: Fri May 11, 2012 9:06 pm
In how many ways can 11 # signs and 8* signs be arranged in a row so that no two * signs come together?
Since there is no constraint on the 11 A's, first place them in a row as follows:parulmahajan89 wrote:In how many ways can 11 A's and 8 B's be arranged in a row so that no two B's occupy adjacent positions?
A tremendous solution! I like the addition of 'extra slots' to make it possible.GMATGuruNY wrote:Since there is no constraint on the 11 A's, first place them in a row as follows:parulmahajan89 wrote:In how many ways can 11 A's and 8 B's be arranged in a row so that no two B's occupy adjacent positions?
_A_A_A_A_A_A_A_A_A_A_A_
To ensure that no two B's occupy adjacent positions, each must occupy one of the empty slots shown above.
Number of options for the 1st B = 12.
Number of options for the 2nd B = 11.
Number of options for the 3rd B = 10.
Number of options for the 4th B = 9.
Number of options for the 5th B = 8.
Number of options for the 6th B = 7.
Number of options for the 7th B = 6.
Number of options for the 8th B = 5.
To combine these options, we multiply:
12*11*10*9*8*7*6*5.
Since the B's are identical, the ORDER of the occupied positions doesn't matter.
Whether the 8 identical B's occupy positions 1-3-5-7-9-11-13-15 or 3-1-15-13-5-9-7-11, the arrangement stays the same.
Thus, so that we don't overcount the total number of unique arrangements, we divide by the number of ways that the 8 occupied positions can be ARRANGED (8!):
(12*11*10*9*8*7*6*5)/(8*7*6*5*4*3*2*1) = 495.
I just want to elaborate on theCodeToGMAT's excellent solution so that others can see what's he's doing.parulmahajan89 wrote:In how many ways can 11 A's and 8 B's be arranged in a row so that no two B's occupy adjacent positions?
Apologies for this dumb questions but I want to understand my error here. I tried solving by first arranging all BsMathsbuddy wrote:A tremendous solution! I like the addition of 'extra slots' to make it possible.GMATGuruNY wrote:Since there is no constraint on the 11 A's, first place them in a row as follows:parulmahajan89 wrote:In how many ways can 11 A's and 8 B's be arranged in a row so that no two B's occupy adjacent positions?
_A_A_A_A_A_A_A_A_A_A_A_
To ensure that no two B's occupy adjacent positions, each must occupy one of the empty slots shown above.
Number of options for the 1st B = 12.
Number of options for the 2nd B = 11.
Number of options for the 3rd B = 10.
Number of options for the 4th B = 9.
Number of options for the 5th B = 8.
Number of options for the 6th B = 7.
Number of options for the 7th B = 6.
Number of options for the 8th B = 5.
To combine these options, we multiply:
12*11*10*9*8*7*6*5.
Since the B's are identical, the ORDER of the occupied positions doesn't matter.
Whether the 8 identical B's occupy positions 1-3-5-7-9-11-13-15 or 3-1-15-13-5-9-7-11, the arrangement stays the same.
Thus, so that we don't overcount the total number of unique arrangements, we divide by the number of ways that the 8 occupied positions can be ARRANGED (8!):
(12*11*10*9*8*7*6*5)/(8*7*6*5*4*3*2*1) = 495.
Hi there,GMATGuruNY wrote:Since there is no constraint on the 11 A's, first place them in a row as follows:parulmahajan89 wrote:In how many ways can 11 A's and 8 B's be arranged in a row so that no two B's occupy adjacent positions?
_A_A_A_A_A_A_A_A_A_A_A_
To ensure that no two B's occupy adjacent positions, each must occupy one of the empty slots shown above.
Number of options for the 1st B = 12.
Number of options for the 2nd B = 11.
Number of options for the 3rd B = 10.
Number of options for the 4th B = 9.
Number of options for the 5th B = 8.
Number of options for the 6th B = 7.
Number of options for the 7th B = 6.
Number of options for the 8th B = 5.
To combine these options, we multiply:
12*11*10*9*8*7*6*5.
Since the B's are identical, the ORDER of the occupied positions doesn't matter.
Whether the 8 identical B's occupy positions 1-3-5-7-9-11-13-15 or 3-1-15-13-5-9-7-11, the arrangement stays the same.
Thus, so that we don't overcount the total number of unique arrangements, we divide by the number of ways that the 8 occupied positions can be ARRANGED (8!):
(12*11*10*9*8*7*6*5)/(8*7*6*5*4*3*2*1) = 495.
Let's examine a subset:vishalpathak wrote:
Apologies for this dumb questions but I want to understand my error here. I tried solving by first arranging all Bs
_B_B_B_B_B_B_B_B_
Now we must place 7 A's between these 8 B's in order to ensure that no 2 B's are together.
So we get
_B A B A B A B A B A B A B A B_
Now we are left with 11-7 = 4 A's. These A's can be place in any of the 9 places (2 at the ends and 7 between B's)
No of ways to place each A = 9
Therefore no of ways = 9^4.
We can divide this by 4! inorder to avoid double counting.
Kindly point my mistake
Tegards,
Vishal