Posts

Showing posts with the label red

What Was the Color of Gabbar Singh's Shirt ?

In Rangeelia, a neighbour situated west of our country, the native people can be divided into three types: Lalpilas, Pilharas and Haralals

Lalpilas always get confused between red and yellow (i.e. they see yellow as red and vice versa) but can see any other color properly. Pilharas always get confused between yellow and green (i.e. they see yellow as green and vice versa) but can see any other color properly. Haralals always get confused between green and red (i.e. they see green as red and vice versa) but can see any other color properly.

Three people Amar, Akbar and Anthony, who belong to Rangeelia, made the following statements about Gabbar Singh, the famous dacoit of Rangeelia, when he was last seen by them :-


Amar : Gabbar Singh was wearing a green shirt.


Akbar : Gabbar Singh was not wearing a yellow shirt.


Anthony : Gabbar Singh was wearing a red shirt.


If none of Amar, Akbar or Anthony is a Haralal, then what was the color of Gabbar Singh's shirt ?


What Was the Color of Gabbar Singh's Shirt ?


THIS is the color of Gabbar Singh's shirt! 

Ultimate Test of 3 Logic Masters

Try this. The Grand Master takes a set of 8 stamps, 4 red and 4 green, known to the logicians, and loosely affixes two to the forehead of each logician so that each logician can see all the other stamps except those 2 in the Grand Master's pocket and the two on her own forehead. He asks them in turn if they know the colors of their own stamps:

A: "No."


B: "No."


C: "No."


A: "No."


B: "Yes."


Ultimate Test of 3 Logic Masters

What color stamps does B have? 

'THIS' could be his color combination! 

Earlier logicians had been part of "Spot On The Forehead!" and  "Spot on the Forehead" Sequel Contest

The Wisest Logic Master!


What was the challenge in front of him?

Let's denote red by R and green by G. Then, each can have combination of RR, RG or GG.

So, there are total 27 combinations are possible.

1.  RR RR GG
2.  RR GG RR
3.  GG RR RR

4.  GG GG RR
5.  RR GG GG
6.  GG RR GG

7.  RR RG GG
8.  GG RG RR
9.  RG RR GG
10.RG GG RR
11. RR GG RG
12. GG RR RG

13. RR RG RG
14. GG RG RG
15. RG RR RG
16. RG GG RG
17. RG RG RR
18. RG RG GG

19. RR RR RG
20. GG GG RG
21. RG RR RR
22. RG GG GG
23. RR RG RR
24. GG RG GG

25. RR RR RR
26 .GG GG GG

27. RG RG RG.

-------------------------------------------------------------------------------------------------------------------------

1. Now, obviously (19) to (26) are invalid combinations as those have more than 4 red or green stamps.

------------------------------------------------------------------------------------------------------------------------- 

2. In first round, everybody said 'NO' thereby eliminating (1) to (6) combinations. That's because, for example, if C had seen all red (or all green) then he would have known color of own stamps as GG (or RR). Similarly, A and B must not have seen all red or all green.

-------------------------------------------------------------------------------------------------------------------------

3. For (9 - RG RR GG), A would have responded correctly at second round as NO of B had eliminated GG and NO of C had eliminated RR for A in first round. Similarly, (10) is eliminated.

------------------------------------------------------------------------------------------------------------------------- 

4. For (11 -  RR GG RG ), C would would have responded correctly immediately after NO of A had eliminated GG and NO of B had eliminated RR for him in first round. With similar logic, (12) also get eliminated.

------------------------------------------------------------------------------------------------------------------------- 

5. Remember, B has guessed color of own stamps only in second round of questioning.

------------------------------------------------------------------------------------------------------------------------- 

6. For B in (13), his logic would be I can't have RR (total R>4) but GG [ No.(11) - RR GG RG] and RG can be possible. But (11) is eliminated by C's response in first round. That leaves, (13) in contention.

------------------------------------------------------------------------------------------------------------------------- 

7. Similarly, if it was (14 - GG RG RG) combination, then B's thought would be - I can't have GG (total G>4) but can have RR as in (12) - GG RR RG which is already eliminated by C's NO response at the end of first round. Hence, I must have RG. That means (14) also remains in contention.

------------------------------------------------------------------------------------------------------------------------- 

8. On similar note, (17), (18) remains in contention after A's NO at the start of second round.

------------------------------------------------------------------------------------------------------------------------- 

9. If it was (15), then A would have been responded with RG when C's NO in first round eliminates RR (as proved in 2 above) and GG (as proved in 4 above) both. Similarly, (16) is also eliminated after C's NO in first round as above.

-------------------------------------------------------------------------------------------------------------------------

11. For (27), B's logic would be -

"If I had RR then A must had seen RR-RG and had logic - 

"Can't have RR (total R>4); if had GG then C would have answered with RG after I and B said NO in first round itself. Hence, I must tell RG in second round."

Similarly, A's response at the start of second round eliminates GG for me.

