Boris was given a Connect Four game set for his birthday, but his color-blindness makes it hard to play the game. Still, he enjoys the shapes he can make by dropping checkers into the set. If the number of shapes possible modulo (horizontal) flips about the vertical axis of symmetry is expressed as , find .
Solution
There are total shapes possible, since each of the 7 columns can contain anywhere from 0 to 8 checkers. The number of shapes symmetric with respect to a horizontal flip is the number of shapes of the leftmost four columns, since the configuration of these four columns uniquely determines the configuration of the remaining columns if it is known the shape is symmetric: . Now we know there are non-symmetric shapes, so there are non-symmetric shapes modulo flips. Thus the total number of shapes modulo flips is .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.