logicA man was to be sentenced, and the judge told him, "You may make a statement. If it is true, I'll sentence you to four years in prison. If it is false, I'll sentence you to six years in prison." After the man made his statement, the judge decided to let him go free.What did the man say?

He said, "You'll sentence me to six years in prison." If it was true, then the judge would have to make it false by sentencing him to four years. If it was false, then he would have to give him six years, which would make it true. Rather than contradict his own word, the judge set the man free.

funnylogicmathAn infinite number of mathematicians are standing behind a bar. The first asks the barman for half a pint of beer, the second for a quarter pint, the third an eighth, and so on. How many pints of beer will the barman need to fulfill all mathematicians' wishes?

Just one.

animalcleanlogicA horse is tied to a fifteen-foot rope and there is a bale of hay 25 feet away from him. The horse however is still able to eat from the hay. How is this possible?

The rope wasn't tied to anything.

animalcleanfunnyshortHow do birds communicate?

On twitter.

logicshort The day before yesterday Cindy was 17. Next year she will be 20. How can this be?

The statement was made on January 1. Cindy's birthday is on December 31. She was 17 the day before yesterday (Dec 30). She was 18 yesterday. She will be 19 this year (Dec 31) and 20 next year.

cleanshortRed through and through, it has no mouth. But it eats many things; it fears water but not wind.

Fire.

cleanlogicshortwhat am IYou bury me when I am alive,
and dig me up
when I die.
What am I?

A plant.

logicmathThere are 5 pirates in a ship. Pirates have hierarchy C1, C2, C3, C4 and C5.C1 designation is the highest and C5 is the lowest. These pirates have three characteristics : a. Every pirate is so greedy that he can even take lives to make more money. b. Every pirate desperately wants to stay alive. c. They are all very intelligent.There are total 100 gold coins on the ship. The person with the highest designation on the deck is expected to make the distribution. If the majority on the deck does not agree to the distribution proposed, the highest designation pirate will be thrown out of the ship (or simply killed). The first priority of the pirates is to stay alive and second to maximize the gold they get. Pirate 5 devises a plan which he knows will be accepted for sure and will maximize his gold. What is his plan?

To understand the answer,we need to reduce this problem to only 2 pirates. So what happens if there are only 2 pirates. Pirate 2 can easily propose that he gets all the 100 gold coins. Since he constitutes 50% of the pirates, the proposal has to be accepted leaving Pirate 1 with nothing.
Now let’s look at 3 pirates situation, Pirate 3 knows that if his proposal does not get accepted, then pirate 2 will get all the gold and pirate 1 will get nothing. So he decides to bribe pirate 1 with one gold coin. Pirate 1 knows that one gold coin is better than nothing so he has to back pirate 3. Pirate 3 proposes {pirate 1, pirate 2, pirate 3} {1, 0, 99}. Since pirate 1 and 3 will vote for it, it will be accepted.
If there are 4 pirates, pirate 4 needs to get one more pirate to vote for his proposal. Pirate 4 realizes that if he dies, pirate 2 will get nothing (according to the proposal with 3 pirates) so he can easily bribe pirate 2 with one gold coin to get his vote. So the distribution will be {0, 1, 0, 99}.
Smart right? Now can you figure out the distribution with 5 pirates? Let’s see. Pirate 5 needs 2 votes and he knows that if he dies, pirate 1 and 3 will get nothing. He can easily bribe pirates 1 and 3 with one gold coin each to get their vote. In the end, he proposes {1, 0, 1, 0, 98}. This proposal will get accepted and provide the maximum amount of gold to pirate 5.

cleanfunnylogicAfter recent events, Question Mark is annoyed with his brother, Skid Mark. Skid thought it would be funny to hide Question's wallet. He told Question that he would get it back if he finds it. So, first off, Skid laid five colored keys in a row. One of them is a key to a room where Skid is hiding Question's wallet. Using the clues, can you determine the order of the keys and which is the right key?
Red: This key is somewhere to the left of the key to the door.
Blue: This key is not at one of the ends.
Green: This key is three spaces away from the key to the door (2 between).
Yellow: This key is next to the key to the door. Orange: This key is in the middle.

The order (from left to right) is Green, Red,Orange, Blue, Yellow. The blue key is the key to the door.

cleanshortwhat am II am full of holes but I can still hold water. What am I?

A sponge.