Maths Olympiad Prep

Library / /25 of 61

Combinatorics Difficulty 5.4 AIME, harder Prove it Ukraine

Two players play the following game. They start with a pile of 20122012 pebbles and take some amounts of pebbles by turns. The player starts can take 11 or 44 pebbles each turn at his discretion, another player can take 11 or 33 each turn. The player unable to make his turn loses. Which player has a winning strategy?

Solution

Перший гравець може забезпечити собі перемогу, узявши першим ходом чотири камінці, а всіма наступними — по одному камінцю. Тоді кількість узятих загалом камінців буде парною лише після ходів першого гравця, а перемагає той гравець, після ходу якого ця величина стане рівною 20122012.

Відповідь: Перший гравець.

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.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.