MathDB
Table modulo N

Source: CIIM 2021 #3

October 31, 2021
abstract algebracombinatoricsnumber theory

Problem Statement

Let m,nm,n and NN be positive integers and ZN={0,1,,N1}\mathbb{Z}_{N}=\{0,1,\dots,N-1\} a set of residues modulo NN. Consider a table m×nm\times n such that each one of the mnmn cells has an element of ZN\mathbb{Z}_{N}. A move is choose an element gZNg\in \mathbb{Z}_{N}, a cell in the table and add +g+g to the elements in the same row/column of the chosen cell(the sum is modulo NN). Prove that if NN is coprime with m1,n1,m+n1m-1,n-1,m+n-1 then any initial arrangement of your elements in the table cells can become any other arrangement using an finite quantity of moves.