![]() |
![]() |
#1 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
266116 Posts |
![]() |
![]() |
![]() |
![]() |
#2 |
"Rashid Naimi"
Oct 2015
Remote to Here/There
2×19×59 Posts |
![]()
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. Last fiddled with by a1call on 2016-07-31 at 19:17 |
![]() |
![]() |
![]() |
#3 |
"Vincent"
Apr 2010
Over the rainbow
2·3·11·43 Posts |
![]()
The wording imply a scale with 2 plate.
|
![]() |
![]() |
![]() |
#4 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
3×52×131 Posts |
![]() |
![]() |
![]() |
![]() |
#5 | |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
3×52×131 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 |
"Vincent"
Apr 2010
Over the rainbow
2·3·11·43 Posts |
![]()
ah, this *accurate scale* has a limit?
|
![]() |
![]() |
![]() |
#7 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
231418 Posts |
![]()
None is implied by PT, but it is clear that within this problem a 20.470 kg limit will do fine, with precision of 1 g.
Such scales are quite routine. 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. |
![]() |
![]() |
![]() |
#8 |
"Rashid Naimi"
Oct 2015
Remote to Here/There
224210 Posts |
![]()
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.
![]() ![]() |
![]() |
![]() |
![]() |
#9 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
2×17×293 Posts |
![]()
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 512 from the 10th bag, 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. Last fiddled with by LaurV on 2016-08-01 at 03:49 |
![]() |
![]() |
![]() |
#10 |
"Rashid Naimi"
Oct 2015
Remote to Here/There
43028 Posts |
![]()
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. |
![]() |
![]() |
![]() |
#11 |
"Robert Gerbicz"
Oct 2005
Hungary
110001000002 Posts |
![]()
New update:
"Update (4/8): To get a '**' find a solution for the minimal N." |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
July 2016 | Xyzzy | Puzzles | 4 | 2016-08-06 22:51 |
June 2016 | Xyzzy | Puzzles | 16 | 2016-07-07 02:51 |
EM 2016 | Cybertronic | Soap Box | 1 | 2016-06-26 21:03 |
May 2016 | Xyzzy | Puzzles | 6 | 2016-06-06 19:02 |
April 2016 | Xyzzy | Puzzles | 10 | 2016-05-05 05:42 |