Here below is a combinatoric challenge. I am not sure if it can be craked only using pencil and paper or if a numerical simulation is required.
Four boats are doing a regatta. This one consists of seven races. At the end of each race, each crew is credited with one point if it finishes the race, plus one point for each boat finishing after it. There is never a tie in a race, but in order to break a tie in total points, the rule states that one crew will be "ahead" of the other if, over the seven races, they finished ahead of the other more often.
At the end of such a regatta, it was found that :
- all the boats finished all the races
- crews A, B and C are tied on points
- Crew A "beats" B, B "beats" C and C "beats" A!
- winning crew D finished in every possible place.
We called a regata, an ordered list of the seven rankings. Hence, if we discard the constraints: there are $(4!)^{7}$ possible regattas making brute force impossible
Let $S_{1}, ..., S_{k}$ be the total possible scores of crew D.
Let $N_{i}$ be the number of regattas respecting all the constraints and for which the total score of crew D is $S_{i}$. What is the sum of $\sum_{i=1}^kN_{i} Si$ ?
Here below my (limited) findings:
1) all the boats finished all the races => there are 10*7 = 70 points per regatta
2) crews A, B and C are tied on points and winning crew D finished in every possible place => crew D has either 19 or 22 points (solving D+3X=70 with D and X integer and D>X)
3) Crew A "beats" B, B "beats" C and C "beats" A! => I am not sure about this one but I think that in case D has 19 points, the only solution is that D got 4 times 3rd place and once on 1st 2nd and 4th place in order to respect some kind of symmetry for other 3 teams
Anyway, with all the above I tried pencil, paper but I am stuck. I also tried numerical computation but I am doing some logical error somewhere.
Any help would be very much appreciated !!
Your findings are a very good start. I would start the same, letting $a$, $b$, $c$ and $d$ denote the total numbers of points of crews $A$, $B$, $C$ and $D$, respectively. Then:
Putting these together shows that $d\geq18$ and $d\equiv1\pmod{3}$ because $$d=70-(a+b+c)=70-3a>70-3d,$$ so either $d=19$ or $d=22$. That is, $k=2$ and $\{S_1,S_2\}=\{19,22\}$, and $a=b=c\in\{16,17\}$.
Now we still have the third point to consider; there are many different restrictions to deduce from this, but whichever way you go about it, this seems to take some work. I should be doable with pencil and paper within 30 minutes though.