mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Puzzles (https://www.mersenneforum.org/forumdisplay.php?f=18)
-   -   Avgvst 2016 (https://www.mersenneforum.org/showthread.php?t=21478)

Batalov 2016-07-31 16:37

Avgvst 2016
 
[url]https://www.research.ibm.com/haifa/ponderthis/challenges/August2016.html[/url]

a1call 2016-07-31 19:12

That does not make sense. The wording implies that the scale is not a balance scale.
With a single Measurment reading for 10 bags any Measurment not involving any of the 10 bags will leave unmeasured bags unknown. If all 10 bags are measured at once then there would be no way to distinguish between them. The best you could do is to determine the number of counterfeit bags but not to know which specific bags are counterfeit.

BTW There seem to be a typo (or two) in the title or am I missing something.

firejuggler 2016-07-31 19:42

The wording imply a scale with 2 plate.

Batalov 2016-07-31 19:43

[QUOTE=a1call;439105]... or am I missing something.[/QUOTE]
That one. :rolleyes:

Batalov 2016-07-31 19:47

1 Attachment(s)
[QUOTE="Ponder This"]...using a single measurement with an accurate weighing scale. [/QUOTE]
LMGTFY ... "an accurate weighing scale" -->

firejuggler 2016-07-31 20:09

ah, this *accurate scale* has a limit?

Batalov 2016-07-31 20:35

None is implied by PT, but it is clear that within this problem [SPOILER]a 20.470 kg limit will do fine, with precision of 1 g[/SPOILER].
Such scales are [URL="http://www.awscales.com/high-capacity-balances/168-kg-20-high-capacity-precision-balance"]quite routine[/URL]. Our labs have scales that are doing a few grams but up to the fifth, I think, decimal digit behind dot, so they are more precise.

a1call 2016-08-01 02:48

The problem implies that for N<1024 it would take more than a single Measurment to solve. So the actual problem would require more than a single Measurment and no maximum is specified which makes the solution trivial. The problem is the N>=1024 being solved in a single Measurment does not make sense specially with an unknown number of fake coin bags.
:bangheadonwall:I just don't understand the parameters of the problem.:bangheadonwall:

LaurV 2016-08-01 03:20

The 1024 is just an example, same as they use to give every month examples, for every challenge. It does not imply that you would need more measurements if N is smaller. It may be true or not, but the example itself implies nothing. Of course, we learned in elementary school how to solve the "example". In fact, the condition is very weak, even if N>=512, you could do it with a single scale very simply, you take 2^(n-1) coins from the n-th bag, and you have only 10 bags... So you don't need N >= 1024. When N>=512, you could take 1 coin from the first bag, 2 from the second, 4 from the third, etc, and [B][U]512 from the 10th bag[/U][/B], then you scale them together. At the end you have 1023 coins and expect to get 10230 grams if all coins are good, but you will get less. You get one gram less for each bad coin. Write the difference in binary and you know exactly how many bags have wrong coins, and which bags they are. If for example you get 29 grams less, which in binary is 11101, you know that there are 4 bags with bad coins, and those are the first, the third, forth and fifth.

Now, you have less coins in each bag. But you also know that there are at most 3 bags with bad coins. So, it should not be difficult to devise a scheme where you can point to the cheating bags, with only one scaling.

This problem, same like the one last month, is actually very nice.

a1call 2016-08-01 03:28

Thank you LaurV,
Somehow I was under the impression that bags where to be weighted and not the coins.
The example does make sense now.
Thanks again for the clarification.

R. Gerbicz 2016-08-04 19:15

New update:

"Update (4/8): To get a '**' find a solution for the minimal N."


All times are UTC. The time now is 05:28.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.