2022 Polish Junior Math Olympiad Second Round P3
Source: 2022 Polish Junior Math Olympiad Second Round
May 21, 2023
combinatorics
Problem Statement
Let be a positive integer. Each of the numbers is painted with one of colors in such a way that two distinct numbers with a sum divisible by are painted with different colors. Determine the smallest value of for which such a situation is possible.