Skip to main content
OlympiadHQ

Browse · MathNet

Print

Winter Mathematical Competition

Bulgaria counting and probability

Problem

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 , . For which of them Denitza has a winning strategy.
Solution
Consider a band of length . It is clear that no move is possible for . For Alexander has a winning move. For and after the first move of Alexander the largest length is between and and then Denitza has a winning move. Similarly, for , Alexander has a winning strategy since he can cut the band in such a way that the largest length is either or and so on. It follows by induction that Denitza has a winning strategy if and only if or for some integer .

The numbers and obviously have the desired form. We shall prove that there are no other solutions. Assume that . Since , the number is even. Then and we

have , and , for some integers and , . Hence 3 divides and setting we have . Then and , . In particular, 9 divides , but does not divide . We consecutively find , , and .
Final answer
Denitza has a winning strategy exactly for band lengths n equal to 3^k or 3^k − 1 with k > 1. Among lengths of the form a^b with a ≥ 2 and b ≥ 2, this occurs precisely when either a = 3 and b > 1 (so n = 3^b), or a = 2 and b = 3 (so n = 8).

Techniques

Games / greedy algorithmsInduction / smoothingFactorization techniquesTechniques: modulo, size analysis, order analysis, inequalities