Maths Olympiad Prep

Library / Winter Mathematical Competition /14 of 14

Winter Mathematical Competition

Combinatorics Difficulty 6.8 National Olympiad Prove it Bulgaria

Alexander and Denitza play the following game. Alexander cuts (if possible) a band of positive integer length to three bands of positive integer lengths such that the largest band is unique. Then Denitza cuts (if possible) the largest band in the same way and so on. The winner is the one who makes the last move. Consider the bands whose lengths are integers of the form aba^b, a−1,b−1∈Na-1, b-1 \in \mathbb{N}. For which of them Denitza has a winning strategy.

Solution

Consider a band of length nn. It is clear that no move is possible for n=1,2,3n = 1, 2, 3. For 4≤n≤7=3+2+24 \le n \le 7 = 3+2+2 Alexander has a winning move. For n=8n = 8 and 99 after the first move of Alexander the largest length is between 44 and 77 and then Denitza has a winning move. Similarly, for 10≤n≤9+8+8=2510 \le n \le 9+8+8 = 25, Alexander has a winning strategy since he can cut the band in such a way that the largest length is either 88 or 99 and so on. It follows by induction that Denitza has a winning strategy if and only if n=3kn = 3^k or n=3k−1n = 3^k - 1 for some integer k>1k > 1.

The numbers 3k3^k and 32−1=233^2 - 1 = 2^3 obviously have the desired form. We shall prove that there are no other solutions. Assume that ab=3k−1a^b = 3^k - 1. Since a2≡0,1(mod3)a^2 \equiv 0, 1 \pmod 3, the number bb is even. Then (a+1)(ab−1+⋯+a+1)=3k(a+1)(a^{b-1} + \cdots + a + 1) = 3^k and we

have a+1=3ia + 1 = 3^i, and 3k−i=ab−1+⋯+a+1=A(a+1)+b3^{k-i} = a^{b-1} + \cdots + a + 1 = A(a + 1) + b, for some integers ii and kk, 0<i<k0 < i < k. Hence 3 divides bb and setting c=ab/3c = a^{b/3} we have 3k=(c+1)((c+1)2−3c)3^k = (c+1)((c+1)^2 - 3c). Then c+1=3jc+1 = 3^j and (c+1)2−3c=3k−j(c+1)^2 - 3c = 3^{k-j}, 0<j<k0 < j < k. In particular, 9 divides (c+1)2(c+1)^2, but does not divide 3c3c. We consecutively find k−j=1k-j=1, c=2c=2, a=k=2a=k=2 and b=3b=3.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.