2021 WSMO Team Round Problems/Problem 8

Problem

Isaac, Gottfried, Carl, Euclid, Albert, Srinivasa, René, Adihaya, and Euler sit around a round table (not necessarily in that order). Then, Hypatia takes a seat. There are $a\cdot b!$ possible seatings where Euler doesn't sit next to Hypatia and Isaac doesn't sit next to Gottfried, where $b$ is maximized. Find $a+b$. (Rotations are not distinct, but reflections are).

Proposed by mahaler

Solution

First, we deal with Euler and Hypatia. Out of the $\binom{10}{2}$ possible seatings for the two, there are only $\frac{10\cdot7}{2}$ that are valid. Now, given Euler and Hypatia aren't together, we'll calculate the chance Isaac and Gottfried don't sit together. After Euler and Hypatia are seated, note that there are $\binom{8}{2}$ possible seatings of Isaac and Gottfried. Excluding Euler and Hypatia, there are $8\cdot5$ possible arragements of Isaac and Gottfried that are valid, since there are always 2 empty neighboring seats next to Isaac that Gottfried cant sit in. However, over all $8$ possible seatings are Isaac, there are $4$ neighboring seats that are already occupied. Therefore, including Euclid and Hypatia, there are $8\cdot5+4 = 44$ possible valid arragements, where ordering matters. Therefore, our answer is \[\left(\frac{10!}{10}\right)\left(\frac{\frac{10\cdot7}{2}}{\binom{10}{2}}\right)\left(\frac{\frac{44}{2}}{\binom{8}{2}}\right)=51\cdot7!\implies 51+7 = \boxed{56}.\] ~pinkpig