All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic > Weights and Scales
Five Weights and a Broken Scale (Posted on 2004-08-02) Difficulty: 4 of 5
You have to sort five weights weighing 51g, 52g, 53g, 54g, and 55g. You have a balance scale with which you can compare the weights. But after solving so many sorting puzzles, it is starting to break down.

If the difference between two weights is greater than 1.5g, the scale will correctly determine which side is heavier. If the difference between the weights is less than 1.5g or equal, the scale will indicate the weights are equal.

Sort the weights in the smallest number of weighings.

See The Solution Submitted by Brian Smith    
Rating: 3.7000 (10 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
The rest of my comment | Comment 2 of 17 |
(In reply to Don't know if this is the fewest weighings... by Charlie)

That one got cut off.  From the beginning of the bottom table:

Depending on which of the nine possible results derive from the first two weighings, the remaining four weighings are shown in the following table, in which the weighings not used are left blank:

grams
55555 a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
12345 b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
abcde =  ^        =                 ^           ^        ^
abced =  ^        =                 ^           ^        =
abdce =  ^        ^                 ^           ^        ^
acbde ^  =        =                 ^           ^        ^
acbed ^  =        =                 ^           ^        =
acebd ^  =        v                 ^           ^        =
adbce ^  ^        =                 ^           ^        ^
aecbd ^  ^        =                 ^           ^        =
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
badec       =  ^                    ^           v           ^     v
baecd       ^  =                    ^           v           =     =
baedc       ^  =                    ^           v           ^     =
bcead       =  =                    ^           v           v     =
bdaec       =  =                    ^           v           ^     v
bdeac       v  =                    ^           v           ^     v
beacd       ^  =                    ^           v           v     =
beadc       =  =                    ^           v           =     =
becad       =  v                    ^           v           v     =
bedac       =  v                    ^           v           =     v
eabcd       ^  =                    ^           v           v     ^
eabdc       ^  =                    ^           v           =     ^
eadbc       =  =                    ^           v           =     ^
ebacd       ^  v                    ^           v           v     ^
ebadc       =  v                    ^           v           =     ^
ebcad       =  v                    ^           v           v     ^
ebdac       =  v                    ^           v           =     =
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
cadbe       =  ^                    v           ^           =     =
cadeb       =  ^                    v           ^           =     ^
caedb       ^  =                    v           ^           v     ^
cbdae       =  =                    v           ^           =     v
cdabe       =  ^                    v           ^           =     v
cdaeb       =  =                    v           ^           =     =
cdbae       v  =                    v           ^           =     v
cdeab       v  =                    v           ^           v     =
ceadb       =  =                    v           ^           v     ^
cedab       =  v                    v           ^           v     ^
dacbe       =  ^                    v           ^           ^     v
daceb       =  ^                    v           ^           ^     =
daecb       =  =                    v           ^           ^     =
dcabe       v  ^                    v           ^           ^     v
dcaeb       v  =                    v           ^           ^     =
dcbae       v  =                    v           ^           ^     v
dceab       v  =                    v           ^           =     =
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
dbcea v  v        =                 v           v        =
dbeca v  =        ^                 v           v        =
debca v  =        =                 v           v        =
decba =  v        =                 v           v        =
ecbda v  v        =                 v           v        v
ecdba =  v        v                 v           v        v
edbca v  =        =                 v           v        v
edcba =  v        =                 v           v        v
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
bcdae v  v        =                 =           =        =
bdcae v  =        ^                 =           =        =
cbead v  v        =                 =           =        v
cebad =  v        v                 =           =        v
dabec =  ^        ^                 =           =        ^
daebc ^  ^        =                 =           =        ^
dbace =  =        ^                 =           =        ^
eacdb ^  =        v                 =           =        =
eadcb ^  ^        =                 =           =        =
ecabd =  =        v                 =           =        v
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
bcdea    v           ^  ^           =           v                          ^
bceda    v           ^  ^           =           v                          =
bdcea    v           =  ^           =           v                          ^
bdeca    =           =  ^           =           v                          ^
becda    v           ^  =           =           v                          =
bedca    =           ^  =           =           v                          ^
dbaec    ^           =  ^           =           v                          ^
dbeac    =           =  =           =           v                          ^
deabc    ^           v  v           =           v                          ^
debac    =           v  =           =           v                          ^
ebcda    v           ^  =           =           v                          v
ebdca    =           =  =           =           v                          =
ecbad    v           ^  v           =           v                          v
edabc    ^           v  v           =           v                          =
edbac    =           =  v           =           v                          =
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
cbdea v                    ^  ^     v           =                          =
cbeda v                    ^  ^     v           =                          v
cdbea v                    =  ^     v           =                          =
cdeba =                    =  ^     v           =                          v
cebda v                    ^  =     v           =                          v
cedba =                    ^  =     v           =                          v
dbcae v                    v  ^     v           =                          ^
dcbea v                    =  ^     v           =                          ^
dceba =                    =  =     v           =                          =
deacb ^                    v  v     v           =                          =
decab =                    v  =     v           =                          =
ecadb ^                    ^  =     v           =                          v
ecdab =                    =  =     v           =                          v
edacb ^                    v  v     v           =                          v
edcab =                    =  v     v           =                          v
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
acdbe    =           =  =           =           ^                          =
acdeb    =           v  =           =           ^                          v
acedb    =           =  v           =           ^                          v
adcbe    ^           v  =           =           ^                          ^
adceb    ^           v  =           =           ^                          =
adecb    ^           v  v           =           ^                          =
aecdb    ^           =  v           =           ^                          v
aedcb    ^           v  v           =           ^                          v
cabde    =           =  ^           =           ^                          =
cabed    =           ^  =           =           ^                          v
caebd    =           =  =           =           ^                          v
cbade    v           ^  ^           =           ^                          =
cbaed    v           ^  ^           =           ^                          v
ceabd    v           =  v           =           ^                          v
dabce    ^           v  ^           =           ^                          ^
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd
abdec =                    v  =     ^           =                          ^
abecd =                    =  =     ^           =                          =
abedc =                    =  v     ^           =                          ^
adbec ^                    v  =     ^           =                          ^
adebc ^                    v  v     ^           =                          ^
aebcd ^                    =  v     ^           =                          v
aebdc ^                    =  v     ^           =                          =
aedbc ^                    v  v     ^           =                          =
bacde =                    =  ^     ^           =                          ^
baced =                    ^  =     ^           =                          =
badce =                    =  =     ^           =                          ^
bcade v                    ^  ^     ^           =                          ^
bcaed v                    ^  ^     ^           =                          =
bdace v                    v  =     ^           =                          ^
eacbd ^                    ^  v     ^           =                          v
      a  a  a  a  b  b  b  c  c  d  ab ab ab ac ac ac ad ad ad ae ae ae bc bd be
      b  c  d  e  c  d  e  d  e  e  cd ce de bd be de bc be ce bc bd cd de ce cd

or in concise terms, if the first two weighings both showed the same result (^^ or == or vv), then make the subsequent weighings a vs b, a vs c, b vs c and a+d vs b+e.

If however the first two weighings were ^v or v^, then the next four weighings would be a vs d, a vs e, a+d vs c+e and a+e vs b+d.

If the first two weighings had been =v or =^, the next four would have been a vs c, b vs d, b vs e and b+d vs c+e.

And if the first two had been v= or ^=, the next four would have been a vs b, c vs d, c vs e and b+d vs c+e.

This shows how to order the weights in 6 weighings.  In some instances above, the sixth weighing (that is, one of the extra four) may have been unnecessary, but six are shown in all instances.  It may be possible to do it in five weighings, but no less, based on information theory. 


  Posted by Charlie on 2004-08-02 16:12:29
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (12)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information