Hence, I must have RG combination."

-------------------------------------------------------------------------------------------------------------------------  

10. So only possible combinations left where only B can deduce color of own stamps are -

7.  RR RG GG
8.  GG RG RR

13. RR RG RG
14. GG RG RG

17. RG RG RR
18. RG RG GG

27. RG RG RG.

If observed carefully all above, we can conclude that B must have RG color combination of stamps after observing A's and C's stamps as above to correctly answer in the second round.


-------------------------------------------------------------------------------------------------------------------------

The Wisest Logic Master!


Spot On The Forehead!

Three Masters of Logic wanted to find out who was the wisest among them. So they turned to their Grand Master, asking to resolve their dispute.

"Easy," the old sage said. "I will blindfold you and paint either red, or blue dot on each man's forehead. When I take your blindfolds off, if you see at least one red dot, raise your hand. The one, who guesses the color of the dot on his forehead first, wins."



And so it was said, and so it was done. 


The Grand Master blindfolded the three contestants and painted red dots on every one. 

When he took their blindfolds off, all three men raised their hands as the rules required, and sat in silence pondering.

Finally, one of them said: "I have a red dot on my forehead."

Spot On The Forehead!


How did he guess? 


And this is how his logical brain responded! 


Similar kind of puzzles are - 

The Greek Philosophers  

Real Test Of Genius  

Logical Response By Master of Logic!


What was the test?

Let A, B and C be the names of three logicians and C be the logician who correctly guessed the color of dot on forehead. 

Now, this could be the C's logic behind his correct guess - 

"If I had blue dot on my forehead then A and B must had raised hands after looking red dots on the foreheads of other. In case, what A (or B) would have thought? His logic would be -

    "If C is with the blue dot then B (or A) must have raised hand after noticing 
    red dot on my forehead, hence I must have red dot."

So A (or B) would have successfully guessed color of dot on own forehead easily.

But neither A or B not responding that means I must have red dot on my forehead!"  


Logical Respons By Master of Logic!


The logician who guess it correctly could be either A or B not necessarily be C; here it is assumed C is wisest for the sake of convenience.

Different Kind of Dice Game!

Timothy and Urban are playing a game with two six-sided dices. The dice are unusual: Rather than bearing a number, each face is painted either red  or blue.

The two take turns throwing the dice. Timothy wins if the two top faces are the same color, and Urban wins if they’re different. Their chances of winning are equal.

The first die has 5 red faces and 1 blue face. What are the colors on the second die?


Different Kind of Dice Game!

Die Needed For Different Kind of Dice Game!


What was the different in dice game?

Throwing two six-sided dice produces 36 possible outcomes. Since both Timothy and Urban have equal chances of winning, there are 18 outcomes where top faces are of same color.

Let's assume there are 'x' red faces and (6-x) blue faces on the other dice.

Remember, the first die has 5 red faces and 1 blue face. Then there are 5x ways by which top faces are red & 1(6-x) ways by which they both are blue. But as deduced above, there are 18 such outcomes in total where faces of dice matches color.

Therefore,

5x + 1(6-x) = 18

4x = 12

x = 3

Hence, other die have 3 red colored & 3 blue colored faces.



Die Needed For Different Kind of Dice Game!

Tricky Probability Puzzle of 4 Balls

I place four balls in a hat: a blue one, a white one, and two red ones. Now I draw two balls, look at them, and announce that at least one of them is red. What is the chance that the other is red?


Tricky Probability Puzzle of 4 Balls


Well, it's not 1/3!

Tricky Probability Puzzle of 4 Balls : Solution


What was the puzzle?

It's not 1/3. It would have been 1/3 if I had taken first ball out, announced it as red and then taken second ball out. But I have taken pair of ball out. So, there are 6 possible combinations.

red 1 - red 2
red 1 - white
red 2 - white
red 1 - blue
red 2 - blue
white - blue 


Out of those 6, last is invalid as I already announced the first ball is red. That leaves only 5 valid combinations.

And out of 5 possible combinations only first has desired outcome i.e. both are red balls.
Hence, there is 1/5 the chance that the other is red 

Tricky Probability Puzzle of 4 Balls : Solution

"Square,Square; Which Color?"

A square tabletop measures 3n × 3n. Each unit square is either red or blue. Each red square that doesn’t lie at the edge of the table has exactly five blue squares among its eight neighbors. Each blue square that doesn’t lie at the edge of the table has exactly four red squares among its eight neighbors. How many squares of each color make up the tabletop?


"Square,Square; Which Color?"


Here is correct way to count those!

Counting Colorful Squares!


How squares are arranged?

The tabletop measures 3n × 3n, so we can divide it evenly into n2 ( 3 × 3) squares that together tile the surface completely.

Let's consider a piece of square of size 3 x 3. For each such unit of 3 x 3 -

1. If the center of the square is red square, then there are 5 blue squares and 3 red squares surrounded with it. 

Counting Colorful Squares!


