mersenneforum.org

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

Xyzzy 2016-12-01 14:46

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

Batalov 2016-12-01 20:21

The Dec problem formulation would have been funny if it was not also too true!

All too often [URL="https://www.nas.org/articles/Wanted_A_College_Degree_and_the_Ability_to_Lift_50_Pounds"]one finds[/URL] the following requirement in a job description:
"A successful applicant must be able to lift up to 50 lb. bags."

LaurV 2016-12-02 03:10

[QUOTE=Batalov;448169]"A successful applicant must be able to lift up to 50 lb. bags."[/QUOTE]
Technically, there is nothing illegal in that, as the IATA safety limit is fixed to 23 kg.. :razz:
[QUOTE=IATA regulations]Your bag should weigh less than 23KG/50LBS. This is an international regulation set for the health and safety of airport workers who have to lift hundreds of bags daily. If your bag weighs more than this, you may be asked to repack, or have it labeled as "heavy luggage". The maximum weight however is 32KG/70LBS in the EU and the US. Some airlines impose lower limits. Refer to the airline website and your conditions of carriage.[/QUOTE]

Back on topic, another problem which can be solved in few minutes with a pencil... Yuck...
Programming an algorithm for higher N, however, may turn out to be... interesting... I will go for it this month.

edit: OTOH, I agree with Serge, formulation is silly, they could say "weighting coins", or everything else (we just had a similar problem recently), eventually it comes to that: having 27 coins and being allowed 4 weightings with a "non weight-marked" balance scale, tell if all coins have the same weight..

Xyzzy 2017-01-02 15:18

[url]https://www.research.ibm.com/haifa/ponderthis/solutions/December2016.html[/url]

Batalov 2017-01-02 16:26

Believe it or not, I've been waiting for the solution, because I expected it to be illuminating - and it certainly was. This is not in OEIS {2,4, ?, 30,114, ...}

I am now playing with this technique to see that this non-trivial (i.e. not a power of 2) set of solutions only arises at n>=4. I spent a few weekends tinkering with n=3, and it would explain why this was a dead end. Is a(3) = 8?

R. Gerbicz 2017-01-02 21:33

[QUOTE=Batalov;450339]Believe it or not, I've been waiting for the solution, because I expected it to be illuminating - and it certainly was.
[]
Is a(3) = 8?[/QUOTE]

a(3)>=10 !!! One solution, but check it:
BCDE;FGIJ
GIJ;AFH
BCDEF;AGHIJ
it was found very quickly with my code that used simply random permutations on each side.

Not solved this puzzle, but I wasn't that far: for the first contest and for N=30 there are only 15 different cases, up to symmetry, for the 2nd contest there is still not that many cases, but if you want only a few cases to check then you can arrive to the solution's group idea (use very few groups).

Batalov 2017-01-02 21:41

Brilliant!

uau 2017-01-03 03:06

Optimal answers to the original problem are a(1) = 2, a(2) = 4, a(3) = 10.
Optimal values for the "linear algebra with contest_count+1 groups" approach should be a(1) = 2, a(2) = 4, a(3) = 10, a(4) = 30, a(5) = 114, a(6) = 454. I haven't given much thought to how plausible it is that there could be a better solution which does not divide into contests+1 groups that way.

Batalov 2017-01-03 03:59

Added to OEIS as [URL="https://oeis.org/A280432"]A280432[/URL] (draft)
Let's see if editors will contribute an insight?

This problem deserves an AMS paper (if there isn't one on the subject)!

R. Gerbicz 2017-01-03 07:51

a(0)=1 and it is optimal.

uau 2017-01-03 16:01

If you want the 6-contest solutions for the sequence, here are the two ways to get 454:

[CODE]
group sizes 108, 90, 80, 58, 44, 39, 35
[COLOR=#000000][FONT=monospace]-1 -1 1 0 1 1 1[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]-1 0 1 1 1 -1 -1[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]-1 1 -1 1 1 -1 1[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]-1 1 0 1 -1 1 -1[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]-1 1 1 -1 0 -1 1
[/FONT][/COLOR][COLOR=#000000][FONT=monospace] 0 -1 1 1 -1 -1 1[/FONT][/COLOR]


group sizes 130, 85, 76, 62, 42, 35, 24
-1 -1 1 1 1 1 0
-1 1 -1 1 0 1 1
-1 1 0 1 1 -1 -1
-1 1 1 -1 1 -1 1
-1 1 1 0 -1 1 -1
0 -1 1 1 -1 -1 1
[/CODE]


All times are UTC. The time now is 03:18.

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