Problem 5
Each of the six boxes initially contains one coin. A type 1 operation chooses a nonempty box with , removes one coin from it, and adds two coins to . A type 2 operation chooses a nonempty box with , removes one coin from it, and exchanges the contents of (possibly empty) boxes and . Determine whether a finite sequence of operations can leave empty and containing exactly coins. Here means .
Step 5 of 5: Transfer the exact remainder to the sixth box
Detailed analysis
From in , apply type 1 at until it is empty, producing coins in . Then apply type 1 at until it is empty, producing coins in , because . All of through are now empty, so the required finite sequence exists. The answer is yes.