MathDB
Subtracting rows leaves all remainders

Source: ICMC 2022 Round 1 P2

December 4, 2021
tablecombinatoricsnumber theorycollege contestsICMC

Problem Statement

Find all integers nn for which there exists a table with nn rows, 20222022 columns, and integer entries, such that subtracting any two rows entry-wise leaves every remainder modulo 20222022.
Proposed by Tony Wang