2. If the center is blue square, then there are 4 blue and 4 red squares surrounding that square. 

Counting Colorful Squares!

In any case, for 3 x 3 = 9 squares, there are 5 blue and 4 red squares. 

Therefore, for tabletop of 3n x 3n, there will be 5n2 blue squares and 4n2 red squares.  

Three Hat Colors Puzzle

A team of three people decide on a strategy for playing the following game.  

Each player walks into a room.  On the way in, a fair coin is tossed for each player, deciding that player’s hat color, either red or blue.  Each player can see the hat colors of the other two players, but cannot see her own hat color.  

After inspecting each other’s hat colors, each player decides on a response, one of: “I have a red hat”, “I had a blue hat”, or “I pass”.  The responses are recorded, but the responses are not shared until every player has recorded her response.  

The team wins if at least one player responds with a color and every color response correctly describes the hat color of the player making the response.  In other words, the team loses if either everyone responds with “I pass” or someone responds with a color that is different from her hat color.

What strategy should one use to maximize the team’s expected chance of winning?



Three Hat Colors Puzzle


These could be the strategies to maximize the chances of winning!


Three Colors Hats Puzzle - Solution


What's the puzzle? 

There can be two strategies to maximize the chances of winning in the game.

STRATEGY - 1 :   

There are 8 different possible combinations of three color hats on the heads of 3 people. If we assume red is represented by 0 & blue by 1 then those 8 combinations are - 

Three Colors Hats Puzzle - Solution

Here only 2 combinations are there where all are wearing either red or blue hats. That is 2/8 = 25% combinations where all are wearing hat of same color and 6/8 = 75% combinations where either 1 is wearing the different colored hat than the other 2.  In short, at least 2 will be wearing either red or blue in 75% of combinations.

Now for any possible combination, there will be 2 hats of the same color (either blue or red). The one who sees the same color of hats on heads of other two should tell the opposite color as there are 75% such combinations. That will certainly increase the chances of winning to 75%.

STRATEGY 2 :    

Interestingly, here 3 responses from each member of team are possible viz RED (R), BLUE (B) and PASS (P). And every member can see 3 possible combinations of hats on the heads of other 2 which are as 2 RED (2R) 2 BLUE (2B) and 1RED:1BLUE (RB). See below.


Three Colors Hats Puzzle - Solution

Let's think as instructor of this team. We need to cover up all the possible 8 combinations in form of responses in the above table. 

Three Colors Hats Puzzle - Solution

For every possible combination, at least 1 response need to be correct to ensure win. But out of 9 above, 3 responses of 'PASS' are eliminated as they won't be counted as correct responses. So we are left with only 6. Let's see how we can do it.

First of let's take case of 2R. There are 2 responses where A sees 2 RED hats (000,100). We can't make sure A's response correct in both cases. So let A's response for this case be R. So whenever this 000 combination will appear A's response will secure win.

After covering up 000, let's cover up 001. For that, C's response should be B whenever she sees 2 red hats on other 2. And only left response P would be assigned to B.

Three Colors Hats Puzzle - Solution

So far,we have covered up these 2 combination via above responses.  

Three Colors Hats Puzzle - Solution

--------------------------------------------------------------------------

Now, let's take a case of 2B. A can see 2B hats whenever there 011 or 111 appears. Since A's R response is already used previously, let B be her response in the case. So the combination 111 will be covered up with A's response.  

B can see 2B hats in case of 101 or 111. Since 111 is already covered above, to cover up 101, B should say R whenever she sees 2 BLUE hats on the heads of other 2. With this only response left for C in case of 2B is P.

Three Colors Hats Puzzle - Solution
 
With these responses, we have covers of so far,

Three Colors Hats Puzzle - Solution
 
 -------------------------------------------------------------------------

After filling remaining 1 possible response in response table for every team member in case of 1 RED and 1 BLUE hat, 

Three Colors Hats Puzzle - Solution

 B's response as BLUE in this case will ensure win whenever 011 or 110 combination will appear. Similarly, C's response as a RED will secure win whenever 010 or 100 appears as a combination.

Three Colors Hats Puzzle - Solution
------------------------------------------------------------------------------

In this way, there will be at least 1 response correct for every possible 8 combinations. This strategy will give us 100% chances of winning this game!

Three Colors Hats Puzzle - Solution


The above table shows who is going to respond correctly for the given combination ( the block of combination & correct response are painted with the same background color).
 
SIMPLE LOGIC : 

The same strategy can be summarized with very simple logic. 

There must be someone to say RED whenever she sees 2 RED hats; someone should say BLUE and remaining one should say PASS. Similarly, one has to say BLUE; other should say RED & third one should say PASS whenever 2 BLUE hats are seen. Same logic to be followed in case of 1 RED and  1 BLUE hats seen. But while doing this, we need to make sure responses are well distributed & not repeated by single member of team (See table below).

Three Colors Hats Puzzle - Solution
 
Follow me on Blogarama