MathDB
numbers 1,..,9 in a 3x3 table, increase or decrease by one 1 all numbers in 2x2

Source: 2015 Belarus TST 1.2

November 7, 2020
combinatorics

Problem Statement

All the numbers 1,2,...,91,2,...,9 are written in the cells of a 3×33\times 3 table (exactly one number in a cell) . Per move it is allowed to choose an arbitrary 2×22\times2 square of the table and either decrease by 11 or increase by 11 all four numbers of the square. After some number of such moves all numbers of the table become equal to some number aa. Find all possible values of aa.
I.Voronovich