New Girl in the City.

A new girl in the city brings n n distinct pink and n 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?


The answer is 8.

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.

3 solutions

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

Aniket Verma
Mar 10, 2015

Let the arrangement starts with pink bag, since we have n n pink bags placed alternately so number of ways to arrange them = n ! = n!

and number of ways to arrange n n blue bags = n ! = 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 ! = 2\times n!\times n! = 1152 =1152

therefore n = 4 n=4

hence total number of bags the girl is having = 8 =8

Peter Macgregor
Mar 12, 2015

Since there are the same number of p i n k \color{#E81990}{pink} and b l u e \color{#3D99F6}{blue} bags, there are 1152 2 = 576 \dfrac{1152}{2}=576 arrangements starting with a b l u e \color{#3D99F6}{blue} bag. Since the b l u e \color{#3D99F6}{blue} and p i n k \color{#E81990}{pink} bags can be arranged independently in the same number of ways (let's call it w w ) we can say

w = 576 = 24 w=\sqrt{576}=24

So the number of b l u e \color{#3D99F6}{blue} bags can be arranged in 24 24 ways.

It is now easy to run through the first few factorials to see that

4 ! = 24 4!=24

So there are 4 b l u e \color{#3D99F6}{blue} bags and 8 \boxed{8} b \color{#3D99F6}{b} a \color{#E81990}{a} g \color{#3D99F6}{g} s \color{#E81990}{s} in total.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...