Y by FaThEr-SqUiRrEl
Celeste has an unlimited amount of each type of
types of candy, numerated type 1, type 2, ... type n. Initially she takes
candy pieces and places them in a row on a table. Then, she chooses one of the following operations (if available) and executes it:
She eats a candy of type
, and in its position in the row she places one candy type
followed by one candy type
(we consider type
to be type 1, and type 0 to be type
).
She chooses two consecutive candies which are the same type, and eats them.
Find all positive integers
for which Celeste can leave the table empty for any value of
and any configuration of candies on the table.










Find all positive integers



This post has been edited 4 times. Last edited by JuanDelPan, Oct 7, 2021, 12:35 AM