Puzzle Corner

112 Replies, 11412 Views

An old favourite puzzle. Some if not all of you are probably familiar with it already:

You are given 9 balls and a pair of balancing scales. All of the balls are of equal weight except for one of them, but you are not told which one this is, nor whether it is heavier or lighter than the rest. Your task is to discover which ball is a different weight and whether it is heavier or lighter. You may use the scales three times to weigh any combination of balls against any other combination. You may of course base your choice of balls for a weighing on the results of a previous weighing. The solution is a description of the process of weighing that you would go about to find the odd ball and whether it's heavier or lighter than the rest.
Okay, I think I've got this.

Show contentSpoiler:

Linda
(This post was last modified: 2019-10-05, 11:54 AM by fls.)
[-] The following 1 user Likes fls's post:
  • Laird
(2019-10-05, 08:55 AM)Laird Wrote: An old favourite puzzle. Some if not all of you are probably familiar with it already:

You are given 9 balls and a pair of balancing scales. All of the balls are of equal weight except for one of them, but you are not told which one this is, nor whether it is heavier or lighter than the rest. Your task is to discover which ball is a different weight and whether it is heavier or lighter. You may use the scales three times to weigh any combination of balls against any other combination. You may of course base your choice of balls for a weighing on the results of a previous weighing. The solution is a description of the process of weighing that you would go about to find the odd ball and whether it's heavier or lighter than the rest.

I'm afraid that one was beyond me. I had to look the answer up.
The pirate game:

Five pirates, in order of seniority (A, B, C, D, E) find 100 gold coins and must figure out how to split them up. The most senior pirate (A) makes a proposal which the pirates vote on. If the proposal is accepted by the majority, fine. But if it isn't, the senior pirate is thrown overboard into shark-infested waters to die. Then the next most senior pirate (B) makes a proposal which is voted upon. Now that there are only 4 pirates, a tie is possible, in which case the vote of the most senior pirate (who is also the one making the proposal) stands. However, if there isn't a tie and the proposal isn't accepted, then this most senior pirate is also thrown overboard. And on it goes until there is potentially only one pirate remaining (E), who takes all the loot.

These are the conditions upon which the votes are based:
Each pirate is rational and can follow the game through to its logical conclusion.
Each pirate wants to survive.
Each pirate wants to get as much money as possible.
Each pirate is bloodthirsty, and all else being equal, would like to see a more senior pirate thrown overboard.
No pirate trusts another pirate enough to make a private deal with them.

How should the first, most senior pirate propose to split up the gold coins?
(This post was last modified: 2019-10-05, 04:41 PM by fls.)
I arrived at this thread late, after the 'sisters' problem had already been discussed at length.

Rather than read all the relies, I set about writing a program to generate a set of families of a given size (example five siblings) and supplied the values using a pseudo-random number generator. This isn't strictly necessary, but it avoids the necessity to analyse the data by hand.

By the time I'd written the following two functions:

Code:
int Family::boySisters() const
{
    return ngirls * nboys;
}

int Family::girlSisters() const
{
    return ngirls * (ngirls - 1);
}

an imbalance was clearly evident.

I then ran the program for 10 million families. For each run I chose the number of siblings at the start - anything from one child to 98 children (an arbitrary selection).

The results echoed Linda's.

(This doesn't mean my program is correct. To be thorough I'd still need to produce a set of expected results by hand, as well as have the code thoroughly reviewed for errors).
[-] The following 1 user Likes Typoz's post:
  • Laird
(2019-10-05, 06:15 PM)Typoz Wrote: For each run I chose the number of siblings at the start - anything from one child to 98 children (an arbitrary selection).

Yikes. That poor woman!

Linda
[-] The following 2 users Like fls's post:
  • Typoz, Laird
(2019-10-05, 08:52 PM)fls Wrote: Yikes. That poor woman!

Linda

Quite. Smile

Still, for problems in general, looking at larger numbers may reveal a pattern not apparent in smaller numbers.
(2019-10-05, 11:53 AM)fls Wrote: Okay, I think I've got this.

Nice!

My own solution which I have reconstructed from rough memory from years back:

Show contentSpoiler:

My friend's solution - unconditional weighings! So simple!

Show contentSpoiler:

Other solutions are probably possible.
Here's another from the Skeptical Intelligencer:

‘You know’, said the historian, ‘it never ceases to amaze me that of the first five presidents of the USA, three died on the fourth of July’. ‘Really?’ exclaimed both the psychologist and the mathematician. ‘Yes’, the historian continued, ‘and what are the odds of your correctly guessing which three they are?’ After a short pause the psychologist answered, ‘One in six’. ‘Hang on’, said the mathematician as he jotted down his calculations on a scrap of paper. ‘It’s actually one in ten’. Who is right?
(2019-10-05, 04:40 PM)fls Wrote: The pirate game:

Five pirates, in order of seniority (A, B, C, D, E) find 100 gold coins and must figure out how to split them up. The most senior pirate (A) makes a proposal which the pirates vote on. If the proposal is accepted by the majority, fine. But if it isn't, the senior pirate is thrown overboard into shark-infested waters to die. Then the next most senior pirate (B) makes a proposal which is voted upon. Now that there are only 4 pirates, a tie is possible, in which case the vote of the most senior pirate (who is also the one making the proposal) stands. However, if there isn't a tie and the proposal isn't accepted, then this most senior pirate is also thrown overboard. And on it goes until there is potentially only one pirate remaining (E), who takes all the loot.

These are the conditions upon which the votes are based:
Each pirate is rational and can follow the game through to its logical conclusion.
Each pirate wants to survive.
Each pirate wants to get as much money as possible.
Each pirate is bloodthirsty, and all else being equal, would like to see a more senior pirate thrown overboard.
No pirate trusts another pirate enough to make a private deal with them.

How should the first, most senior pirate propose to split up the gold coins?

My solution:

Show contentSpoiler:
(This post was last modified: 2019-10-06, 09:41 AM by Laird. Edit Reason: Equalised the gender of pirate pronouns. )

  • View a Printable Version
Forum Jump:


Users browsing this thread: 3 Guest(s)