MathDB
2020 BMT Individual 22

Source:

January 9, 2022
combinatorics

Problem Statement

Three lights are placed horizontally on a line on the ceiling. All the lights are initially off. Every second, Neil picks one of the three lights uniformly at random to switch: if it is off, he switches it on; if it is on, he switches it off. When a light is switched, any lights directly to the left or right of that light also get turned on (if they were off) or off (if they were on). The expected number of lights that are on after Neil has flipped switches three times can be expressed in the form m/nm/ n , where mm and nn are relatively prime positive integers. Compute m+nm + n.