Scrooge McDuck owns k gold coins
Source: P2 Francophone Math Olympiad Senior 2023
May 2, 2023
combinatorics
Problem Statement
Let be a positive integer. Scrooge McDuck owns gold coins. He also owns infinitely many boxes Initially, bow contains one coin, and the other coins are on McDuck's table, outside of every box.
Then, Scrooge McDuck allows himself to do the following kind of operations, as many times as he likes:
- if two consecutive boxes and both contain a coin, McDuck can remove the coin contained in box and put it on his table;
- if a box contains a coin, the box is empty, and McDuck still has at least one coin on his table, he can take such a coin and put it in box .
As a function of , which are the integers for which Scrooge McDuck can put a coin in box ?