Moving pieces in a lattice
Source: 2022 China TST, Test 1, P3 (posting for better LaTeX)
March 24, 2022
combinatoricsinvariantalgorithm
Problem Statement
Let be positive integers with . Denote
Initially, some pieces are put on the each point in , with a total of pieces. Then, one can perform the following three types of operations repeatedly:
(1) Remove pieces on and place a piece on ;
(2) Remove pieces on and place a piece on ;
(3) Remove pieces on and place a piece on .Find the smallest positive integer such that one can always perform a sequence of operations, making a piece placed on , no matter how the pieces are distributed initially.