MathDB
2022 Polish Junior Math Olympiad Second Round P3

Source: 2022 Polish Junior Math Olympiad Second Round

May 21, 2023
combinatorics

Problem Statement

Let nn be a positive integer. Each of the numbers 1,2,3,,1001,2,3,\ldots,100 is painted with one of nn colors in such a way that two distinct numbers with a sum divisible by 44 are painted with different colors. Determine the smallest value of nn for which such a situation is possible.