n distinct pink and n distinct blue bags of luggage. If the number of ways of arranging the bags in a row (from front to back) so that neighbouring bags are of different colors is 1152, then how many bags she is having?
A new girl in the city brings
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let the arrangement starts with pink bag, since we have n pink bags placed alternately so number of ways to arrange them = n !
and number of ways to arrange n blue bags = n !
and the other way to arrange the bags is by starting with a blue bag.
hence total number of ways of arranging the bags in a row so that neighboring bags are of different colors is = 2 × n ! × n ! = 1 1 5 2
therefore n = 4
hence total number of bags the girl is having = 8
Since there are the same number of p i n k and b l u e bags, there are 2 1 1 5 2 = 5 7 6 arrangements starting with a b l u e bag. Since the b l u e and p i n k bags can be arranged independently in the same number of ways (let's call it w ) we can say
w = 5 7 6 = 2 4
So the number of b l u e bags can be arranged in 2 4 ways.
It is now easy to run through the first few factorials to see that
4 ! = 2 4
So there are 4 b l u e bags and 8 b a g s in total.
Problem Loading...
Note Loading...
Set Loading...
She has 4 pink and 4 blue bags.
She can permute the 4 blue bags in 4! ways.
She can permute the 4 pink bags in 4! ways.
Each even bag can either be blue or pink.
So, there are a total of 2(4!4!) ways