You are given a 4 × 4 square Board and you need to fill it with Red and Blue colours, Such that there are exactly two blue boxes and two red boxes in each row and column.
In how many ways, is it possible to fill the colours in 4 × 4 square Board.
ADDITIONAL CHALLENGE : Derive a formula For n × n square Board and n/2 colours, where n is even .
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.
@Richard Desper , This his is a very good way to represent the solution. I used the same strategy but my representation wasn't upto the mark.... Thank you for such a good solution.
+1! helpful solution. I was wondering if there exist some work on general n x n case
I solved the problem in 3 steps
1)No. of ways to fill the first row is 4 C 2
2)No. of ways to fill the first column is 3 C 2
{as the first block of first column is already filled in step (1) }
Now from these 3 methods,
- - One will lead to complete filled board [ when the colours in first row and second row match ] { 1× 1 }
( because there can be only 2 blocks of same colour in a line )
- - Other two will lead to two cases each [ as on filling the opposite colours, we would go to the leftmost empty block of 3rd row. There we will have 2 colours to fill in, so 2 ways ] { 2×2 }
Finally we get the number of ways of filling the board equal to
(1) × (2) × (3)
= 4 C 2 × 3 C 2 × ( 1×1 + 2×2 )
= 6 × 3 × 5
= 90
Please explain more.... How you got N s y m and explain each step then onwards.
Log in to reply
Hope the additional information helps explain the patterns for combinations.
Log in to reply
Hi, my notification is showing me that you replied to my comment twice... but I am not able to find the comments! I beleive that you have got my doubt because when I posted my doubt, in reply to your comment, then your comment just vanished ! I don't have any idea what's happening.
One comment was 50 min ago, Other was an hour ago !
Log in to reply
@Nikola Alfredi – Hi Nikola, yes, I asked you what you got for the number of columns. Then I decided to check my answer and saw I double counted. Sorry for the confusion. Have a great day!
Log in to reply
@A Former Brilliant Member – You too (have a great day)... Do not click , but if you do then see the solution.
Problem Loading...
Note Loading...
Set Loading...
For the 4 × 4 case, I'll use the counting principle.
To make the argument simpler, I'll consider 4 × 4 0 − 1 matrices M whose row and column sums all equal 2 . (I.e., M i j = 1 if and only if there is a red square in the i th row and j th column.)
There are ( 2 4 ) ways to place two red squares in the first row. Let i 1 , i 2 be such that M 1 i 1 = 1 = M 1 i 2 . Consider a fixed value of i 1 . There are 3 choices for j such that M j i 1 = 1 .
At this point, we split into two cases:
1) M j i 2 = 1 . If this is the case, then we have two rows and two columns that have their red squares, so the other four reds are { M k l : k = 1 , j , l = i 1 , i 2 } . Thus there is one matrix in this case.
2) M j i 2 = 0 . In this case there are two choices for l = i 1 , i 2 such that M_{jl} = 1, and for each of those two choices there are two choices for k such that M k i 2 = 1 . For each of these four choices, there is exactly one way to complete the matrix to get the desired row and column sums. Thus there are exactly four matrices in this case.
Thus the total number of such matrices is ( 2 4 ) ∗ 3 ∗ ( 1 + 4 ) = 9 0