Today I'm tackling the riddler question from fivethirtyeight. It goes like this: At a pivotal moment in an epic battle between the living and the dead, the Night King, head of the army of the dead, raises all the fallen (formerly) living soldiers to join his ranks. Each army lines up single file, facing the other army. One soldier steps forward from each line and the pair duels — half the time the living soldier wins, half the time the dead soldier wins. If the living soldier wins, he goes to the back of his army’s line, and the dead soldier is out (the living army uses dragonglass weapons, so the dead soldier is dead forever this time). If the dead soldier wins, he goes to the back of their army’s line, but this time the (formerly) living soldier joins him there. (Reanimation is instantaneous for this Night King.) The battle continues until one army is entirely eliminated.
What starting sizes of the armies, living and dead, give each army a 50-50 chance of winning?
An astute reader might observe that the smallest battle for such an outcome would have 1 living soldier and 1 dead soldier. In this situation, there's a 50% chance that the living soldier will win which will leave 1 living soldier and 0 dead soldiers. There's also a 50% chance the dead soldier will win which will leave 2 dead soldiers and no living soldiers. However, what kind of battle would only be one on one? That's usually reserved for the final battle scene and I don't think we're there yet. Or are we? Full disclosure, I don't really follow Game of Thrones.
In fact, there are many potential combinations of army sizes, the only requirement is that if there are n dead soldiers, there must be n^2 living soldiers. Allow me to demonstrate: