A Really Sweet (and Hard) Math Problem

Your avatar is Chris Lowe.

That is incorrect. HINT: He’s not a racist, that’s what’s so insane about it.

weigh 1-6 v 7-12
Assume 7-12 goes down (doesn’t matter if it goes up methodology is similar)

Now weigh
1-3+7-9 V 4-6+10-12

If 2nd group goes down
Now weigh
10 V 11
If balanced then 12 is heavy
If not balanced then whichever goes down is heavy

If 2nd group went up
Now weigh
7 v 8
If balanced then 6 is light
If not balanced then whichever goes up is light

[quote=“Edgar Allen”]weigh 1-6 v 7-12
Assume 7-12 goes down (doesn’t matter if it goes up methodology is similar)

Now weigh
1-3+7-9 V 4-6+10-12[/quote]
The error is here. If, after switching the groups, there is no change, that means the odd brick would be inside of the 1,2,3,10,11,12 group. That would leave you with 6 unknowns and 1 remaining weight attempt to figure it out. Impossible.

Also, if the scale did shift weight, you would still have 6 unknowns and 1 weight attempts. The weight shift could be because of the light one moving over from one side to the other, or the heavy one from the opposite side. Still leaving you with 6 unknowns.

It is possible to find the answer online. I actually found one that differed from mine but I’m sure mine is correct.

I’ll post my notes after I eat lunch.

Step #1. Weight 4*4

You have 2 possibilities. They’re either = or they’re not =.

If they’re not =, you know the odd brick is in one of the 4 groups on the scale. If they’re = the odd brick is one of the four that’s not on the scale.

The first branch begins here (I mean, this is how I did it anyway.)

If it’s not Chris Lowe who is it then ? It sure looks like him.

I figured it out.

The answer is Michael Richards!

Oh, I solved the weight problem too, but emailed MTK so as not to spoil it.

Though in my solution there is one case where it is unknown if the different weight is heavier or lighter, contrary to MTK’s earlier statement that you will always know.

I took a peek on google to see if my answer was right. There’s actually two variations of the problem, one where you need to figure out just which one is different and another where you also have to figure out if the different one is heavier or lighter. My solution was a bit more complex than needed and had one case where it couldn’t determine if the different one is heavier or lighter, but then MTK’s version didn’t require that. There is a slightly different solution that will also tell you the weight in all cases.

If you only need to know which brick is counterfeit (not heavy/light) then you could start with 13 bricks.

An even harder question along the same lines: If you can weigh the bricks four different times, then what is the maximum number of bricks to start with that will still enable you to find both: the counterfeit brick; and whether that brick is heavy or light.

The answer is (white font): [quote]. … … … . … . . . 39 . . . . . . . . .[/quote]

John has 366 marbles marked with the days of the year. All have the same weight except for the one corresponding to his birthday…
If Mary knows John was born in 1966, how can she find out his birthday in 6 weighings on a two-pan balance?

[quote=“twocs”]John has 366 marbles marked with the days of the year. All have the same weight except for the one corresponding to his birthday…
If Mary knows John was born in 1966, how can she find out his birthday in 6 weighings on a two-pan balance?[/quote]
Sounds like you looked up the solution. :smiley: I’m going to post my notes and solution in a second (on my blog first.)

I was going to email to tell you this, but yeah, I saw the same thing. I then modified my answer to make it always get the weight (that only took a few minutes, the hardest part was figuring out the 4*4 and the exchange I made after that.)

Man… it took me longer to post my solution than it did to figure it out. :stuck_out_tongue:

Here’s the picture:

I usually don’t post links to my blog, but I’m not typing that shit again. :laughing:

[The Solution] (My version)

Here’s my version of the solution.

In my solution there is one case where you can’t figure out the weight of the different item but it’s not a very big change to be able to determine that. Also my “what if the first test is different” case is needlessly complex.

Here’s some other solutions I found online:

mathforum.org/library/drmath/view/55618.html

The second post contains a very efficient solution to the “what if the first test is different” case but like mine, he fails to determine weight in the “what if the first test is the same” case. At the bottom of that page is a post from a dude named Lars who explains the solution in scrupulous detail but I’m afraid I don’t understand a word he says.

[quote=“miltownkid”][quote=“twocs”]John has 366 marbles marked with the days of the year. All have the same weight except for the one corresponding to his birthday…
If Mary knows John was born in 1966, how can she find out his birthday in 6 weighings on a two-pan balance?[/quote]
Sounds like you looked up the solution. :smiley: I’m going to post my notes and solution in a second (on my blog first.)

I was going to email to tell you this, but yeah, I saw the same thing. I then modified my answer to make it always get the weight (that only took a few minutes, the hardest part was figuring out the 4*4 and the exchange I made after that.)[/quote]

It’s true, I took a look at the solution. I realized I’d come up with the correct method, but I had no desire to work out the exact mechanism. For me, it was easiest to work out the final weighing first, and that guided me to figure out how to do it.

Here’s another wicked variation that a friend pointed me to:

[quote]You are given a scale with two pans. This scale will report the difference, in grams, between the masses on the two sides, as well as telling you which side is heavier. So if you place 25 grams on the left pan and 27 grams on the right, you find out that the right side is heavier by 2 grams.

You are given N bags of coins, apparently identical. Each bag contains ten coins. Exactly one bag is full of counterfeit coins, and the rest are full of honest coins . All honest coins are equally massive, all counterfeit coins are equally massive, and counterfeit coins are heavier than honest coins. But you don’t know beforehand the masses of honest coins or of counterfeit coins.

You are given the opportunity to make three weighings on your scale, after which you must decide which bag is bogus. You’re allowed to open the bags and use an arbitrary number of coins from each bag, if that helps; just keep track of where you got the coins.

What is the largest value of N which can be accommodated?[/quote]

But the final weighing can happen a number of different ways!

That Lars one is pretty frickin’ sweet.

But the final weighing can happen a number of different ways![/quote]

The final weighing is a crucial consideration. If you have only two balls, and you want to find out which one is the heavy/light one, it’s impossible. Thus, another alternative must be considered.

I see… Interesting. It’s pretty neat all the different paths people take to reach the same conclusion.

I posted the problem on my blog too and two of my friends sent in solutions both completely different. What I find curious though is that every solution I’ve seen so far considers the “what if they weigh the same” case first and then go on to “what if the don’t weigh the same” case. Yours is the only one I’ve seen that does the “what if they don’t weigh the same” case first.