Showing posts with label puzzle. Show all posts

Sunday, November 9, 2014

The Greatest Show On Earth

No comments :
"This is terrible," the customs officer shouted. "It's impossible to count all these people and animals that keep moving around constantly. I can't count the same number twice! There are zebras, lions, giraffes, horses, elephants, rhinos, tigers, cheetas, flamingos, storks, doves and hummingbirds! I can't keep them under control, I just can't!"

"Count the heads, officer," the circus owner advised. "Every animal has got a head and, as the documentation shows, I can count 112 of them."

"Count the legs, officer, that's the way," the clown said. "There are 310 legs; if you subtract the number of heads from the number of legs, you'll be able to tell how many bipeds and how many four-legged animals there are."

"Wait a second, I've just counted the legs just now, and there's 297 of them," the cook said.

"This is driving me mad," the officer muttered. "One of them tells me there are 112 heads, another one talks about 310 legs, and that mentally-disturbed cook tells me that the number of legs is only 297. How many animals, including humans, are there?

To be more precise, how many bipeds and how many four-legged animals are there? And is the cook completely mad?

The Greatest Show On Earth Puzzle Solution

There are 69 bipeds and 43 four-legged animals. If all animals were four-legged, the officer would have counted 448 legs, not 310. Obviously 138 legs are missing, hence 69 subjects are bipeds.

It's worth pointing out that, within the bipeds, there are 13 stilt birds, which include flamingos and storks. The cook must have counted them as they were standing on one leg only, so whilst he is not crazy, he almost drove the customs officer mad.

Tuesday, November 4, 2014

A Thinking Man

No comments :
Professor Percent was a maths lecturer with an interest for new ways to express mathematical expressions. The traditional symbols (+, -, *, /, etc) were not enough anymore, to convey his superior numeric operations, so he had to invent new symbols, and only a superior brain would be able to understand the need for his new symbols.

The first symbol he invented was §; between two numbers, it meant that, if the first number was greater than the second, then the second should be subtracted from the first one; otherwise the two numbers should be added. Therefore 5 § 2 = 3, while 2 § 5 = 7.

The poor people that had to put up with this were, of course, his students. In the last test they were faced with:

5 ¿ 2 = 27
6 ¿ 3 = 27
8 ¿ 4 = 36

and also with:
5 ¤ 2 = 15
6 ¤ 4 = 12
3 ¤ 8 = 40

What are the meanings of the symbols ¿ and ¤?

 

Notes:
There are at least 3 different solutions for ¿.

A Thinking Man Puzzle Solution

The symbol ¿ means the difference between the number made up of the all digits of the operation, and the mirror of this last number. i.e,
5 ¿ 2 = 52 - 25 = 27
6 ¿ 3 = 63 - 36 = 27
8 ¿ 4 = 84 - 48 = 36

An alternative solution for this symbol (submitted by Alfa Chan... many thanks!) is simply the difference between the two numbers multiplied by 9. i.e,
5 ¿ 2 = (5 - 2) × 9 = 27
6 ¿ 3 = (6 - 3) × 9 = 27
8 ¿ 4 = (8 - 4) × 9 = 36

Another alternative solution submitted by Mickey Kawick... thanks!! We have x ¿ y; If x is odd, then the result is 5x + y, otherwise it's 5x - y. i.e,
5 ¿ 2 = 5 × 5 + 2 = 27 (5 is odd, so we add the 2)
6 ¿ 3 = 6 × 5 - 3 = 27 (6 is even, so we subtract the 3)
8 ¿ 4 = 8 × 5 - 4 = 36 (8 is even, so we subtract the 4)

The symbol ¤ means the difference between the two numbers multiplied by the larger of the two numbers. i.e,
5 ¤ 2 = (5 - 2) * 5 = 3 * 5 = 15
6 ¤ 4 = (6 - 4) * 6 = 2 * 6 = 12
3 ¤ 8 = (8 - 3) * 8 = 5 * 8 = 40

An alternative solution for this symbol, as submitted by Jeff Schall (many thanks!), is the difference between the square of the bigger of the two numbers and their product. i.e,
5 ¤ 2 = (5 ^ 2) - (5 * 2) = 25 - 10 = 15
6 ¤ 4 = (6 ^ 2) - (6 * 4) = 36 - 24 = 12
3 ¤ 8 = (8 ^ 2) - (3 * 8) = 64 - 24 = 40

Thursday, October 30, 2014

Three Divine Comedians

No comments :


divine comedians puzzle

