Let’s play some games today! We will play a classic game known as nim, which is thought to be one of the oldest games.
Typically people play nim using matchsticks, though stones and coins are popular too. There are a few heaps of matchsticks in nim. Players take turns to remove matchsticks from a heap of their choosing. The player can remove any number of matchsticks they wish from that heap. Whoever has no matchsticks left to take loses.
This following position will be written as \(\text{Nim}(3,3,3)\):
As another example, this is \(\text{Nim}(1,2,3,4)\):
We will omit heaps of size zero, so \(\text{Nim}(3,0,3,0,3)\) is the same as \(\text{Nim}(3,3,3)\).
Nim is important because a large class of games are equivalent to it despite its simple appearance. The interested reader should look up "Sprague-Grundy Theorem".
Let us introduce a few terms that will be helpful for analyzing games. A game \(G\) consists of some positions and a set of rules. A position \(g\) in the game \(G\) is called a winning position if the player starting this turn has a winning strategy. This means as long as the player starting this turn continues to play optimally, the second player has to lose. Conversely, a position \(g\) is a losing position if the player starting this turn has no winning strategy.
A useful common problem-solving strategy is to divide a problem into cases. We can divide the problem into familiar and unfamiliar cases; easy and difficult cases; typical and extreme cases etc. The division is sometimes suggested by the problem, but oftentimes requires a bit of work first.
If you are stuck on a problem or you are not sure where to begin, gathering data by trying out easy or typical cases first might help you with the following (this list is not exhaustive):
Gaining intuition of the problem
Isolating the difficulties
Quantifying progress on the problem
Setting up or completing inductive arguments
Let us take a look at this strategy in action.
In an \(n\times n\) table, two opposite corner squares are black and the rest are white. We wish to turn the whole \(n\times n\) table black in two stages. In the first stage, we paint black some of the squares that are white at the moment. In the second stage, we can perform the following two operations as much as we like. The row operation is to swap the colours of all the squares in a particular row. The column operation is to swap the colours of all the squares in a particular column. What is the fewest number of white squares that we can paint in the first stage?
An example of the row operation: let W stand for white and B stand for black and suppose that \(n=5\). Also suppose that a particular row has the colours WWBWB. Then performing the row operation would change this row to BBWBW.
We wish to paint the \(15\) segments in the picture below in three colours. We want it such that no two segments of the same colour have a common end. For example, you cannot have both \(AB\) and \(BC\) blue since they share the end \(B\). Is such a painting possible?
A circle is inscribed into the triangle \(ABC\) with sides \(BC=6, AC=10\) and \(AB= 12\). A line tangent to the circle intersects two longer sides of the triangle \(AB\) and \(AC\) at the points \(F\) and \(G\) respectively. Find the perimeter of the triangle \(AFG\).
Liam saw an unusual clock in the museum: the clock had no digits, and it’s not clear how the clock should be rotated. That is, we know that \(1\) is the next digit clockwise from \(12\), \(2\) is the next digit clockwise from \(1\), and so on. Moreover all the arrows (hour, minute, and second) have the same length, so it’s not clear which is which. What time does the clock show?
Two circles are tangent to each other and the smaller circle with the center \(A\) is located inside the larger circle with the center \(C\). The radii \(CD\) and \(CE\) are tangent to the smaller circle and the angle \(\angle DCE = 60^{\circ}\). Find the ratio of the radii of the circles.
For positive real numbers \(a,b,c\) prove the inequality: \[(a^2b + b^2c + c^2a)(ab^2 + bc^2 + ca^2)\geq 9a^2b^2c^2.\]
Let \(C_1\) and \(C_2\) be two concentric circles with \(C_1\) inside \(C_2\) and the center \(A\). Let \(B\) and \(D\) be two points on \(C_1\) that are not diametrically opposite. Extend the segment \(BD\) past \(D\) until it meets the circle \(C_2\) in \(C\). The tangent to \(C_2\) at \(C\) and the tangent to \(C_1\) at \(B\) meet in a point \(E\). Draw from \(E\) the second tangent to \(C_2\) which meets \(C_2\) at the point \(F\). Show that \(BE\) bisects angle \(\angle FBC\).
A monkey becomes happy when they eat three different fruits. What is the largest number of monkeys that can become happy with \(20\) pears, \(30\) bananas, \(40\) peaches and \(50\) tangerines?