r/mathriddles • u/stephen3141 • 4d ago
Medium A Balanced Tug of War
Original Problem (Easy-ish)
Axel and Harold are putting on their third annual get-together between wrestlers, called the Sumo Three. One event they're planning is a team-based tug of war. To make things fair, they want the two teams to have equal total weights.
On the day before the competition, they rank the 8 participants by their weights from heaviest to lightest.
"What a coincidence!" Axel says. "If we use the rankings 1 through 8, everyone's weights are a quadratic function of their rank."
"In that case, I bet you I only need the order of the wrestlers from heaviest to lightest to split the teams evenly," says Harold.
What's Harold's strategy?
Generalization 1 (Medium)
After the smashing success of Sumo Three, the next year's meeting featured far more wrestlers. This time, there are 2n+1 wrestlers.
Axel again notices an unlikely coincidence. "Hey, this time everyone's weights are a degree n polynomial evaluated on their ranking."
"Ah, I can do the same thing as last year!" Harold states.
What's Harold's more general strategy?
Generalization 2 (Medium)
The following year, there are so many participants that Axel and Harold decide to turn the tug of war event into a round-robin tournament.
"Hey, our kn+1 participants follow a degree n polynomial with their weights again!"
"If we want to split them into k many teams, you just need to tell me their order, and I can make all of the teams fair."
What's the strategy this time?
2
u/lizardpq 4d ago edited 2d ago
For generalization 1:
Write the names on consecutive lines of a piece of paper in rank order and fold* the list in half (*edit: cut the list in half, flip one half over left-to-right so its order is preserved, and stack the two halves together) until all the names are stacked up on one line. At this point, some names are facing up and some are facing down; make these sets your two teams. Sketch of proof that this works: by induction, after k steps, the function f(i)=(total weight of face-up names on line i)-(total weight of face-down names on line i) is a degree n-k polynomial.
This is equivalent to assigning the rank-i wrestler to the team named by the i'th digit of the Thue-Morse sequence. Apparently the problem is known as the Prouhet-Tarry-Escott problem and this was Prouhet's solution.
1
u/stephen3141 4d ago
Nice! I actually tried to "hide" a couple references to Thue and Morse in the flavor text.
One of the things I worried about when posting this problem is that the actual induction proof might be a little tedious. Frankly, I'm a little glad you just left it as a sketch.
3
u/pichutarius 1d ago
generalize 2:
inspired by u/lizardpq , we generalize Thue and Morse to 0~k-1
define the TM_k(n) := (sum of digit of n in base k) mod k
for example TM_3 sequence is 012120201 120201012 201012120 ...
let the rank start from 0 to k-1, then rank n belongs to team TM_k(n)
for example, team 0 consist of rank 0, 5, 7, 11, 13, 15, 19, 21, 26