As Dante was reaching River Styx on his way back from the Underworld, he was expecting to hitch a ride back on Charon's boat, and then go to pay a visit in Purgatory. As things went, Charon turned out to be a rather nasty fellow. Instead of giving Dante a nice, hassle-free trip back across the damned river, he called his three best buddies. Dante looked at them. The monsters were pretty ugly overall.

"You see, Dante, nothing is free in life - or death - except suffering," said Charon. "My three friends here, although they all look repulsive, are rather peculiar: one of them always tells the truth, another one always lies, and the last one is a bit of a lunatic: sometimes it tells the truth and sometimes it lies. You have a total of three questions you can ask them to find out which one is which. I'll take you on the other side of the Styx if and only if you can tell me, without a shadow of a doubt, which one tells the truth, which one is the liar, and which one is the lunatic one. Oh, I almost forgot to tell you - silly me - they can only answer yes or no... isn't life great?"

What three questions will enable Dante to cross the River Styx?

 

Notes:
  • Each question is directed to, and answered by, only one creature.
  • The creatures themselves know who is the truth-teller, who is the liar, and who is the lunatic.
  • The solution does not rely on asking them questions that they are not able to answer due to uncertainty. eg, asking the liar or the truth-teller to predict whether the lunatic will say yes or no to a given question.

Three Divine Comedians Puzzle Solution

Dante figured that first of all, he had to find out which of the three monsters was the lunatic one. Let's call the three monsters A, B, C.

