rec.puzzles Archive

You are presented with six chocolate Easter eggs of which you are to choose three.

logic/weighing/easter.eggs New

New entry, edited from material collected for the archive and not yet in a released version.

Problem

You are presented with six chocolate Easter eggs of which you are to
choose three.  Two eggs have been wrapped in red paper, two in blue
paper, and the remaining two in green paper.  Exactly one egg of each
pair has a hollow core but you can't tell which one it is from outward
appearances, but it does make that egg slightly lighter than its
similarly wrapped counterpart confectionery.  All three hollow eggs
weigh the same, as do all the three solid eggs.  Naturally you want to
end up with the three solid chocolate ones.

You are given balance-type scales with which you can compare weights of
contents placed on either side of the balance -- whether they balance,
and if they don't, which side is heavier.  Unfortunately the scales are
demoware from an aggressive weighing-ware company and they're designed
to only work twice before the mechanism completely fuses and you're
forced to register them for a fee.

How can you sort out the solid eggs from the hollow eggs?

E.g. if you weigh one red egg against the other in the first weighing,
then do the same with the green eggs on the second weighing, you now
have no more weighings to find out anything about the blue eggs.

But with the correct combination of eggs on either side of the scales in
each of the two weighings, you can sort the solids from the hollows.

-- Ziffer Mavis <z.mavis@warpcore.co.uk>
Show solution
In article <3515B9C7.89B3B1E5@davegates.com>, Dave Gates
<davegates@davegates.com> writes
>Nick Wedd wrote:

>> Weigh RG/rB.
>>
>> If they balance, weigh R/r.  Otherwise, weigh G/b.

>What if RG outweighs rB and then G and b balance?

R>r, G>=B.
G=b, G!=B, G>B.
RGb heavy, rgB light.

-- Nick Wedd <nick@maproom.demon.co.uk>

Mark the eggs R1, R2, G1, G2, B1, and B2.

The first weighing will be [R1 + G1] - [G2 + B2].  The second weighing
will be [R1 + B2] - [G2 + B1].  (This is one of many solutions.)  In
each case, the outcome will be minus, zero, or plus:

minus, minus = the solid eggs are R2, G2, and B1.
minus, zero  = the solid eggs are R2, G2, and B2.
minus, plus  = the solid eggs are R1, G2, and B2.
zero, minus  = the solid eggs are R1, G2, and B1.
zero, zero   = not possible.
zero, plus   = the solid eggs are R2, G1, and B2.
plus, minus  = the solid eggs are R2, G1, and B1.
plus, zero   = the solid eggs are R1, G1, and B1.
plus, plus   = the solid eggs are R1, G1, and B2.

-- Mike Naylor