wining strategy
Source: Austrian Mathematical Olympiad 2017 P3
May 2, 2018
combinatorics
Problem Statement
Anna and Berta play a game in which they take turns in removing marbles from a table. Anna takes the first turn. At the beginning of a turn there are n ≥ 1 marbles on the table, then the player whose turn is removes k marbles, where k ≥ 1 either is an even number with or an odd number with . A player wins the game if she removes the last marble from the table.
Determine the smallest number which Berta has wining strategy.proposed by Gerhard Woeginger