In order to do so, he asked one of them (let's say monster A for this example) a question like: "If I asked a question to monster B, would I stand a greater chance of obtaining a truth than if I asked the same question to monster C?"

The possible combinations (where + means the monster that tells the truth, - means the monster that lies, x means the lunatic monster) are:
Answer given Monster A Monster B Monster C
No + - x
Yes + x -
No - + x
Yes - x +
Yes/No x + -
Yes/No x - +

If the answer was a "Yes", then it was safe to say that x couldn't have been monster C; on the other hand, if the answer was a "No", then x couldn't possibly have been Monster B.

Once that Dante obtained this information, he used his second question to find out whether the monster that is definately NOT the lunatic one was + or -, and the easiest way of achieved this was by asking a question with an obvious answer such as, "Is 2 an even number?" After finding out whether the monster is the liar or the sincere one, the third question was used to resolve the other two monsters; a question like "Is monster A the lunatic one" did the trick.

Saturday, October 25, 2014

Barrels 'O' Fun

No comments :
In the basement of the Italian "cantina", there are 3 small, irregularly-shaped, wine barrels: a 12-litre one, full, and two empty ones, which can contain up to 7 and 5 litres.

Without using any additional tool, how can you get exactly 6 litres of wine in the 7-litre barrel, and have 6 litres left in the 12-litre barrel?

Barrels 'O' Fun Puzzle Solution

There are multiple ways of solving this. One way is given below, and it's probably the fastest one. Each set of 3 numbers separated by hyphens is the amount of wine (in litres) in the 3 barrels after each "pouring operation". The 3 barrels are always in the same order: 12, 7, and 5 litres.
  • 12-0-0
  • 5-7-0
  • 5-2-5
  • 10-2-0
  • 10-0-2
  • 3-7-2
  • 3-4-5
  • 8-4-0
  • 8-0-4
  • 1-7-4
  • 1-6-5
  • 6-6-0.

Monday, October 20, 2014

Three Camels

No comments :
Three young men travelled across the desert toward the tent of The Great Sage, seeking precious advice.

The eldest of the three moved in front of The Great Sage, who was meditating, and said, "God bless You, Great Sage! Our Father, before dying, left us these camels, and it is his will that I should have a half of the herd, my brother Ali one third, and my brother Ismail one ninth. We've tried, Glorious Sage, we have divided the camels and divided them again until the void opened before us. Help us, Magnificent Sage, we are not gifted with your superior intellect!"
camels riddle


The Great Sage asked the pleading man "How many camels are there?"

"Seventeen, may God bless You!", was the answer.

The Great Sage smiled.

How were the camels divided, strictly observing the fatherly will and without butchering any of them?

Three Camels Puzzle Solution

The Great Sage added his own camel to the other seventeen. He then gave 9 camels (one half of 18) to the eldest of the three, 6 camels (one third) to Ali, and 2 camels (one 9th) to Ismail. Then took his own camel back and sat in front of the tent, thanking God for His generosity.

Another way to explain the solution, perhaps in a more mathematical manner, is the following, courtesy of Gopalakrishnan Thirumurthy.
The three sons are assigned their shares: 1/2, 1/3, and 1/9. The sum of their shares is 1/2 + 1/3 + 1/9 = 17/18. Out of 18 camels, 17 of them are left by their father. So,
  • #1 gets 1/2 of 18 = 9
  • #2 gets 1/3 of 18 = 6
  • #3 gets 1/9 of 18 = 2
9 + 6 + 2 = 17.

Wednesday, October 15, 2014

Cheers To Statistics

No comments :
Two and a half artists spend two and a half hours painting two and a half models on two and a half canvases.
How many artists are necessary to paint twenty-four models on twenty-four canvases in twenty hours?

Cheers To Statistics Puzzle Solution


Three artist would do the trick. This is because twenty-four artists would paint twenty-four models in two and a half hours. Since the available time increases eight-fold (2.5 * 8 = 20), it is possible to reduce the number of painters by the same number of times (24 / 8 = 3).

Friday, October 10, 2014

Faulty Batch

No comments :
A little nation in Antarctica has its gold coins manufactured by eight different European companies. The Treasury Minister and his secretary were examining samples just delivered from the eight companies.

"How much should these coins weigh?" the Minister asked.

"Ten grams each, Sir."

"At least one of these coins - this one - is lighter than the others," said the Minister. "Let's check."

He put the coin on the scale, which showed that the coin weighed only nine grams. A bunch of coins, untidily placed on a tray, were frantically searched by the Minister and his secretary. Within the bunch, they found a handful of coins that also weighed one gram less than they should. The two men looked at each other; obviously, one of the manufacturing companies was producing coins with the wrong weight.

"Most of the coins are still packed in the plastic wrappers. It should be easy to tell which company is producing the faulty batch," said the secretary.

The two men placed eight packs of coins on the table, one pack from each company.

"How tedious," sighed the Minister. "Do we really have to use this scale eight more times, just to find the faulty batch of coins?"

"That won't be necessary, Sir," grinned the secretary. "We can find the lighter coins by using the scale only once."

How would they do it?



Notes:
By using the scale once, it means that only one reading can be taken after all the coins to be weighed are placed onto the scale. ie, you cannot read the values as you place the coins on -- that would make the puzzle too easy!

Faulty Batch Puzzle Solution

The secretary placed on the scale 1 coin from the first batch, 2 from the second, and so on until he put 8 from the eighth batch.

If all coins weighed 10 grams each, then the weight displayed on the scale should have been 360 grams ((1 + 2 + ... + 8) × 10). But, since one batch of coins weighs less, the difference between 360 grams and the weight displayed on the scale should point us to the faulty batch. For example, if the faulty batch was the fifth one, then the total weight displayed on the scale would be 355 grams. Or if it was the seventh batch, the weight would have been 353 grams, ie 7 grams less than the theoretical total weight of 360 grams.

An 'optimisation' on this solution is to omit the 8 coins from the eighth batch. In this case, the maximum weight of the coins would be 280 grams, and if it equals 280, then the eighth batch is the faulty one. Thanks to Denis Borris for this observation.

By using the same logic, one could omit the coins from any one of the other batches, instead of the eighth one. For example, if we omit the fourth batch, we'll be left with a theoretical 320 grams and, if it is indeed the total weight, then we will know that the fourth batch was the faulty one. Thanks to Glen Parnell for noticing this.

Sunday, October 5, 2014

Faulty Batches

No comments :
"This time," said the Treasury Minister, "I ditched those dodgy Europeans, and I have assigned the manufacture of our gold coins to five American companies. Look, they are all shining and beautiful, and they are all exactly the same!"

The secretary looked at the coins, weighed some of them, and cleared his throat. "Ahem, Sir. I would like to point out that here we have at least three different kinds of coin; they all look the same, but their weight is different. Would you please come close to the scale? This coin weights 10 grams, as it should, but this other one is 11 grams, while this one is only 9 grams. Obviously two of our manufacturing companies haven't done a good job."

Sad as he could have been, for having been tricked agin by other dodgy companies, the Minister managed to raise his head. "Well.. it's just a matter of finding the fauly ones using the trick that you've showed me, by using the scale only once..."

"Sir. Actually, this is a different problem altogether, we need to find two sources of errors, rather than just one. One batch is heavier, another is lighter. The method I used before will not be sufficient this time. But we can nevertheless find the two offending batches by using the scale once."

How did they manage to use the scale only once?



Notes:
  • You may assume that each batch is made of a large amount of coins (thousands, millions, up to you! :)
  • All coins of the same batch weight the same amount.
  • The storyline in this puzzle follows from the story in Faulty Batch. It is however NOT necessary to have previously read/solved that puzzle in order to solve this one, even though it may be preferable.

Faulty Batches Puzzle Solution

They had to weigh 1 coin from the 1st batch, 2 from the 2nd, 4 from the 3rd, 8 from the 4th, and 16 from the 5th one.

If all coins weighed 10 grams as they should, the scale would display 310 grams ((1 + 2 + 4 + 8 + 16) * 10). However, since one batch has 9 grams coins, and another 11 grams coins, then the total weight of this combination of coins will be:
Total Weight Number of
9g coins
Number of
11g coins
311 1 2
313 1 4
317 1 8
325 1 16
312 2 4
316 2 8
324 2 16
314 4 8
322 4 16
318 8 16
309 2 1
307 4 1
303 8 1
295 16 1
308 4 2
304 8 2
296 16 2
306 8 4
298 16 4
302 16 8

After seeing the solution to this puzzle, it is clear that it would be a lot easier to simply use the scales up to 5 times rather than go through all this, but where is the fun in that?

Tuesday, September 30, 2014

Orbiting Logic

No comments :
Colonel Tom Carpenter, during his fifth space mission, was being kept awake by the blabbering of the Cape Canaveral Control Centre operator, who offered him the following puzzle.

"Here's a deck of 52 cards, Tom. I'm taking the Aces and the Royals out of the deck. Do you copy that, Tom?"
cards riddle

"Roger," the yawning voice of the astronaut answered.

"Of the 36 remaining cards, I've drawn 5 of them. These 5 cards have the following properties:
(a) all four suits are represented here;
(b) there is no more than 2 consecutive ranks for each sequence (ie a 2 followed by a 3, or a 7 by an 8, or both, but not 2, 3, 4);
(c) the sum of the even ranks and the sum of the odd ranks produce two numbers: the difference between these two numbers is 9, but I won't specify whether it's the sum of odds being greater than the sum of evens, or viceversa.
(d) the sum of ranks of the red cards is exactly twice the sum of ranks of the black cards.
You awake, Tom?"

After a pause, Tom managed a faint "Roger."
"Ok, you should also know that:
(e) a hearts is a multiple of a clubs;
(f) the rank of a diamond is greater than that of a hearts;
(g) there are no 2 cards with the same rank.

Which cards did I draw? Tom, are you listening? Which cards have I got?"

Deduce which five cards he necessarily holds.

Orbiting Logic Puzzle Solution

During the next orbit, the sleepy but correct answer came forth from the astronaut: 2 of clubs, 5 of hearts, 7 of diamonds, 9 of spades, and 10 of hearts.

Following from (g) - no two cards are the same rank - and (b), the strongest combination (ie highest ranks) possible is 10, 9, 7, 6, 4, which adds up to 36. If we write down all combinations of 2 numbers that have a difference of 9, and a maximum sum of 36, we'll have:
  • 2, 11
  • 3, 12
  • 4, 13
  • 5, 14
  • 6, 15
  • 7, 16
  • 8, 17
  • 9, 18
  • 10,19
  • 11, 20
  • 12, 21
  • 13, 22
The number of odd ranks in the 5-card combination could be 1 or 3 (not 2 and not 4 because their sum would be an even number, and a difference of 9 between two even numbers is inexistent). If there was only 1 odd rank, then there would be 4 even ranks, and the weakest combination of evens would be 2, 4, 6, 8 which add up to 20: the difference, 9, would result in a single number, 11, which does not exist in the deck of cards (the Royals were excluded). Therefore we have 3 odd ranks. The sum of the weakest 3 odd ranks (excluding the Aces) is 15, ie 3 + 5 + 7. So, from the combinations above, we can exclude all combinations that contain an odd number less than 15. We are left with
  • 6, 15
  • 8, 17
  • 10, 19
  • 12, 21
The first one (6, 15) must be excluded because the 3 odd numbers (3, 5, 7) would be joined by the only 2 even numbers which would add up to 6 (2,4), and therefore we would have a sequence of 5 consecutive numbers, which doesn't match the constraint set by (b). We are left with 3 combinations:
  • 8, 17 (and the 5 ranks would be 2, 3, 5, 6, 9)
  • 10, 19 (and the 5 ranks would be 3, 4, 6, 7, 9)
  • 12, 21 (and the 5 ranks would be 2, 5, 7, 9, 10)
But (d) states that the sum of red cards is twice of the sum of black cards, so the first 2 combinations must be excluded, because it's not possible to find 2 sets of numbers, one of which is twice the other; therefore the 5 ranks can only be 2, 5, 7, 9, 10. The red cards must be 5, 7, 10.

Following (e), rank 2 must be clubs and 10 must be hearts, so rank 9 must be spades; following (f), rank 7 has got to be diamonds and rank 5 must be hearts.

Thursday, September 25, 2014

Three Skullcaps

No comments :
After being captured by the tribe of the forest, the three explorers were taken to the tribe's chief, who declared that the tribe needed a successor of great wisdom. He showed the captives five skullcaps, three of which were red and the remaining two were green. He commanded the three to line up with their faces toward the wall. On each he placed a red skullcap.

"Now", the chief said, "turn around and look at each other. Whoever can tell me, with a logical explanation, the colour of the skullcap you are wearing will be granted freedom."

The three turned around, looked at each other, and after a long pause one of them said, "I don't know." Two natives impaled him on their spears.

After another pause, the second prisoner stuttered, "I don't know." The two natives threw him into a fire pit.

Immediately, the third man turned a cartwheel, announced, "My skullcap is red," and proceeded to explain.

Amidst the applause of the gathered tribesmen, the chief awarded the explorer vice-chiefdom of the tribe for his wisdom

How did the explorer know that his skullcap was red?

Three Skullcaps Puzzle Solution

At first, any explorer could have guessed the colour of his own skullcap only if the other two wore green skullcaps. Unfortunately, the first explorer admits to not being able to work it out, and is killed.

Then, with two people left it is possible for either explorer to know if he wears a red skullcap only if the other wears green. In that case, he could reason, "The other person wears green, so if I also have a green skullcap, then the first man would have deduced that he was wearing a red skullcap, since there are only two green caps. Therefore my skullcap is, without doubt, red." Of course, this is not the case. Stupidly, the second explorer admits he does not know and is killed as punishment.

After seeing that the other two could not deduce their colours, and believing in their deductive capabilities, the third prisoner was then sure he was wearing a red skullcap.

Saturday, September 20, 2014

Red Square, Moscow, 30th April

1 comment :
"And what about these two posters?"

"Those are the posters that will be hung on the south side of Red Square: as you can see they represent comrades Lenin and Marx."

"I can see that by myself. What I meant was the other two posters over there, the one with the Red Star and the one with the Hammer and Sickle."

The four posters were lined up and showed, from left to right, Lenin, Marx, the Red Star, and the Hammer And Sickle.

"Oh, they are nothing but the back of the other two. I wanted you to also see the back-faces of the posters, as these back-faces will be invisible from the inside of the Square."

communist posters riddle

"Hmmm... so enlighten me, which is the front of the poster representing the Hammer And Sickle?"
Nikita Proskoijev grinned, "I would like to test your deduction capabilities, dear comrade; a capability, I might add, which some people have had the guts to doubt. I say that all posters representing Lenin show the Hammer And Sickle on their opposite face. How would you verify this statement, in such a way that leaves no shadow of a doubt?"

"Do you mean, dear tovarisc, that I should turn these gigantic posters around to see which comrade matches the Star and which the Hammer And Sickle?"

"I have said what I have said, dear Ivanovic; it is up to you to decide what is the minimum number of posters to turn around to verify whether my statement was true or false."

Ivanovic felt very cold, as if he was in Siberia. What is the minimum number of posters, out of the four displayed, that he has to turn around to verify the statement of that cunning snake?

Ivanovic had to turn around two posters: the first one (Lenin) and the third one (the Red Star).

All that Nikita Proskoijev said was that all the posters representing Lenin show Hammer And Sickle on their opposite face. Therefore it is needed to check the back of the first poster and the front of the third one, to make sure that the Red Star wasn't linked with Lenin's face, cause if it was, then Proskoijev's statement would have been false.

Checking the front of the fourth poster (which is what Ivanovic did, that's why he's now a lumberjack near Jakutsk) is useless; if the 4th poster shows Lenin face as its front, it would just confirm what Proskoijev stated; but then, if the 4th poster showed Marx, this would not have falsified Proskoijev's statement, because he said that Lenin is linked to Hammer And Sickle, while he didn't state that Hammer And Sickle are linked to Lenin.

Monday, September 15, 2014

Mizar

No comments :
mizar
The bells of the clock tower signal six o'clock (with 6 loud rings) in 5 seconds.

How long will it take for the bells to signal twelve o'clock (midday)?



Notes: It is not 10 seconds!

Mizar Puzzle Solution:

11 seconds. The 5 seconds needed to signal six o'clock are the 5 silent intermissions between rings. At twelve, the 12 rings are interleaved by 11 silent intermissions, which need 11 seconds to be executed.